Bug #137 Refactorización Textfield
This commit is contained in:
parent
37e52b54b0
commit
b22e41c983
|
@ -107,4 +107,22 @@ vn-textfield {
|
|||
width: 100%!important;
|
||||
}
|
||||
}
|
||||
|
||||
& > div.container > div.textField > div.infix.invalid{
|
||||
@extend div.selected;
|
||||
|
||||
& > span.mdl-textfield__error{
|
||||
visibility: visible;
|
||||
margin-top: 9px;
|
||||
}
|
||||
& > label{
|
||||
color: #d50000;
|
||||
}
|
||||
}
|
||||
|
||||
.infix.invalid + .underline {
|
||||
&{
|
||||
background-color: #d50000;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,6 +22,8 @@
|
|||
|
||||
<label class="label" translate>{{::$ctrl.label}}</label>
|
||||
</div>
|
||||
<div class="underline"></div>
|
||||
<div class="selected underline"></div>
|
||||
<div class="suffix">
|
||||
<i class="material-icons pointer"
|
||||
ng-class="{visible: !$ctrl.disabled && $ctrl.hasValue && ($ctrl.hasFocus || $ctrl.hasMouseIn)}"
|
||||
|
@ -36,7 +38,4 @@
|
|||
</div>
|
||||
<div class="rightIcons"></div>
|
||||
</div>
|
||||
|
||||
<div class="underline"></div>
|
||||
<div class="selected underline"></div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue