-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgoogle-mix.css
104 lines (93 loc) · 2.32 KB
/
google-mix.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
.material-control{
position:relative;
margin-bottom:15px;
margin-top: 20px;
}
.material-control>input{
padding:10px 10px 10px 5px;
display:block;
width: 100%;
border:none;
border-bottom:1px solid #757575;
background: inherit;
color: inherit;
}
.material-control>input:focus{ outline:none; }
/* LABEL ======================================= */
.material-control>label{
color:#999;
font-weight:normal;
position:absolute;
pointer-events:none;
left:5px;
top:10px;
transition:0.2s ease all;
-moz-transition:0.2s ease all;
-webkit-transition:0.2s ease all;
}
/* active state */
.material-control>input:focus ~ label, .material-control>input:valid ~ label{
top:-20px;
/*color:#5264AE;*/
}
/* BOTTOM BARS ================================= */
.material-control>.bar { position:relative; display:block; }
.material-control>.bar:before, .material-control>.bar:after {
content:'';
height:2px;
width:0;
bottom:1px;
position:absolute;
background:white;
transition:0.2s ease all;
-moz-transition:0.2s ease all;
-webkit-transition:0.2s ease all;
}
.material-control>.bar:before {
left:50%;
}
.material-control>.bar:after {
right:50%;
}
/* active state */
.material-control>input:focus ~ .bar:before, .material-control>input:focus ~ .bar:after {
width:50%;
}
/* HIGHLIGHTER ================================== */
.material-control>.highlight {
position:absolute;
height:60%;
width:100px;
top:25%;
left:0;
pointer-events:none;
opacity:0.5;
}
/* active state */
.material-control>input:focus ~ .highlight {
-webkit-animation:inputHighlighter 0.3s ease;
-moz-animation:inputHighlighter 0.3s ease;
animation:inputHighlighter 0.3s ease;
}
/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
from { background:#5264AE; }
to { width:0; background:transparent; }
}
@-moz-keyframes inputHighlighter {
from { background:#5264AE; }
to { width:0; background:transparent; }
}
@keyframes inputHighlighter {
from { background:#5264AE; }
to { width:0; background:transparent; }
}
/* quitarServicio*/
.label-warning{
/*background-color: inherit !important;*/
}
/* */
.material-control.label-warning>input:focus ~ label, .material-control.label-warning>input:valid ~ label{color:#f39c12;}
.material-control>.bar:before, .material-control>.bar:after {
background: #f39c12;
}