Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/skin/firstRun.css

Issue 11039060: first run page redesign (Closed)
Patch Set: codereview updates Created Aug. 26, 2013, 3:44 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * This file is part of Adblock Plus <http://adblockplus.org/>, 2 * This file is part of Adblock Plus <http://adblockplus.org/>,
3 * Copyright (C) 2006-2013 Eyeo GmbH 3 * Copyright (C) 2006-2013 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details. 12 * GNU General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU General Public License 14 * You should have received a copy of the GNU General Public License
15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. 15 * along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>.
16 */ 16 */
17 17
18 @font-face {
19 font-family: 'CreteRound';
20 font-style: normal;
21 src: url(fonts/CreteRound-Regular.otf);
22 src: local ('Ø'),
23 /*local ('Ø') forces using no local font called CreteRound*/
24 url(fonts/CreteRound-Regular.otf) format('otf');
25 }
26
27 @font-face {
28 font-family: 'CreteRound';
29 font-style: italic;
30 src: url(fonts/CreteRound-Italic.otf);
31 src: local ('Ø'),
32 /*local ('Ø') forces using no local font called CreteRound*/
33 url(fonts/CreteRound-Italic.otf) format('otf');
34 }
35
36 *
37 {
38 margin: 0;
39 padding: 0;
40 }
41
18 body 42 body
19 { 43 {
20 font-family: Arial, Helvetica, sans-serif; 44 font-family: Helvetica, Arial, sans-serif;
21 font-size: 14px; 45 font-size: 15px;
22 line-height: 140%; 46 line-height: 140%;
23 color: #000000; 47 color: #7f776b;
24 background-color: #f8f6f2; 48 background-color: #f8f6f2;
49 background-image: url(background-main.png);
50 }
51
52 a, a:link, a:visited
53 {
54 color: #5a84b3;
55 text-decoration: underline;
56 }
57
58 a:hover
59 {
60 text-decoration: none;
61 }
62
63 button
64 {
65 cursor: pointer;
66 }
67
68 li
69 {
70 list-style-type: none;
71 }
72
73 header
74 {
75 height: 200px;
25 background-image: url(background.png); 76 background-image: url(background.png);
77 background-repeat: repeat-x;
78 width: 100%;
79 padding: 40px 0 0 0;
80 }
81
82 header h1
83 {
84 font-size: 24px;
85 font-weight: normal;
26 margin: 0 auto; 86 margin: 0 auto;
27 padding: 0; 87 color: #57ab5b;
28 max-width: 900px; 88 text-align: center;
29 } 89 margin: 21px auto;
30 90 padding: 16px 0 14px 0;
31 a:link, a:visited 91 border: 1px #57ab5b;
32 { 92 border-style: dashed none;
33 color: #7d7d7d; 93 /* border parallel fix - 957px is the value
34 } 94 * closest to 960px(page width) which makes
35 95 * the dashed border parallel
36 button, .arrow 96 */
37 { 97 max-width: 957px;
98 }
99
100 strong
101 {
102 font-weight: 600;
103 }
104
105 h1,h2,h3
106 {
107 font-family: CreteRound, Helvetica, Arial, sans-serif;
108 }
109
110 h2
111 {
112 font-size: 26px;
113 font-weight: lighter;
114 color: #968d81;
115 line-height: 28px;
116 text-align: center;
117
118 }
119
120 h3
121 {
122 font-size: 22px;
123 color: #7F776B;
124 font-weight: normal;
125 margin: 0 0 10px 0;
126 line-height: 24px;
127 }
128
129 h4
130 {
131 font-size: 15px;
132 color: #7f776b;
133 font-weight: normal;
134 text-align: center;
135 }
136
137 section
138 {
139 margin: 0 auto;
140 margin-bottom: 30px;
141 max-width: 760px;
142 background-image: url(background.png);
143 padding: 40px 100px;
144 }
145
146 section > p
147 {
148 margin: 15px 0 0 0;
149 }
150
151
152 #logo
153 {
154 margin: 0 auto;
155 height: 100px;
156 width: 99px;
157 display: block;
158 background-image: url(abp-icon-big.png);
159 background-repeat: no-repeat;
160 }
161
162 #can-do-more
163 {
164 max-width: 960px;
165 padding: 40px 0px 0px 0px;
166 }
167
168 #can-do-more > h2
169 {
170 margin: 0 100px;
171 }
172
173 .fade-out
174 {
175 opacity: 0;
176 }
177
178 .fade-in
179 {
180 opacity: 1;
181 }
182
183 .hide
184 {
185 display: none;
186 }
187
188 .show
Thomas Greiner 2013/08/26 16:25:04 Doesn't seem to be used anywhere.
189 {
190 display: block;
191 }
192
193 #can-do-more-overview
194 {
195 max-width: 760px;
196 min-height: 140px;
197 margin: 30px 100px 0 100px;
198 font-size: 0px;
199 /* hides appearing spacings because of
200 * using display: inline-block*/
38 cursor: pointer; 201 cursor: pointer;
39 } 202 -moz-transition: opacity 0.5s ease-in-out;
40 203 transition: opacity 0.5s ease-in-out;
41 header, p 204 }
42 { 205
43 margin: 15px 0 5px; 206 #can-do-more-overview > li:hover
44 } 207 {
45 208 background-image: url("background-main.png");
46 #content 209 text-decoration: none;
47 { 210 }
48 padding: 0 90px; 211
49 } 212 #can-do-more-overview > li
50 213 {
51 header 214 width: 230px;
52 { 215 height: 115px;
53 padding-left: 148px; 216 display: inline-block;
54 background-image: url(abp-icon-big.png); 217 border-right: 1px dashed #c7c6c2;
55 background-position: 0% 50%; 218 padding: 20px 10px 0 10px;
219 vertical-align: top;
220 text-decoration: underline;
221 -webkit-backface-visibility: hidden;
222 /* hides the 1px movement chrome bug
223 * which appears while transition.
224 */
225 }
226
227 #can-do-more-overview > li > div
228 {
229 width: 59px;
230 height: 59px;
231 display: block;
232 margin: 0 auto;
233 }
234
235 #can-do-more-overview > li > h4
236 {
237 margin: 15px 0 0 0;
238 }
239
240 #can-do-more #feature-first
241 {
242 border-left: 1px dashed #c7c6c2;
243 }
244
245 .feature-malware-image
246 {
247 background-image: url(features/malware.png);
56 background-repeat: no-repeat; 248 background-repeat: no-repeat;
57 min-height: 128px; 249 }
58 vertical-align: middle; 250
59 line-height: 1; 251 .feature-social-image
60 252 {
61 display: -webkit-box; 253 background-image: url(features/social.png);
62 -webkit-box-orient: vertical; 254 background-repeat: no-repeat;
63 -webkit-box-pack: center; 255 }
64 256
65 display: -moz-box; 257 .feature-tracking-image
66 -moz-box-orient: vertical; 258 {
67 -moz-box-pack: center; 259 background-image: url(features/tracking.png);
68 260 background-repeat: no-repeat;
69 display: -o-box; 261 }
70 -o-box-orient: vertical; 262
71 -o-box-pack: center; 263 #can-do-more-expanded
72 264 {
73 display: -ms-box; 265 margin: 30px 100px 0 100px;
74 -ms-box-orient: vertical; 266 -moz-transition: opacity 0.5s ease-in-out;
75 -ms-box-pack: center; 267 transition: opacity 0.5s ease-in-out;
76
77 display: box;
78 box-orient: vertical;
79 box-pack: center;
80 }
81
82 header h1
83 {
84 font-size: 40px;
85 font-weight: normal;
86 margin: 0;
87 }
88
89 #dataCorruptionWarning
90 {
91 font-size: 200%;
92 line-height: 140%;
93 margin: 20px;
94 padding: 20px;
95 border: 3px solid red;
96 border-radius: 10px;
97 } 268 }
98 269
99 #features 270 #features
100 { 271 {
101 display: block; 272 display: block;
102 border-spacing: 10px; 273 border-spacing: 10px;
103 margin: 0px; 274 margin: 0px;
104 padding: 0px; 275 padding: 0px;
105 padding-bottom: 120px;
106 white-space: nowrap;
107 }
108
109 #features-title
110 {
111 font-size: 22px;
112 color: #cc0000;
113 margin: 30px 0px 20px;
114 }
115
116 #features-title::after
117 {
118 content: ":";
119 } 276 }
120 277
121 .feature:not([hidden]) 278 .feature:not([hidden])
122 { 279 {
123 display: block; 280 display: block;
124 position: relative;
125 list-style-type: none; 281 list-style-type: none;
282 padding: 30px 0;
126 padding-bottom: 20px; 283 padding-bottom: 20px;
284 border-top: 1px dashed #c0bebb;
127 } 285 }
128 286
129 .feature-image, .feature-description 287 .feature-image, .feature-description
130 { 288 {
131 display: inline-block; 289 display: inline-block;
132 *display: inline; /* IE6 inline-block fix */ 290 *display: inline; /* IE6 inline-block fix */
133 *zoom: 1; 291 *zoom: 1;
134 vertical-align: top; 292 vertical-align: top;
135 } 293 }
136 294
137 .feature-description 295 .feature-description
138 { 296 {
139 width: 550px; 297 margin: 0px 0px 0 20px;
140 margin: 0px 10px; 298 width: 625px;
141 } 299 max-width: 85%;
142 300 }
143 .feature-title 301
144 { 302 .feature-description-textblock
145 color: black; 303 {
146 font-weight: bold; 304 width: 480px;
147 font-size: 120%; 305 max-width: 100%;
148 } 306 margin: 0 40px 0 0;
149 307 display: inline-block;
150 .feature-title::after 308 }
151 { 309
152 content: ":"; 310 .feature-description-textblock > span
153 } 311 {
154 312 margin: 15px 0 0 0;
155 .feature-text
156 {
157 margin: 7px 0px;
158 white-space: normal;
159 } 313 }
160 314
161 .feature-image 315 .feature-image
162 { 316 {
163 width: 57px; 317 width: 59px;
164 height: 57px; 318 height: 59px;
165 } 319 margin: 8px 0 10px 20px;
166 320 }
167 #feature-malware .feature-image 321
168 { 322 #activate-features
169 background-image: url(features/malware.png); 323 {
170 } 324 width: 100%;
171 325 background-image: url("background-candomore.png");
172 #feature-social .feature-image 326 margin: 30px 0 0 0;
173 { 327 padding: 14px 0 14px 0;
174 background-image: url(features/social.png);
175 }
176
177 #feature-tracking .feature-image
178 {
179 background-image: url(features/tracking.png);
180 }
181
182 .feature button
183 {
184 cursor: pointer; 328 cursor: pointer;
185 position: relative; 329 text-align: center;
186 top: 0px; 330 white-space: nowrap;
187 padding: 5px 10px; 331 }
188 *padding: 2px 3px; 332
189 font-weight: none; 333 #activate-features-label
190 font-size: inherit; 334 {
191 color: white; 335 display: inline-block;
192 text-shadow: 2px 2px 2px #327d14; 336 width: 86%;
193 border: none; 337 color: #fff;
194 border-radius: 3px; 338 font-size: 22px;
195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; 339 text-align: center;
196 background-color: #62c52b; 340 font-style: italic;
197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); 341 font-family: CreteRound, Helvetica, Arial, sans-serif;
198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); 342 -moz-transition: opacity 0.5s ease-in-out;
199 background: -o-linear-gradient(top, #62c52b, #4f9d22); 343 transition: opacity 0.5s ease-in-out;
200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); 344 }
201 background: linear-gradient(top, #62c52b, #4f9d22); 345
202 -webkit-transition: box-shadow 0.3s ease; 346 #can-do-more.expanded #label-show-expanded
203 -moz-transition: box-shadow 0.3s ease; 347 {
204 -o-transition: box-shadow 0.3s ease; 348 display: block;
205 -ms-transition: box-shadow 0.3s ease; 349 }
206 transition: box-shadow 0.3s ease; 350
207 } 351 #can-do-more.expanded #label-show-overview
208 352 {
209 .feature button:hover 353 display: none;
210 { 354 }
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 355
212 } 356 #label-show-expanded
213 357 {
214 .feature button:active 358 display: none;
215 { 359 }
216 top: 3px; 360
217 top: 0px\9; 361 #label-show-overview
218 box-shadow: 0px 0px 7px #486c15; 362 {
219 background-color: #4f9d22; 363 display: block;
220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); 364 }
221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); 365
222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); 366 #activate-features-label:hover
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); 367 {
224 background: linear-gradient(bottom, #62c52b, #4f9d22); 368 color: #1f6822;
225 -webkit-transition: none;
226 -moz-transition: none;
227 -o-transition: none;
228 -ms-transition: none;
229 transition: none;
230 *zoom: 1;
231 }
232
233 .feature button.disable
234 {
235 text-shadow: 2px 2px 2px #9d4f22;
236 box-shadow: 0 1px 0 0 #9d4f22, 0 2px 0 0 #999;
237 background-color: #c5622b;
238 background: -webkit-linear-gradient(top, #c5622b, #9d4f22);
239 background: -moz-linear-gradient(top, #c5622b, #9d4f22);
240 background: -o-linear-gradient(top, #c5622b, #9d4f22);
241 background: -ms-linear-gradient(top, #c5622b, #9d4f22);
242 background: linear-gradient(top, #c5622b, #9d4f22);
243 }
244
245 .feature button.disable:hover
246 {
247 box-shadow: 0px 2px 7px #9d4f22, 0 1px 0 0 #9d4f22;
248 }
249
250 .feature button.disable:active
251 {
252 top: 3px;
253 top: 0px\9;
254 box-shadow: 0px 0px 7px #9d4f22;
255 background-color: #9d4f22;
256 background: -webkit-linear-gradient(bottom, #c5622b, #9d4f22);
257 background: -moz-linear-gradient(bottom, #c5622b, #9d4f22);
258 background: -o-linear-gradient(bottom, #c5622b, #9d4f22);
259 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22);
260 background: linear-gradient(bottom, #c5622b, #9d4f22);
261 -webkit-transition: none;
262 -moz-transition: none;
263 -o-transition: none;
264 -ms-transition: none;
265 transition: none;
266 *zoom: 1;
267 }
268
269 #shade
270 {
271 -webkit-transition: opacity 0.2s ease;
272 -moz-transition: opacity 0.2s ease;
273 -o-transition: opacity 0.2s ease;
274 -ms-transition: opacity 0.2s ease;
275 transition: opacity 0.2s ease;
276 opacity: 0.0;
277 position: fixed;
278 margin-left: 10px;
279 bottom: 70px;
280 z-index: 100;
281 } 369 }
282 370
283 .arrow 371 .arrow
Thomas Greiner 2013/08/26 16:25:04 Merge this one with the existing .arrow rule below
284 { 372 {
285 width: 0; 373 background-image: url("arrow-down.png");
286 height: 0; 374 }
287 border: 30px solid transparent; 375
288 border-top-color: #000; 376 #can-do-more.expanded .arrow
289 } 377 {
290 378 background-image: url("arrow-up.png");
291 footer 379 }
292 { 380
293 position: fixed; 381 .arrow
294 bottom: 0; 382 {
295 left: 0; 383 width: 29px;
296 right: 0; 384 height: 22px;
297 padding: 70px 0 0; 385 vertical-align: bottom;
298 text-align: center; 386 display: inline-block;
299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); 387 }
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 388
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); 389 #share
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 390 {
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); 391 background-image: url(background-share.png);
304 } 392 padding: 50px 100px 40px 100px;
305 393 max-width: 760px;
306 footer h1 394 text-align: center;
307 { 395 font-family: CreteRound, Helvetica, Arial, sans-serif;
308 margin: 0; 396 }
309 font-size: 18px; 397
310 color: #666; 398 #share h2
311 position: fixed; 399 {
312 bottom: 70px; 400 color: #fff;
313 left: 0; 401 margin: 0 0 30px 0;
314 right: 0; 402 }
315 -webkit-transition: opacity .3s ease; 403
316 -moz-transition: opacity .3s ease; 404 #share h2 > a
317 -o-transition: opacity .3s ease; 405 {
318 -ms-transition: opacity .3s ease; 406 color: #fff;
319 transition: opacity .3s ease; 407 }
320 opacity: 1; 408
409 #share h2 > a:hover
410 {
411 color: #2e5075;
412 }
413
414 #share span
415 {
416 color: #bed1e6;
417 text-align: center;
418 line-height: 34px;
419 font-size: 22px;
420 display: block;
421 }
422
423 #donate:hover, #share-buttons a:hover
424 {
425 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4;
426 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4;
427 box-shadow: 0px 0px 0px 2px #8ca7c4;
428 border-radius: 30px;
429 }
430
431 #donate-block span, #share-block span
432 {
433 margin: 13px 20px 10px 20px;
434 }
435
436 #donate-block, #share-block
437 {
438 min-width: 250px;
439 display: inline-block;
440 vertical-align: top;
441 padding: 20px 0 0 0;
442 }
443
444 #donate-block
445 {
446 border: 1px dashed #37506d;
447 border-style: none dashed;
448 width: 50%;
449 }
450
451 #share-block
452 {
453 border-right: 1px dashed #37506d;
454 width: 49%;
455 }
456
457 #share-buttons
458 {
459 margin: 6px 0 0 0;
460 min-height: 50px;
461 cursor: pointer;
462 display: inline-block;
463 vertical-align: top;
464
465 /* because inline block creates
466 * space if not captured with
467 * font-size and line-height 0px
468 */
469 font-size: 0px;
470 line-height: 0px;
471 }
472
473 #share-buttons > a
474 {
475 width: 50px;
476 height: 50px;
477 margin: 0 8px;
478 text-decoration: none;
479 display: inline-block;
480 }
481
482 #share-facebook
483 {
484 background-image: url(social/facebook.png);
485 background-repeat: no-repeat;
486 }
487
488 #share-twitter
489 {
490 background-image: url(social/twitter.png);
491 background-repeat: no-repeat;
492 }
493
494 #share-gplus
495 {
496 background-image: url(social/googleplus.png);
497 background-repeat: no-repeat;
498 }
499
500 #dataCorruptionWarning
501 {
502 font-size: 160%;
503 border: 3px dashed red;
504 text-align: center;
321 } 505 }
322 506
323 #social ul 507 #social ul
324 { 508 {
325 list-style: none; 509 list-style: none;
326 display: inline-block; 510 display: inline-block;
327 padding: 0; 511 padding: 0;
328 margin: 0; 512 margin: 0;
329 } 513 }
330 514
(...skipping 25 matching lines...) Expand all
356 bottom: 0px; 540 bottom: 0px;
357 } 541 }
358 542
359 .share-button 543 .share-button
360 { 544 {
361 display: inline-block; 545 display: inline-block;
362 width: 82px; 546 width: 82px;
363 height: 82px; 547 height: 82px;
364 } 548 }
365 549
366 #share-facebook
367 {
368 background-image: url(social/facebook.png);
369 }
370
371 #share-twitter
372 {
373 background-image: url(social/twitter.png);
374 }
375
376 #share-gplus
377 {
378 background-image: url(social/gplus.png);
379 }
380
381 #glass-pane, #share-popup 550 #glass-pane, #share-popup
382 { 551 {
383 visibility: hidden; 552 visibility: hidden;
384 opacity: 0; 553 opacity: 0;
385 -webkit-transition-property: opacity, visibility; 554 -webkit-transition-property: opacity, visibility;
386 -moz-transition-property: opacity, visibility; 555 -moz-transition-property: opacity, visibility;
387 -o-transition-property: opacity, visibility; 556 -o-transition-property: opacity, visibility;
388 -ms-transition-property: opacity, visibility; 557 -ms-transition-property: opacity, visibility;
389 transition-property: opacity, visibility; 558 transition-property: opacity, visibility;
390 } 559 }
391 560
392 #glass-pane 561 #glass-pane
393 { 562 {
394 position: fixed; 563 position: fixed;
395 top: 0; 564 top: 0;
396 right: 0; 565 right: 0;
397 bottom: 0; 566 bottom: 0;
398 left: 0; 567 left: 0;
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; 568 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%;
400 z-index: 101; 569 z-index: 101;
401
402 -webkit-transition-duration: 0.2s; 570 -webkit-transition-duration: 0.2s;
403 -moz-transition-duration: 0.2s; 571 -moz-transition-duration: 0.2s;
404 -o-transition-duration: 0.2s; 572 -o-transition-duration: 0.2s;
405 -ms-transition-duration: 0.2s; 573 -ms-transition-duration: 0.2s;
406 transition-duration: 0.2s; 574 transition-duration: 0.2s;
407 } 575 }
408 576
409 #share-popup 577 #share-popup
410 { 578 {
411 position: absolute; 579 position: absolute;
(...skipping 18 matching lines...) Expand all
430 -webkit-transition-duration: 0.15s; 598 -webkit-transition-duration: 0.15s;
431 -moz-transition-duration: 0.15s; 599 -moz-transition-duration: 0.15s;
432 -o-transition-duration: 0.15s; 600 -o-transition-duration: 0.15s;
433 -ms-transition-duration: 0.15s; 601 -ms-transition-duration: 0.15s;
434 transition-duration: 0.15s; 602 transition-duration: 0.15s;
435 } 603 }
436 604
437 .toggle 605 .toggle
438 { 606 {
439 cursor: pointer; 607 cursor: pointer;
440 position: absolute; 608 position: relative;
441 display: inline-block; 609 display: inline-block;
442 top: 50%; 610 vertical-align: top;
443 height: 22px; 611 height: 22px;
444 margin: -21px 0px 7px 0px; 612 margin: 32px 0px 7px 0px;
445 border-radius: 9999px; 613 border-radius: 9999px;
446 box-shadow: 0 0 0 1px #999; 614 border: 1px solid #999;
447 overflow: hidden; 615 overflow: hidden;
448 -moz-user-select: none; 616 -moz-user-select: none;
449 -webkit-user-select: none; 617 -webkit-user-select: none;
450 user-select: none; 618 user-select: none;
451 } 619 }
452 620
621 .toggle:hover
622 {
623 -moz-box-shadow: 0px 0px 3px 0px #968d81;
624 -webkit-box-shadow: 0px 3px 0px 0px #968d81;
625 box-shadow: 0px 0px 3px 0px #968d81;
626 }
627
453 .toggle:active 628 .toggle:active
454 { 629 {
455 cursor: wait; 630 cursor: wait;
456 } 631 }
457 632
458 .toggle-on, .toggle-off 633 .toggle-on, .toggle-off
459 { 634 {
460 min-width: 42px; 635 min-width: 42px;
461 height: 100%; 636 height: 100%;
462 font-size: 11px; 637 font-size: 11px;
463 font-weight: 500; 638 font-weight: 500;
464 text-align: center; 639 text-align: center;
465 line-height: 25px; 640 line-height: 23px;
466 } 641 }
467 642
468 .toggle-on 643 .toggle-on
469 { 644 {
470 padding: 0px 30px 0px 10px; 645 padding: 0px 30px 0px 10px;
471 color: rgba(255,255,255, 0.8); 646 color: rgba(255,255,255, 0.8);
472 text-shadow: 1px 1px rgba(0,0,0,0.2); 647 text-shadow: 1px 1px rgba(0,0,0,0.2);
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); 648 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
474 background: rgb(69,163,31); 649 background: rgb(69,163,31);
475 } 650 }
(...skipping 28 matching lines...) Expand all
504 { 679 {
505 margin-top: -22px; 680 margin-top: -22px;
506 } 681 }
507 682
508 .off .toggle-blob 683 .off .toggle-blob
509 { 684 {
510 left: 0px; 685 left: 0px;
511 right: auto; 686 right: auto;
512 } 687 }
513 688
514 /* Adjust font size on smaller screens */ 689 #donate
515 @media (max-height: 800px) 690 {
516 { 691 height: 21px;
517 body 692 display: inline-block;
518 { 693 margin: 15px 0px 2px 0px;
519 font-size: 19px; 694 font-size: 16px;
520 } 695 color: #003366;
521 } 696 cursor: pointer;
522 697 font-weight: bold;
523 @media (max-height: 750px) 698 padding: 5px 18px;
524 { 699 text-decoration: none;
525 body 700 border-radius: 20px;
526 { 701 border: 1px solid #FF9933;
527 font-size: 17px; 702 overflow: hidden;
528 } 703 font-family: arial, sans-serif;
529 } 704 background-image: url(donate.png);
530 705 background-repeat: repeat-x;
531 @media (max-height: 700px) 706 }
532 { 707
533 body 708 footer
534 { 709 {
535 font-size: 16px; 710 margin: 0 auto 30px;
536 } 711 max-width: 960px;
537 } 712 text-align: center;
713 }
OLDNEW

Powered by Google App Engine
This is Rietveld