-
Notifications
You must be signed in to change notification settings - Fork 25
/
holo-kk-light-elements.css
272 lines (249 loc) · 13.7 KB
/
holo-kk-light-elements.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
/* KitKat Holo Light styles for elements
* Part of the Holo Web CSS library
*
* Copyright 2012-2015 Zachary Yaro
* Released under the MIT license
* http://holo.zmyaro.com/LICENSE.txt
*/
body {
background-color: #E8E8E8;
color: #0A0A0A;
}
body:before {
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8E8E8', endColorstr='#FFFFFF');
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8E8E8', endColorstr='#FFFFFF')";
background-image: -webkit-gradient(linear, left top, left bottom, from(#E8E8E8), to(#FFFFFF));
background-image: -webkit-linear-gradient(#E8E8E8, #FFFFFF);
background-image: -moz-linear-gradient(#E8E8E8, #FFFFFF);
background-image: -ms-linear-gradient(#E8E8E8, #FFFFFF);
background-image: -o-linear-gradient(#E8E8E8, #FFFFFF);
background-image: linear-gradient(#E8E8E8, #FFFFFF);
}
button, *[role="button"],
input[type="button"], input[type="submit"], input[type="reset"] {
background-color: #C8C8C8;
background-color: rgba(153, 153, 153, 0.4);
border-left-color: #C0C0C0;
border-left-color: rgba(139, 139, 139, 0.13);
border-right-color: #C0C0C0;
border-right-color: rgba(139, 139, 139, 0.13);
border-top-color: #D3D3D3;
border-top-color: rgba(255, 255, 255, 0.2);
border-bottom-color: #979797;
border-bottom-color: rgba(85, 85, 85, 0.42);
-webkit-box-shadow: 0 -1px 0 0 rgba(51, 51, 51, 0.12);
-moz-box-shadow: 0 -1px 0 0 rgba(51, 51, 51, 0.12);
box-shadow: 0 -1px 0 0 rgba(51, 51, 51, 0.12);
color: #333333;
}
button:focus, *[role="button"]:focus,
input[type="button"]:focus, input[type="submit"]:focus, input[type="reset"]:focus {
background-color: #9FD3E6;
background-color: rgba(51, 181, 229, 0.4);
border-color: #2EA8D1;
border-color: rgba(0, 153, 204, 0.74);
-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 0px 1px rgba(0, 153, 204, 0.74);
-moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 0px 1px rgba(0, 153, 204, 0.74);
box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.2), inset 0px 0px 0px 1px rgba(0, 153, 204, 0.74);
}
/* The “active” class is used to force the appearance of the active/pressed state */
button:enabled:active, *[role="button"]:active,
input[type="button"]:enabled:active, input[type="submit"]:enabled:active, input[type="reset"]:enabled:active,
button:enabled.active, *[role="button"].active,
input[type="button"]:enabled.active, input[type="submit"]:enabled.active, input[type="reset"]:enabled.active {
background-color: #B4B4B4;
background-color: rgba(102, 102, 102, 0.4);
border-left-color: #B0B0B0;
border-left-color: rgba(97, 97, 97, 0.05);
border-right-color: #B0B0B0;
border-right-color: rgba(97, 97, 97, 0.05);
border-top-color: #C0C0C0;
border-top-color: rgba(255, 255, 255, 0.17);
border-bottom-color: #9E9E9E;
border-bottom-color: rgba(76, 76, 76, 0.22);
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
}
select:not([size]), select[size="1"] {
background-color: transparent;
background: -webkit-linear-gradient(135deg, rgba(51, 51, 51, 0.6) 8px, rgba(51, 51, 51, 0) 9px);
background: -moz-linear-gradient(135deg, rgba(51, 51, 51, 0.6) 8px, rgba(51, 51, 51, 0) 9px);
background: -ms-linear-gradient(135deg, rgba(51, 51, 51, 0.6) 8px, rgba(51, 51, 51, 0) 9px);
background: -o-linear-gradient(135deg, rgba(51, 51, 51, 0.6) 8px, rgba(51, 51, 51, 0) 9px);
background: linear-gradient(315deg, rgba(51, 51, 51, 0.6) 8px, rgba(51, 51, 51, 0) 9px);
border-bottom-color: #B1B1B1;
border-bottom-color: rgba(51, 51, 51, 0.3);
color: #0A0A0A;
}
select:not([size]):focus, select[size="1"]:focus {
background-color: #B1D8E7;
background-color: rgba(51, 181, 229, 0.3);
background: -webkit-linear-gradient(135deg, rgba(51, 73, 81, 0.72) 8px, rgba(51, 181, 229, 0.3) 9px);
background: -moz-linear-gradient(135deg, rgba(51, 73, 81, 0.72) 8px, rgba(51, 181, 229, 0.3) 9px);
background: -ms-linear-gradient(135deg, rgba(51, 73, 81, 0.72) 8px, rgba(51, 181, 229, 0.3) 9px);
background: -o-linear-gradient(135deg, rgba(51, 73, 81, 0.72) 8px, rgba(51, 181, 229, 0.3) 9px);
background: linear-gradient(315deg, rgba(51, 73, 81, 0.72) 8px, rgba(51, 181, 229, 0.3) 9px);
border-bottom-color: #8BA8B0;
border-bottom-color: rgba(51, 51, 51, 0.3);
-webkit-box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.6);
-moz-box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.6);
box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.6);
}
/* The “active” class is used to force the appearance of the active/pressed state */
select:not([size]):active, select[size="1"]:active,
select:not([size]).active, select[size="1"].active {
background-color: #D8D8D8;
background-color: rgba(79, 79, 79, 0.1);
background: -webkit-linear-gradient(135deg, rgba(7, 7, 7, 0.55) 8px, rgba(79, 79, 79, 0.1) 9px);
background: -moz-linear-gradient(135deg, rgba(7, 7, 7, 0.55) 8px, rgba(79, 79, 79, 0.1) 9px);
background: -ms-linear-gradient(135deg, rgba(7, 7, 7, 0.55) 8px, rgba(79, 79, 79, 0.1) 9px);
background: -o-linear-gradient(135deg, rgba(7, 7, 7, 0.55) 8px, rgba(79, 79, 79, 0.1) 9px);
background: linear-gradient(315deg, rgba(7, 7, 7, 0.55) 8px, rgba(79, 79, 79, 0.1) 9px);
border-bottom-color: #979797;
border-bottom-color: rgba(15, 15, 15, 0.32);
-webkit-box-shadow: 0 0 0 4px rgba(79, 79, 79, 0.1);
-moz-box-shadow: 0 0 0 4px rgba(79, 79, 79, 0.1);
box-shadow: 0 0 0 4px rgba(79, 79, 79, 0.1);
}
option {
background-color: #F5F5F5;
color: #0A0A0A;
border-top: 1px solid #D0D0D0;
border-top-color: rgba(0, 0, 0, 0.1);
}
input[type="radio"], input[type="checkbox"] {
border-color: #828282;
border-color: rgba(61, 61, 61, 0.7);
}
input[type="radio"]:focus, input[type="checkbox"]:focus {
-webkit-box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.9);
-moz-box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.9);
box-shadow: 0 0 0 2px rgba(51, 181, 229, 0.9);
}
input[type="radio"]:enabled:active, input[type="checkbox"]:enabled:active,
input[type="radio"]:enabled.active, input[type="checkbox"]:enabled.active {
background-color: #D1D1D1;
background-color: rgba(79, 79, 79, 0.15);
-webkit-box-shadow: 0 0 0 6px rgba(79, 79, 79, 0.15);
-moz-box-shadow: 0 0 0 6px rgba(79, 79, 79, 0.15);
box-shadow: 0 0 0 6px rgba(79, 79, 79, 0.15);
}
input[type="radio"]:checked {
background-color: #0099CC;
background: -webkit-radial-gradient(#0099CC 3px, /*#81BDD1*/ #028AB7 4px, rgba(204, 204, 204, 0.4) 5px, transparent 6px);
background: -moz-radial-gradient(#0099CC 3px, /*#81BDD1*/ #028AB7 4px, rgba(204, 204, 204, 0.4) 5px, transparent 6px);
background: -ms-radial-gradient(#0099CC 3px, /*#81BDD1*/ #028AB7 4px, rgba(204, 204, 204, 0.4) 5px, transparent 6px);
background: -o-radial-gradient(#0099CC 3px, /*#81BDD1*/ #028AB7 4px, rgba(204, 204, 204, 0.4) 5px, transparent 6px);
background: radial-gradient(#0099CC 3px, /*#81BDD1*/ #028AB7 4px, rgba(204, 204, 204, 0.4) 5px, transparent 6px);
}
input[type="checkbox"]:checked {
/*background-image: url(check-light.png);*/
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAMAAADnhAzLAAAAAXNSR0IArs4c6QAAAk9QTFRFM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7XlM7PjKpW9MazaM7XlPT09PT09PT09PT9APERIPE1UO1tnOWp8OHaNN4ysM7TkJ3+fN4OdKnaRMKrXM7XlPT09PT0+PT4+PT4/PUBCPUJFPEZKPEtQPFBXOmJxKIepKousIaPOKJa7I3OQMKvYM7XlPT8/M7XlM7XlM7TkKYywKYusFp/MCJrKDHidIX+iM7XlPUNFPT9AM7XlM7XlM7XlKo6yKousFp/NAJbIAX+pEWuLMa3bM7XlPEdLPUBCM7XlM7XlM7XlM7XlM7XlKpC1KoqsF5/NAn+pFHGSMa7dPEpQPUFEMrPiKH+eKoepM7TkM7XlM7XlM7XlK5K4KoqrAn+pFXWXMrDeM7XlM7XlPE5VPUNFMrPjJXqYNI2rM4yqKY2xM7XlM7XlLJa9KoqrF5/MFnaYMrDfM7XlO1FYPERGHnmaIYepF6DNGJ/NKousLJa9LJnAKourF5/MFnaYN36ZNaLLPERHM7XlFWyLBoCpAZfJLIurLIqqFneZMrDfPFJaOH2WPE9WPURGMKzZEW2NAYCqAJbJEp7NMrHgM7XlPE1TOW+DPExSMa7cFHKTAoCqFneZPEdMOl9tPEhNPUFDM7XlMa/dFHSVFnaYMrHgPUNFO1FaPT9BMa/dE3GSAX6nAX2mFHKUMrDfPUBBM7XlMa3bE2qJFG2MMa/ePUBCM7XlM7XlM7XlPT09PT4/PUBDPT4/PUFEPENHPEVJAprMAJnM+n0QmAAAAAF0Uk5TAEDm2GYAAAAJcEhZcwAACxMAAAsTAQCanBgAAABmSURBVBjTY2AgBOQwRHT19NFELCwPW1mjiLi4HnZzRxEJDjnsFooikgQUSYayc3JBZFExQqSquqaWgaGhESHC0NF5OKSrG1mEgWHK1MPTpqGIMDDMm3rkCKoISAzNdiBYt56BCgAA/IUgFE2dD/IAAAAASUVORK5CYII=);
}
input[type="radio"]:checked:enabled:active,
input[type="radio"]:checked:enabled.active {
background-color: #3D3D3D;
background: -webkit-radial-gradient(#3D3D3D 4px, rgba(79, 79, 79, 0.15) 6px);
background: -moz-radial-gradient(#3D3D3D 4px, rgba(79, 79, 79, 0.15) 6px);
background: -ms-radial-gradient(#3D3D3D 4px, rgba(79, 79, 79, 0.15) 6px);
background: -o-radial-gradient(#3D3D3D 4px, rgba(79, 79, 79, 0.15) 6px);
background: radial-gradient(#3D3D3D 4px, rgba(79, 79, 79, 0.15) 6px);
}
input[type="checkbox"]:checked:enabled:active,
input[type="checkbox"]:checked:enabled.active {
/*background-image: url(check-active-light.png);*/
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAARCAYAAADQWvz5AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAW9JREFUOMvV0ztLglEYB/D/8bylEQR9hGgpupE31Kx0cWmJhpKooaKhljYbIhHMbGnoqqW4hH4Eacuw4gWhXUpKqEgio6QgzJ4GRRO7KA7Rfzzn8IPncoC/TPdOaEFtWaWqELnncEY3NEq9BiNppi15TFIR4g2bZPuebX53BWTeIMROoXTsEQCwshHfcbMs6D7niTgAAriAdIsWonuZAQAvF2qqzSR54rKAtPZAdDtYRaXphieIJy4KSJseomupqBoJACi8R0rt+CypVgIlk9CNTBK/jQGUQ9r7IG7ZS1rC5L6TxrqgKylJxEH1DXg1jiEyb2YAoDNPEb85+4T0Q9y0fdlXQZK6T7LUAwACe36E9MAPtW2XhGgE/DqaQ2qQ7jBA3LB+OxwGACqnn6ShANjLU/aUC8B7poB0GiCuW3+ccP5S5QyQNOQvYEAW6TJCXFv8dU2KHhRhFSBfRuUMkH5gkDRzdqr6Uyq8YRP+fT4ATkiPMbwnoLkAAAAASUVORK5CYII=);
}
input[type="range"], progress {
background-color: #A9A9A9;
background-color: rgba(0, 0, 0, 0.3);
}
input[type="range"]::-moz-range-track {
background-color: rgba(0, 0, 0, 0.3);
}
input[type="range"]::-ms-track {
background-color: rgba(0, 0, 0, 0.3);
}
input[type="range"]::-webkit-slider-thumb {
background-color: rgba(51, 181, 229, 0.6);
background: -webkit-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.6) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.6) 5px);
}
input[type="range"]::-moz-range-thumb {
background-color: rgba(51, 181, 229, 0.6);
background: -moz-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.6) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.6) 5px);
}
input[type="range"]::-ms-thumb {
background-color: rgba(51, 181, 229, 0.6);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.6) 5px);
}
input[type="range"]:focus::-webkit-slider-thumb {
background-color: rgba(51, 181, 229, 0.3);
background: -webkit-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.3) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.3) 5px);
}
input[type="range"]:focus::-moz-range-thumb {
background-color: rgba(51, 181, 229, 0.3);
background: -moz-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.3) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.3) 5px);
}
input[type="range"]:focus::-ms-thumb {
background-color: rgba(51, 181, 229, 0.3);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.3) 5px);
}
input[type="range"]:active::-webkit-slider-thumb,
input[type="range"]:enabled.active::-webkit-slider-thumb {
background-color: rgba(51, 181, 229, 0.4);
background: -webkit-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.4) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.4) 5px);
border-color: #33B5E5;
}
input[type="range"]:active::-moz-range-thumb,
input[type="range"]:enabled.active::-moz-range-thumb {
background-color: rgba(51, 181, 229, 0.4);
background: -moz-radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.4) 5px);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.4) 5px);
border-color: #33B5E5;
}
input[type="range"]:active::-ms-thumb,
input[type="range"]:enabled.active::-ms-thumb {
background-color: rgba(51, 181, 229, 0.4);
background: radial-gradient(rgba(51, 181, 229, 1) 3px, rgba(95, 194, 231, 1) 4px, rgba(51, 181, 229, 0.4) 5px);
border-color: #33B5E5;
}
input[type="range"]:disabled::-webkit-slider-thumb {
background-color: rgba(0, 0, 0, 0.13);
background: -webkit-radial-gradient(rgba(51, 181, 229, 1) 2px, rgba(0, 0, 0, 0.13) 3px);
background: radial-gradient(rgba(51, 181, 229, 1) 2px, rgba(0, 0, 0, 0.13) 3px);
}
input[type="range"]:disabled::-moz-range-thumb {
background-color: rgba(0, 0, 0, 0.13);
background: -moz-radial-gradient(rgba(51, 181, 229, 1) 2px, rgba(0, 0, 0, 0.13) 3px);
background: radial-gradient(rgba(51, 181, 229, 1) 2px, rgba(0, 0, 0, 0.13) 3px);
}
input[type="range"]:disabled::-ms-thumb {
background-color: rgba(0, 0, 0, 0.13);
background: radial-gradient(rgba(51, 181, 229, 1) 2px, rgba(0, 0, 0, 0.13) 3px);
}
progress::-webkit-progress-bar-value, progress::-webkit-progress-value {
background-color: #129CCA;
}
progress::-moz-progress-bar {
background-color: #129CCA;
}
input[type="range"]::-ms-fill-lower, progress::-ms-fill {
background-color: #129CCA;
}
progress::-webkit-progress-bar-value:after, progress::-webkit-progress-value:after {
-webkit-box-shadow: 0px 0px 3px 0px rgba(51, 181, 229, 0.5);
box-shadow: 0px 0px 3px 0px rgba(51, 181, 229, 0.5);
}
progress::-moz-progress-bar:after {
-moz-box-shadow: 0px 0px 3px 0px rgba(51, 181, 229, 0.5);
box-shadow: 0px 0px 3px 0px rgba(51, 181, 229, 0.5);
}
progress::-ms-fill {
box-shadow: 0px 0px 3px 0px rgba(51, 181, 229, 0.5);
}