Merge branch 'dev' of http://git.verdnatura.es/salix into dev

This commit is contained in:
Carlos Jimenez 2018-09-13 14:30:15 +02:00
commit f3a4ed7344
2 changed files with 19 additions and 1 deletions

View File

@ -1,6 +1,24 @@
@import 'colors';
vn-textarea {
& > .mdl-textfield {
width: initial;
display: block;
}
label {
position: absolute;
bottom: 0;
pointer-events: none;
color: $secondary-font-color;
transition-duration: .2s;
transition-timing-function: cubic-bezier(.4,0,.2,1);
}
& textarea.ng-not-empty+label.placeholder{
top: 5px;
color: $main-01;
padding: 0;
font-size: 12px;
visibility: visible!important;
content: normal!important;
}
}

View File

@ -5,5 +5,5 @@
ng-disabled="$ctrl.disabled"
ng-model="$ctrl.model">
</textarea>
<label class="mdl-textfield__label" translate>{{$ctrl.label}}</label>
<label class="mdl-textfield__label placeholder" translate>{{$ctrl.label}}</label>
</div>