I am not able to align a button vertically within a row. I've tried to insert a label to force it down, but it does not even move.
input[type="text"], select {
/*font-size: 13px;*/
}
.selectClass {
/*font-size: 13px;*/
}
label {
/*font-size: 13px;*/
/*color:#808080;*/
}
form label {
font-weight:normal;
}
input[type=text] {
width: 100%;
/*padding: 12px 20px;*/
/*margin: 8px 0;*/
box-sizing: border-box;
/*border: 1px solid #555;*/
outline: none;
}
input[type=text]:focus {
background-color: lightblue;
color:black;
}
textarea:focus {
background-color: lightblue;
color: black;
}
/*.distanciaForms div[class^="col-"] {*/
/*padding: calc(15px / 2);*/ /* calcula a distancia entro um inpute e outro e os cantos da tela*/
/*}*/
.form-group {
margin-bottom: 1% !important;
}
<div class="form-horizontal">
<div class="form-group row">
<div class="col-md-12">
<div class="col-md-2">
<button class="btn btn-primary form-control" id="btn-add-contato">Novo contato</button>
</div>
</div>
</div>
<div class="form-group row">
<div class="col-md-12">
<div class="col-md-12" id="div-contatos">
<div class="row">
<div class="col-md-2">
<label name="PessoaContatoViewModel[0].ContatoTipoId" class="control-label">Tipo de Contato</label>
<select name="PessoaContatoViewModel[0].ContatoTipoId" data-plugin="selectpicker" title="Selecione uma opção" class="form-control show-tick show-menu-arrow"></select>
</div>
<div class="col-md-4">
<label name="PessoaContatoViewModel[0].Contato" class="control-label">Contato</label>
<input type="text" name="PessoaContatoViewModel[0].Contato" class="form-control" />
</div>
<div class="col-md-2">
<label class="control-label"> </label>
<div class="checkbox-custom checkbox-default">
<input type="checkbox" name="PessoaContatoViewModel[0].ContatoPrincipal" checked
autocomplete="off" />
<label for="PessoaContatoViewModel[0].ContatoPrincipal">Contato Principal</label>
</div>
</div>
<div class="col-md-3">
<label name="PessoaContatoViewModel[0].Detalhes" class="control-label">Detalhes</label>
<textarea name="PessoaContatoViewModel[0].Detalhes" class="form-control" />
</div>
<div class="col-md-1">
<label class="control-label"> </label>
<button class="btn btn-danger btn-remover-contato">
<span class="glyphicon glyphicon-trash"></span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>