salix/client/core/src/components/textfield/style.scss

45 lines
1013 B
SCSS
Raw Normal View History

vn-textfield {
2017-05-17 19:23:47 +00:00
.mdl-chip__action {
2017-09-13 08:59:34 +00:00
position: absolute;
width: auto;
top: 0px;
right: -6px;
2017-12-19 11:29:35 +00:00
margin: 21px 0px;
background: white;
opacity: 1;
z-index: 1;
2017-12-19 11:29:35 +00:00
color: #aaa;
}
.mdl-textfield {
width: 100%;
}
.mdl-textfield__error {
visibility: visible;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
.mdl-textfield.invalid {
.mdl-textfield__input {
border-color: #d50000;
box-shadow: none;
}
.mdl-textfield__label::after {
background-color: #d50000;
}
}
.mdl-textfield--floating-label.invalid .mdl-textfield__label {
color: #d50000;
font-size: 12px;
top: 4px;
}
2017-05-17 19:23:47 +00:00
.material-icons {
2017-09-13 08:59:34 +00:00
font-size: 18px;
float: right;
2017-11-23 13:09:38 +00:00
margin-right: 5px;
}
2017-12-19 11:29:35 +00:00
.material-icons:hover {
color: rgba(0,0,0, .87);
}
}