This repository was archived by the owner on Mar 13, 2018. It is now read-only.
File tree 2 files changed +14
-9
lines changed
2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 3
3
outline: none;
4
4
text- align: inherit;
5
5
color : # 757575;
6
+ padding: 0.75em 0;
6
7
}
7
8
8
9
: host / deep/ input,
18
19
padding: 0;
19
20
/* Important to use margin here so the margin remains visible
20
21
* when textarea scrolls internally. */
21
- margin: 0.5em 0;
22
+ margin: 0.5em 0 0.25em ;
22
23
background- color : transparent;
23
24
bor der: none;
24
25
outline: none;
@@ -57,7 +58,7 @@ textarea {
57
58
}
58
59
59
60
.mirror-text {
60
- padding : 0.5em 0 ;
61
+ padding : 0.5em 0 0.25 em ;
61
62
max-width : 100% ;
62
63
white-space : nowrap;
63
64
}
@@ -68,7 +69,7 @@ textarea {
68
69
}
69
70
70
71
.label {
71
- padding : 0.5em 0 ;
72
+ padding : 0.5em 0 0.25 em ;
72
73
background : transparent;
73
74
pointer-events : none;
74
75
}
@@ -105,15 +106,18 @@ textarea {
105
106
}
106
107
107
108
.underline {
108
- height : 1px ;
109
- background : # 757575 ;
110
- border-bottom-color : # 757575 ;
109
+ height : 0px ;
110
+ overflow : visible;
111
111
}
112
112
113
113
: host ([disabled ]) .underline {
114
114
border-bottom : 1px dashed;
115
- height : 0px ;
116
- background : transparent;
115
+ }
116
+
117
+ .unfocused-underline {
118
+ height : 1px ;
119
+ background : # 757575 ;
120
+ border-bottom-color : # 757575 ;
117
121
}
118
122
119
123
.focused-underline {
Original file line number Diff line number Diff line change 87
87
</ div >
88
88
89
89
< div id ="underline " class ="underline " relative >
90
+ < div class ="unfocused-underline " fit invisible? ="{{disabled}} "> </ div >
90
91
< div id ="focusedUnderline " class ="focused-underline " fit invisible? ="{{!focused}} " animated? ="{{underlineAnimated}} "> </ div >
91
92
</ div >
92
93
93
- < div layout horizontal center invisible ? ="{{!invalid}} ">
94
+ < div layout horizontal center hidden ? ="{{!invalid}} ">
94
95
< div class ="error-text " flex auto role ="alert " aria-hidden ="{{!invalid}} "> {{error || validationMessage}}</ div >
95
96
< core-icon class ="error-icon " icon ="warning "> </ core-icon >
96
97
</ div >
You can’t perform that action at this time.
0 commit comments