-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathmaster.css
153 lines (136 loc) · 2.97 KB
/
master.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
.fl-input-container {
-ms-flex-direction: column;
-webkit-flex-direction: column;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
flex-direction: column;
padding: 25px;
position: relative;
}
.fl-input-container input:not(:focus):not(.fl-valid):not(.fl-invalid) {
color: transparent;
}
.fl-input-container input,
.fl-input-container label,
.fl-error-msg {
-webkit-font-smoothing: antialiased;
font-family: 'Roboto', sans-serif;
text-shadow: none;
}
.fl-input-container input {
-moz-appearance: none;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
border-radius: 0;
display: -moz-flex;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
font-size: 100%;
line-height: 25px;
}
.fl-input-label {
-moz-transform-origin: left top;
-moz-transform: scale(1) translate3d(0, 22px, 0);
-moz-transition: 200ms ease all;
-ms-flex-order: 1;
-webkit-order: 1;
-webkit-transform-origin: left top;
-webkit-transform: scale(1) translate3d(0, 22px, 0);
-webkit-transition: 200ms ease all;
color: #999;
font-weight: normal;
opacity: 0.75;
order: 1;
padding-left: 2px;
pointer-events: none;
text-transform: capitalize;
transform-origin: left top;
transform: scale(1) translate3d(0, 22px, 0);
transition: 200ms ease all;
}
.fl-input-container input:focus + label,
.fl-input-container input.fl-valid + label,
.fl-invalid + label {
-moz-transform: scale(0.8) translate3d(0, 5px, 0);
-webkit-transform: scale(0.8) translate3d(0, 5px, 0);
color: #3949AB;
opacity: 1;
transform: scale(0.8) translate3d(0, 5px, 0);
}
.fl-input:active,
.fl-input:focus,
.fl-input-label {
outline: 0;
}
.fl-input {
-ms-flex-order: 2;
-ms-flex: 1 1 auto;
-webkit-flex: 1 1 auto;
-webkit-order: 2;
border: 0;
border-bottom: 1px solid rgba(0, 0, 0, 0.15);
color: #000;
flex: 1 1 auto;
order: 2;
}
.fl-input-bar {
-ms-flex-order: 3;
-webkit-order: 3;
display: block;
order: 3;
top: 0;
}
.fl-input-bar::after,
.fl-input-bar::before {
-moz-transition: 200ms ease all;
-webkit-transition: 200ms ease all;
background: #3949AB;
bottom: 0;
content: "";
height: 2px;
position: absolute;
transition: 200ms ease all;
width: 0;
}
.fl-input-bar::before {
left: 50%;
}
.fl-input-bar::after {
right: 50%;
}
.fl-input:focus ~ .fl-input-bar::after,
.fl-input:focus ~ .fl-input-bar::before,
.fl-invalid ~ .fl-input-bar::after,
.fl-invalid ~ .fl-input-bar::before {
width: 50%;
}
.fl-input-bar,
.fl-error-msg {
position: relative;
width: inherit;
}
.fl-error-msg {
bottom: 0;
display: none;
font-size: 13px;
overflow: hidden;
position: absolute;
text-overflow: ellipsis;
white-space: nowrap;
width: 90%;
word-break: break-all;
word-wrap: break-word;
}
.fl-error-show {
display: inline-block;
}
.fl-invalid ~ .fl-input-bar::after,
.fl-invalid ~ .fl-input-bar::before {
background: #E74C3C;
}
.fl-input-container .fl-input.fl-invalid + label,
.fl-error-msg {
color: #E74C3C;
}