-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.css
381 lines (366 loc) · 7.35 KB
/
options.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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
@font-face {
font-family: "Open Sans";
src: url('assets/OpenSans.ttf');
}
@font-face {
font-family: "Open Sans Light";
src: url('assets/OpenSans-Light.ttf');
}
body {
background: url('assets/bg.jpg') top center fixed repeat;
margin: 0;
color: #333333;
}
#container {
width: 600px;
margin: 32px auto;
padding: 32px;
background-color: #FFFFFF;
box-shadow: 0 8px 32px rgba(0,0,0,0.25);
border-radius: 4px;
}
* { font-family: 'Open Sans'; -webkit-font-smoothing: antialiased; }
#settings_wrapper {
clear: both;
background-color: #EEEEEE;
border-radius: 4px;
padding: 4px 200px 4px 80px;
text-align: right;
min-height: 258px;
}
#settings_wrapper h2 {
margin-bottom: 0.5em;
cursor: default;
font-size: 32px;
font-weight: 200;
-webkit-user-select: none;
user-select: none;
}
.toggle {
background-color: #DDDDDD;
border-radius: 4px;
margin-bottom: 16px;
cursor: default;
-webkit-user-select: none;
user-select: none;
/*padding-bottom: 16px;*/
/*border: 2px solid #BBBBBB;*/
-webkit-transition: padding-bottom 0.2s linear;
transition: padding-bottom 0.2s linear;
}
.toggle.minimized {
padding-bottom: 0;
}
.titlebar {
background-color: #BBBBBB;
text-transform: uppercase;
font-size: 13px;
border-radius: 4px 4px 0px 0px;
font-weight: bold;
display: -webkit-flex;
-webkit-align-items: center;
-webkit-justify-content: flex-end;
-webkit-transition: border-radius 0.2s linear;
transition: border-radius 0.2s linear;
}
.toggle.minimized .titlebar {
border-radius: 4px;
}
.titlebar label {
padding: 4px;
-webkit-flex: 1 1 auto;
}
.titlebar input[type="checkbox"] {
-webkit-flex: 0 0 auto;
margin-right: 8px;
}
.toggle .titlebar + .info:not(:empty) {
padding: 12px 16px 12px 16px;
}
.toggle .titlebar + .info:not(:empty) + .option {
/*padding-top: 12px;*/
}
.toggle.minimized .titlebar + .info:not(:empty) + .option {
padding-top: 0;
}
.option {
padding: 0 16px;
font-size: 14px;
color: #404040;
position: relative;
}
.option:last-child {
padding-bottom: 12px;
}
.option + .option {
padding-top: 8px;
}
.titlebar + .info:empty + .option {
padding-top: 12px;
}
.option input[type="text"], .option input[type="password"] {
width: 140px;
}
.option .info {
/*margin-top: -16px;*/
/*margin-bottom: 16px;*/
}
.info {
padding: 0;
margin: 0;
font-size: 12px;
color: #888888;
}
.info a:link, .info a:visited {
/*color: #404040;*/
color: #EEEEEE;
text-decoration: none;
/*display: inline-block;*/
width: 1.25em;
height: 1.25em;
line-height: 1;
/*background: #FFCA08;*/
background-color: #BBBBBB;
border-radius: 50%;
padding: 2px;
text-align: center;
vertical-align: middle;
/*border: 1px solid #404040;*/
box-sizing: border-box;
}
section > .info:last-child {
padding-bottom: 12px !important;
}
.toggle.minimized .info {
padding-top: 0;
padding-bottom: 0;
}
#settings_wrapper .info:not(:empty) + section h3 {
margin-top: 4px;
}
#settings_wrapper section h3 {
margin: 8px 16px 0 16px;
cursor: default;
-webkit-user-select: none;
user-select: none;
}
#settings_wrapper section h3 + .info {
padding: 8px 16px 0px 16px;
}
.orange_button {
background: #FFCA08;
border: 2px solid #444;
border-radius: 4px;
font-size: 16px;
color: #444;
}
#save {
width: 164px;
}
#save:active {
box-shadow: inset 0 0 4px #666;
}
input[type="number"] {
width: 50px;
}
@-webkit-keyframes fadeOut {
0% { opacity: 1; }
50% { opacity: 1; }
100% { opacity: 0; }
}
#save_msg {
cursor: default;
opacity: 0;
margin-right: 16px;
/*-webkit-transition: 2s opacity ease-out 0.5s;*/
}
#save_msg.visible {
-webkit-animation-name: fadeOut;
-webkit-animation-duration: 4s;
-webkit-animation-timing-function: ease-out;
opacity: 1;
/*-webkit-transition: 0s opacity linear 0s;*/
}
#quote {
/*float: left;*/
width: 320px;
margin: 32px auto;
/*margin-left: -230px;*/
}
#quote blockquote {
text-align: center;
margin: 0;
padding: 0;
line-height: 1.5;
font-size: 20px;
font-family: 'Merriweather', Georgia;
}
#quote q {
font-family: inherit;
font-style: italic;
/*display: block;*/
color: #666666;
}
#quote cite {
display: block;
float: right;
text-align: right;
color: #999999;
font-size: 80%;
line-height: 30px;
margin-bottom: 32px;
}
#quote cite:before {
content: '\2014' ' ';
color: inherit;
}
#quote cite a {
color: inherit;
text-decoration: none;
}
#quote cite a:hover {
text-decoration: underline;
}
h2 {
margin-bottom: 0;
}
h2 + p {
margin-top: 8px;
}
#color_table td {
text-align: center;
text-shadow: 0 1px rgba(255,255,255,0.3);
}
@-webkit-keyframes fadeinoutright {
0% {
-webkit-transform: translateX(-25px);
opacity: 0;
}
20% {
-webkit-transform: translateX(0px);
opacity: 1;
}
80% {
-webkit-transform: translateX(0px);
opacity: 1;
}
100% {
-webkit-transform: translateX(25px);
opacity: 0;
display: none;
}
}
.error_msg {
text-align: left;
background-color: rgba(0,0,0,0.8);
border-radius: 4px;
color: #CCCCCC;
font-size: 12px;
padding: 4px 8px;
box-shadow: 0 2px 16px rgba(0,0,0,0.5);
opacity: 0;
position: absolute;
top: 0;
box-sizing: border-box;
width: 180px;
right: -196px;
cursor: default;
-webkit-user-select: none;
z-index: 100;
}
.error_msg::after {
content: '';
display: block;
position: absolute;
width: 0;
height: 0;
border-right: 6px solid rgba(0,0,0,0.8);
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
left: -6px;
top: 6px;
}
.error_msg.animate {
-webkit-animation-name: fadeinoutright;
-webkit-animation-duration: 4s;
-webkit-animation-timing-function: ease-out;
}
#asianness_slider_wrapper, #hue_slider_wrapper {
text-align: center;
color: #888;
font-size: 12px;
cursor: default;
}
#asianness_slider, #hue_slider {
width: 360px;
margin: 0 16px;
display: inline-block;
vertical-align: middle;
-webkit-appearance: none;
border-radius: 15px;
background-color: #EEEEEE;
box-shadow: inset 0 1px 2px 1px rgba(0,0,0,0.25), inset 0 8px 8px rgba(0,0,0,0.15), 0 1px rgba(255,255,255,0.5);
/*overflow: hidden;*/
}
#asianness_slider::-webkit-slider-thumb, #hue_slider::-webkit-slider-thumb {
-webkit-appearance: none;
border-radius: 50%;
display: block;
height: 14px;
width: 14px;
background: #DDDDDD -webkit-linear-gradient(top, #EEEEEE, #DDDDDD);
margin: -2px 0;
box-shadow: 0 0 4px rgba(0,0,0,0.25),
inset 0 1px 1px #FFFFFF,
inset 0 -1px 1px #BBBBBB;
/*border-top: 1px solid #FFFFFF;*/
/*border-bottom: 1px solid #BBBBBB;*/
box-sizing: border-box;
}
#hue_slider {
background: url('assets/hue_gradient.svg');
box-shadow: inset 0 1px 2px 1px rgba(0,0,0,0.25), inset 0 8px 8px rgba(0,0,0,0.25), 0 1px rgba(255,255,255,0.5);
}
.sliderIndicatorWrapper {
position: relative;
width: 440px;
left: 50%;
margin-left: -220px;
-webkit-user-select: none;
user-select: none;
cursor: default;
}
.sliderIndicator {
background-color: rgba(0,0,0,0.8);
color: #CCC;
padding: 2px 4px;
border-radius: 4px;
position: absolute;
left: 40px;
opacity: 0;
text-align: center;
font-size: 12px;
height: 20px;
width: 32px;
box-sizing: border-box;
margin-left: -16px;
margin-top: -24px;
/*overflow: hidden;*/
-webkit-transition: opacity 0.25s ease-out 0.5s;
}
.sliderIndicator::after {
content: '';
display: block;
position: absolute;
width: 0;
height: 0;
border-top: 4px solid rgba(0,0,0,0.8);
border-left: 6px solid transparent;
border-right: 6px solid transparent;
left: 10px;
top: 20px;
}
.sliderIndicator.visible, .sliderIndicatorWrapper:hover .sliderIndicator {
opacity: 1;
-webkit-transition: none;
}