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 update Created Aug. 23, 2013, 2:33 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
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: 85%;
141 } 299 /*max-width: 625px;*/
Thomas Greiner 2013/08/26 11:33:50 I assume you forgot to remove that comment ;)
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 #label-show-expanded
203 -moz-transition: box-shadow 0.3s ease; 347 {
204 -o-transition: box-shadow 0.3s ease; 348
205 -ms-transition: box-shadow 0.3s ease; 349 }
206 transition: box-shadow 0.3s ease; 350
207 } 351 #label-show-overview
208 352 {
209 .feature button:hover 353
210 { 354 }
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; 355
Thomas Greiner 2013/08/26 11:33:50 I assume you forgot to use those.
212 } 356 #activate-features-label:hover
213 357 {
214 .feature button:active 358 color: #1f6822;
215 { 359 }
216 top: 3px; 360
217 top: 0px\9; 361 #activate-features.overview .arrow
218 box-shadow: 0px 0px 7px #486c15; 362 {
219 background-color: #4f9d22; 363 background-image: url("arrow-down.png");
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.expanded .arrow
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); 367 {
224 background: linear-gradient(bottom, #62c52b, #4f9d22); 368 background-image: url("arrow-up.png");
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
284 { 372 {
285 width: 0; 373 width: 29px;
286 height: 0; 374 height: 22px;
287 border: 30px solid transparent; 375 vertical-align: bottom;
288 border-top-color: #000; 376 display: inline-block;
289 } 377 }
290 378
291 footer 379 #share
292 { 380 {
293 position: fixed; 381 background-image: url(background-share.png);
294 bottom: 0; 382 padding: 50px 100px 40px 100px;
295 left: 0; 383 max-width: 760px;
296 right: 0; 384 text-align: center;
297 padding: 70px 0 0; 385 font-family: CreteRound, Helvetica, Arial, sans-serif;
298 text-align: center; 386 }
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 #share h2
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); 389 {
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); 390 color: #fff;
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); 391 margin: 0 0 30px 0;
304 } 392 }
305 393
306 footer h1 394 #share h2 > a
307 { 395 {
308 margin: 0; 396 color: #fff;
309 font-size: 18px; 397 }
310 color: #666; 398
311 position: fixed; 399 #share h2 > a:hover
312 bottom: 70px; 400 {
313 left: 0; 401 color: #2e5075;
314 right: 0; 402 }
315 -webkit-transition: opacity .3s ease; 403
316 -moz-transition: opacity .3s ease; 404 #share span
317 -o-transition: opacity .3s ease; 405 {
318 -ms-transition: opacity .3s ease; 406 color: #bed1e6;
319 transition: opacity .3s ease; 407 text-align: center;
320 opacity: 1; 408 line-height: 34px;
409 font-size: 22px;
410 display: block;
411 }
412
413 #donate:hover, #share-buttons a:hover
414 {
415 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4;
416 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4;
417 box-shadow: 0px 0px 0px 2px #8ca7c4;
418 border-radius: 30px;
419 }
420
421 #donate-block span, #share-block span
422 {
423 margin: 13px 20px 10px 20px;
424 }
425
426 #donate-block, #share-block
427 {
428 min-width: 250px;
429 display: inline-block;
430 vertical-align: top;
431 padding: 20px 0 0 0;
432 }
433
434 #donate-block
435 {
436 border: 1px dashed #37506d;
437 border-style: none dashed;
438 width: 50%;
439 }
440
441 #share-block
442 {
443 border-right: 1px dashed #37506d;
444 width: 49%;
445 }
446
447 #share-buttons
448 {
449 margin: 6px 0 0 0;
450 min-height: 50px;
451 cursor: pointer;
452 display: inline-block;
453 vertical-align: top;
454
455 /* because inline block creates
456 * space if not captured with
457 * font-size and line-height 0px
458 */
459 font-size: 0px;
460 line-height: 0px;
461
Thomas Greiner 2013/08/26 11:33:50 :)
462 }
463
464 #share-buttons > a
465 {
466 width: 50px;
467 height: 50px;
468 margin: 0 8px;
469 text-decoration: none;
470 display: inline-block;
471 }
472
473 #share-facebook
474 {
475 background-image: url(social/facebook.png);
476 background-repeat: no-repeat;
477 }
478
479 #share-twitter
480 {
481 background-image: url(social/twitter.png);
482 background-repeat: no-repeat;
483 }
484
485 #share-gplus
486 {
487 background-image: url(social/googleplus.png);
488 background-repeat: no-repeat;
489 }
490
491 #dataCorruptionWarning
492 {
493 font-size: 160%;
494 border: 3px dashed red;
495 text-align: center;
321 } 496 }
322 497
323 #social ul 498 #social ul
324 { 499 {
325 list-style: none; 500 list-style: none;
326 display: inline-block; 501 display: inline-block;
327 padding: 0; 502 padding: 0;
328 margin: 0; 503 margin: 0;
329 } 504 }
330 505
(...skipping 25 matching lines...) Expand all
356 bottom: 0px; 531 bottom: 0px;
357 } 532 }
358 533
359 .share-button 534 .share-button
360 { 535 {
361 display: inline-block; 536 display: inline-block;
362 width: 82px; 537 width: 82px;
363 height: 82px; 538 height: 82px;
364 } 539 }
365 540
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 541 #glass-pane, #share-popup
382 { 542 {
383 visibility: hidden; 543 visibility: hidden;
384 opacity: 0; 544 opacity: 0;
385 -webkit-transition-property: opacity, visibility; 545 -webkit-transition-property: opacity, visibility;
386 -moz-transition-property: opacity, visibility; 546 -moz-transition-property: opacity, visibility;
387 -o-transition-property: opacity, visibility; 547 -o-transition-property: opacity, visibility;
388 -ms-transition-property: opacity, visibility; 548 -ms-transition-property: opacity, visibility;
389 transition-property: opacity, visibility; 549 transition-property: opacity, visibility;
390 } 550 }
391 551
392 #glass-pane 552 #glass-pane
393 { 553 {
394 position: fixed; 554 position: fixed;
395 top: 0; 555 top: 0;
396 right: 0; 556 right: 0;
397 bottom: 0; 557 bottom: 0;
398 left: 0; 558 left: 0;
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; 559 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%;
400 z-index: 101; 560 z-index: 101;
401
402 -webkit-transition-duration: 0.2s; 561 -webkit-transition-duration: 0.2s;
403 -moz-transition-duration: 0.2s; 562 -moz-transition-duration: 0.2s;
404 -o-transition-duration: 0.2s; 563 -o-transition-duration: 0.2s;
405 -ms-transition-duration: 0.2s; 564 -ms-transition-duration: 0.2s;
406 transition-duration: 0.2s; 565 transition-duration: 0.2s;
407 } 566 }
408 567
409 #share-popup 568 #share-popup
410 { 569 {
411 position: absolute; 570 position: absolute;
(...skipping 18 matching lines...) Expand all
430 -webkit-transition-duration: 0.15s; 589 -webkit-transition-duration: 0.15s;
431 -moz-transition-duration: 0.15s; 590 -moz-transition-duration: 0.15s;
432 -o-transition-duration: 0.15s; 591 -o-transition-duration: 0.15s;
433 -ms-transition-duration: 0.15s; 592 -ms-transition-duration: 0.15s;
434 transition-duration: 0.15s; 593 transition-duration: 0.15s;
435 } 594 }
436 595
437 .toggle 596 .toggle
438 { 597 {
439 cursor: pointer; 598 cursor: pointer;
440 position: absolute; 599 position: relative;
441 display: inline-block; 600 display: inline-block;
442 top: 50%; 601 vertical-align: top;
443 height: 22px; 602 height: 22px;
444 margin: -21px 0px 7px 0px; 603 margin: 32px 0px 7px 0px;
445 border-radius: 9999px; 604 border-radius: 9999px;
446 box-shadow: 0 0 0 1px #999; 605 border: 1px solid #999;
447 overflow: hidden; 606 overflow: hidden;
448 -moz-user-select: none; 607 -moz-user-select: none;
449 -webkit-user-select: none; 608 -webkit-user-select: none;
450 user-select: none; 609 user-select: none;
451 } 610 }
452 611
612 .toggle:hover
613 {
614 -moz-box-shadow: 0px 0px 3px 0px #968d81;
615 -webkit-box-shadow: 0px 3px 0px 0px #968d81;
616 box-shadow: 0px 0px 3px 0px #968d81;
617 }
618
453 .toggle:active 619 .toggle:active
454 { 620 {
455 cursor: wait; 621 cursor: wait;
456 } 622 }
457 623
458 .toggle-on, .toggle-off 624 .toggle-on, .toggle-off
459 { 625 {
460 min-width: 42px; 626 min-width: 42px;
461 height: 100%; 627 height: 100%;
462 font-size: 11px; 628 font-size: 11px;
463 font-weight: 500; 629 font-weight: 500;
464 text-align: center; 630 text-align: center;
465 line-height: 25px; 631 line-height: 23px;
466 } 632 }
467 633
468 .toggle-on 634 .toggle-on
469 { 635 {
470 padding: 0px 30px 0px 10px; 636 padding: 0px 30px 0px 10px;
471 color: rgba(255,255,255, 0.8); 637 color: rgba(255,255,255, 0.8);
472 text-shadow: 1px 1px rgba(0,0,0,0.2); 638 text-shadow: 1px 1px rgba(0,0,0,0.2);
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); 639 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
474 background: rgb(69,163,31); 640 background: rgb(69,163,31);
475 } 641 }
(...skipping 28 matching lines...) Expand all
504 { 670 {
505 margin-top: -22px; 671 margin-top: -22px;
506 } 672 }
507 673
508 .off .toggle-blob 674 .off .toggle-blob
509 { 675 {
510 left: 0px; 676 left: 0px;
511 right: auto; 677 right: auto;
512 } 678 }
513 679
514 /* Adjust font size on smaller screens */ 680 #donate
515 @media (max-height: 800px) 681 {
516 { 682 height: 21px;
517 body 683 display: inline-block;
518 { 684 margin: 15px 0px 2px 0px;
519 font-size: 19px; 685 font-size: 16px;
520 } 686 color: #003366;
521 } 687 cursor: pointer;
522 688 font-weight: bold;
523 @media (max-height: 750px) 689 padding: 5px 18px;
524 { 690 text-decoration: none;
525 body 691 border-radius: 20px;
526 { 692 border: 1px solid #FF9933;
527 font-size: 17px; 693 overflow: hidden;
528 } 694 font-family: arial, sans-serif;
529 } 695 background-image: url(donate.png);
530 696 background-repeat: repeat-x;
531 @media (max-height: 700px) 697 }
532 {
533 body
534 {
535 font-size: 16px;
536 }
537 }
OLDNEW

Powered by Google App Engine
This is Rietveld