mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
form inputs component styles fixes
This commit is contained in:
parent
a74300c6f1
commit
e6be0e4519
2 changed files with 30 additions and 9 deletions
|
|
@ -27,9 +27,9 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control input-sm" id="input2" placeholder="Small Input">
|
<input type="text" class="form-control form-control-sm" id="input2" placeholder="Small Input">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control input-lg" id="input4" placeholder="Large Input">
|
<input type="text" class="form-control form-control-lg" id="input4" placeholder="Large Input">
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
|
|
@ -365,22 +365,43 @@ label.custom-input-danger {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-control-feedback {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 2;
|
||||||
|
display: block;
|
||||||
|
width: 34px;
|
||||||
|
height: 34px;
|
||||||
|
line-height: 34px;
|
||||||
|
text-align: center;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
.has-success {
|
.has-success {
|
||||||
@include validationState($success-bg, $success);
|
@include validationState($success-bg, $success);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-warning {
|
.has-warning {
|
||||||
@include validationState($warning-bg, $warning);
|
@include validationState($warning-bg, $warning);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-error {
|
.has-error {
|
||||||
@include validationState($danger-bg, $danger);
|
@include validationState($danger-bg, $danger);
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.has-feedback label ~ .form-control-feedback {
|
.has-feedback {
|
||||||
|
.form-control {
|
||||||
|
padding-right: 42.5px;
|
||||||
|
}
|
||||||
|
label ~ .form-control-feedback {
|
||||||
top: 21px;
|
top: 21px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.bootstrap-select {
|
.bootstrap-select {
|
||||||
.btn-default {
|
.btn-default {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue