Left: | ||
Right: |
OLD | NEW |
---|---|
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 | |
18 body | 36 body |
19 { | 37 { |
20 font-family: Arial, Helvetica, sans-serif; | 38 font-family: Helvetica, Arial, sans-serif; |
21 font-size: 14px; | 39 font-size: 15px; |
22 line-height: 140%; | 40 line-height: 140%; |
23 color: #000000; | 41 color: #7f776b; |
24 background-color: #f8f6f2; | 42 background-color: #f8f6f2; |
43 background-image: url(background-main.png); | |
44 margin: 0; | |
45 padding: 0; | |
46 } | |
47 | |
48 a, a:link, a:visited | |
49 { | |
50 color: #5a84b3; | |
51 text-decoration: underline; | |
52 } | |
53 | |
54 a:hover | |
55 { | |
56 text-decoration: none; | |
57 } | |
58 | |
59 button | |
60 { | |
61 cursor: pointer; | |
62 } | |
63 | |
64 ul | |
65 { | |
66 margin: 0; | |
67 padding: 0; | |
68 } | |
69 | |
70 li | |
71 { | |
72 margin: 0; | |
73 padding: 0; | |
74 list-style-type: none; | |
75 } | |
76 | |
77 header | |
78 { | |
25 background-image: url(background.png); | 79 background-image: url(background.png); |
80 background-repeat: repeat-x; | |
81 width: 100%; | |
82 padding: 40px 0 0 0; | |
83 } | |
84 | |
85 header h1 | |
86 { | |
87 font-size: 24px; | |
88 font-weight: normal; | |
89 color: #57ab5b; | |
90 text-align: center; | |
91 margin: 21px auto; | |
92 padding: 16px 0 14px 0; | |
93 border: 1px #57ab5b; | |
94 border-style: dashed none; | |
95 /* border parallel fix - 957px is the value | |
96 * closest to 960px(page width) which makes | |
97 * the dashed border parallel | |
98 */ | |
99 max-width: 957px; | |
100 } | |
101 | |
102 h1,h2,h3 | |
103 { | |
104 font-family: CreteRound, Helvetica, Arial, sans-serif; | |
105 } | |
106 | |
107 h2 | |
108 { | |
109 font-size: 26px; | |
110 font-weight: lighter; | |
111 color: #968d81; | |
112 line-height: 28px; | |
113 text-align: center; | |
114 margin: 0; | |
115 padding: 0; | |
116 } | |
117 | |
118 h3 | |
119 { | |
120 font-size: 22px; | |
121 color: #7F776B; | |
122 font-weight: normal; | |
123 margin: 0 0 10px 0; | |
124 padding: 0; | |
125 line-height: 24px; | |
126 } | |
127 | |
128 h4 | |
129 { | |
130 font-size: 15px; | |
131 color: #7f776b; | |
132 font-weight: normal; | |
133 text-align: center; | |
134 margin: 0; | |
135 padding: 0; | |
136 } | |
137 | |
138 section | |
139 { | |
26 margin: 0 auto; | 140 margin: 0 auto; |
27 padding: 0; | 141 margin-bottom: 30px; |
28 max-width: 900px; | 142 max-width: 760px; |
29 } | 143 background-image: url(background.png); |
30 | 144 padding: 40px 100px; |
31 a:link, a:visited | 145 } |
32 { | 146 |
33 color: #7d7d7d; | 147 section > p |
34 } | 148 { |
35 | 149 margin: 15px 0 0 0; |
36 button, .arrow | 150 } |
37 { | 151 |
152 | |
153 #logo | |
154 { | |
155 margin: 0 auto; | |
156 height: 100px; | |
157 width: 99px; | |
158 display: block; | |
159 background-image: url(abp-icon-big.png); | |
160 background-repeat: no-repeat; | |
161 } | |
162 | |
163 #can-do-more | |
164 { | |
165 max-width: 960px; | |
166 padding: 40px 0px 0px 0px; | |
167 } | |
168 | |
169 #can-do-more > h2 | |
170 { | |
171 margin: 0 100px; | |
172 } | |
173 | |
174 .fade | |
175 { | |
176 opacity: 0; | |
177 } | |
178 | |
179 .hide | |
180 { | |
181 display: none; | |
182 } | |
183 | |
184 #can-do-more-overview | |
185 { | |
186 opacity: 1; | |
187 max-height: 10000px; | |
188 max-width: 760px; | |
189 margin: 30px 100px 0 100px; | |
190 font-size: 0px; | |
191 /* hides appearing spacings because of | |
192 * using display: inline-block*/ | |
38 cursor: pointer; | 193 cursor: pointer; |
39 } | 194 transition: opacity 0.3s step-end; |
Wladimir Palant
2013/10/05 09:15:59
Shouldn't it be ease-in-out rather than step-end h
| |
40 | 195 -moz-transition: opacity 0.3s ease-in-out; |
41 header, p | 196 -webkit-transition: opacity 0.3s ease-in-out; |
42 { | 197 } |
43 margin: 15px 0 5px; | 198 |
44 } | 199 #can-do-more.expanded > #can-do-more-overview, #can-do-more.expanded > #can-do-m ore-overview li, #can-do-more.expanded > #can-do-more-overview div, #can-do-more .expanded > #can-do-more-overview h4 |
45 | 200 { |
46 #content | 201 opacity: 0; |
47 { | 202 max-height: 0px; |
48 padding: 0 90px; | 203 width: 0; |
49 } | 204 margin: 0; |
50 | 205 padding: 0; |
51 header | 206 transition: none; |
52 { | 207 -moz-transition: none; |
53 padding-left: 148px; | 208 -webkit-transition: none; |
54 background-image: url(abp-icon-big.png); | 209 -o-transition: none; |
Wladimir Palant
2013/10/05 09:15:59
We don't set -o-transition above, we shouldn't nee
| |
55 background-position: 0% 50%; | 210 } |
211 | |
212 #can-do-more-overview > li:hover | |
213 { | |
214 background-image: url("background-main.png"); | |
215 text-decoration: none; | |
216 } | |
217 | |
218 #can-do-more-overview > li | |
219 { | |
220 width: 230px; | |
221 height: 115px; | |
222 display: inline-block; | |
223 border-right: 1px dashed #c7c6c2; | |
224 padding: 20px 10px 0 10px; | |
225 vertical-align: top; | |
226 text-decoration: underline; | |
227 -webkit-backface-visibility: hidden; | |
228 /* hides the 1px movement chrome bug | |
229 * which appears while transition. | |
230 */ | |
231 } | |
232 | |
233 #can-do-more-overview > li > div | |
234 { | |
235 width: 59px; | |
236 height: 59px; | |
237 display: block; | |
238 margin: 0 auto; | |
239 } | |
240 | |
241 #can-do-more-overview > li > h4 | |
242 { | |
243 margin: 15px 0 0 0; | |
244 } | |
245 | |
246 #can-do-more #feature-first | |
247 { | |
248 border-left: 1px dashed #c7c6c2; | |
249 } | |
250 | |
251 .feature-malware-image | |
252 { | |
253 background-image: url(features/malware.png); | |
56 background-repeat: no-repeat; | 254 background-repeat: no-repeat; |
57 min-height: 128px; | 255 } |
58 vertical-align: middle; | 256 |
59 line-height: 1; | 257 .feature-social-image |
60 | 258 { |
61 display: -webkit-box; | 259 background-image: url(features/social.png); |
62 -webkit-box-orient: vertical; | 260 background-repeat: no-repeat; |
63 -webkit-box-pack: center; | 261 } |
64 | 262 |
65 display: -moz-box; | 263 .feature-tracking-image |
66 -moz-box-orient: vertical; | 264 { |
67 -moz-box-pack: center; | 265 background-image: url(features/tracking.png); |
68 | 266 background-repeat: no-repeat; |
69 display: -o-box; | 267 } |
70 -o-box-orient: vertical; | 268 |
71 -o-box-pack: center; | 269 #can-do-more-expanded |
72 | 270 { |
73 display: -ms-box; | 271 opacity: 0; |
74 -ms-box-orient: vertical; | 272 max-height: 0; |
75 -ms-box-pack: center; | 273 } |
76 | 274 |
77 display: box; | 275 #can-do-more.expanded > #can-do-more-expanded |
78 box-orient: vertical; | 276 { |
79 box-pack: center; | 277 opacity: 1; |
80 } | 278 max-height: 10000px; |
81 | 279 margin: 30px 100px 0 100px; |
82 header h1 | 280 transition: opacity 0.5s ease-in-out; |
83 { | 281 -moz-transition: opacity 0.5s ease-in-out; |
84 font-size: 40px; | 282 -webkit-transition: opacity 0.5s ease-in-out; |
85 font-weight: normal; | 283 transition-delay: 0.2s; |
86 margin: 0; | 284 -webkit-transition-delay: 0.2s; |
Wladimir Palant
2013/10/05 09:15:59
-moz-transition-delay seems to be missing here. Th
| |
87 } | 285 } |
88 | 286 |
89 #dataCorruptionWarning | 287 #features, .feature:not([hidden]), .feature-image, .feature-description, .featur e-description, .feature-description-textblock, .feature-description-textblock > span, .feature-image |
90 { | 288 { |
91 font-size: 200%; | 289 width: 0; |
92 line-height: 140%; | 290 height: 0; |
93 margin: 20px; | 291 margin: 0; |
94 padding: 20px; | 292 padding: 0; |
95 border: 3px solid red; | 293 transition: none; |
96 border-radius: 10px; | 294 -moz-transition: none; |
97 } | 295 -webkit-transition: none; |
98 | 296 -o-transition: none; |
99 #features | 297 } |
100 { | 298 |
101 display: block; | 299 |
300 #can-do-more.expanded #features,#can-do-more.expanded .feature:not([hidden]),#ca n-do-more.expanded .feature-image,#can-do-more.expanded .feature-description,#ca n-do-more.expanded .feature-description,#can-do-more.expanded .feature-descripti on-textblock,#can-do-more.expanded .feature-description-textblock > span,#can-do -more.expanded .feature-image | |
301 { | |
302 width: auto; | |
303 height: auto; | |
304 margin: auto; | |
305 padding: auto; | |
306 transition-property: all; | |
307 -moz-transition-property: all; | |
308 -webkit-transition-property: all; | |
309 -o-transition-property: all; | |
Wladimir Palant
2013/10/05 09:15:59
As above, -o-transition-property and -moz-transiti
| |
310 transition-duration: 0.5s; | |
311 -webkit-transition-duration: 0.5s; | |
312 transition-timing-function: ease-in-out; | |
313 -webkit-transition-timing-function: ease-in-out; | |
314 } | |
315 | |
316 #can-do-more.expanded #features | |
317 { | |
102 border-spacing: 10px; | 318 border-spacing: 10px; |
103 margin: 0px; | 319 margin: 0px; |
104 padding: 0px; | 320 padding: 0px; |
105 padding-bottom: 120px; | 321 } |
106 white-space: nowrap; | 322 |
107 } | 323 #can-do-more.expanded .feature:not([hidden]) |
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 } | |
120 | |
121 .feature:not([hidden]) | |
122 { | 324 { |
123 display: block; | 325 display: block; |
124 position: relative; | |
125 list-style-type: none; | 326 list-style-type: none; |
327 padding: 30px 0; | |
126 padding-bottom: 20px; | 328 padding-bottom: 20px; |
127 } | 329 border-top: 1px dashed #c0bebb; |
128 | 330 } |
129 .feature-image, .feature-description | 331 |
332 #can-do-more.expanded .feature-image, #can-do-more.expanded .feature-description | |
130 { | 333 { |
131 display: inline-block; | 334 display: inline-block; |
132 *display: inline; /* IE6 inline-block fix */ | 335 *display: inline; /* IE6 inline-block fix */ |
133 *zoom: 1; | 336 *zoom: 1; |
134 vertical-align: top; | 337 vertical-align: top; |
135 } | 338 } |
136 | 339 |
137 .feature-description | 340 #can-do-more.expanded .feature-description |
138 { | 341 { |
139 width: 550px; | 342 margin: 0px 0px 0 20px; |
140 margin: 0px 10px; | 343 width: 625px; |
141 } | 344 max-width: 85%; |
142 | 345 } |
143 .feature-title | 346 |
144 { | 347 #can-do-more.expanded .feature-description-textblock |
145 color: black; | 348 { |
146 font-weight: bold; | 349 width: 480px; |
147 font-size: 120%; | 350 max-width: 100%; |
148 } | 351 margin: 0 40px 0 0; |
149 | 352 display: inline-block; |
150 .feature-title::after | 353 } |
151 { | 354 |
152 content: ":"; | 355 #can-do-more.expanded .feature-description-textblock > span |
153 } | 356 { |
154 | 357 margin: 15px 0 0 0; |
155 .feature-text | 358 } |
156 { | 359 |
157 margin: 7px 0px; | 360 #can-do-more.expanded .feature-image |
158 white-space: normal; | 361 { |
159 } | 362 width: 59px; |
160 | 363 height: 59px; |
161 .feature-image | 364 margin: 8px 0 10px 20px; |
162 { | 365 } |
163 width: 57px; | 366 |
164 height: 57px; | 367 #activate-features |
165 } | 368 { |
166 | 369 width: 100%; |
167 #feature-malware .feature-image | 370 background-image: url("background-candomore.png"); |
168 { | 371 margin: 30px 0 0 0; |
169 background-image: url(features/malware.png); | 372 padding: 14px 0 14px 0; |
170 } | |
171 | |
172 #feature-social .feature-image | |
173 { | |
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; | 373 cursor: pointer; |
185 position: relative; | 374 text-align: center; |
186 top: 0px; | 375 white-space: nowrap; |
187 padding: 5px 10px; | 376 } |
188 *padding: 2px 3px; | 377 |
189 font-weight: none; | 378 #activate-features-label |
190 font-size: inherit; | 379 { |
191 color: white; | 380 display: inline-block; |
192 text-shadow: 2px 2px 2px #327d14; | 381 width: 86%; |
193 border: none; | 382 color: #fff; |
194 border-radius: 3px; | 383 font-size: 22px; |
195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; | 384 text-align: center; |
196 background-color: #62c52b; | 385 font-style: italic; |
197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); | 386 font-family: CreteRound, Helvetica, Arial, sans-serif; |
198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); | 387 -moz-transition: opacity 0.5s ease-in-out; |
199 background: -o-linear-gradient(top, #62c52b, #4f9d22); | 388 transition: opacity 0.5s ease-in-out; |
200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); | 389 } |
201 background: linear-gradient(top, #62c52b, #4f9d22); | 390 |
202 -webkit-transition: box-shadow 0.3s ease; | 391 #can-do-more.expanded #label-show-expanded |
203 -moz-transition: box-shadow 0.3s ease; | 392 { |
204 -o-transition: box-shadow 0.3s ease; | 393 display: block; |
205 -ms-transition: box-shadow 0.3s ease; | 394 } |
206 transition: box-shadow 0.3s ease; | 395 |
207 } | 396 #can-do-more.expanded #label-show-overview |
208 | 397 { |
209 .feature button:hover | 398 display: none; |
210 { | 399 } |
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; | 400 |
212 } | 401 #label-show-expanded |
213 | 402 { |
214 .feature button:active | 403 display: none; |
215 { | 404 } |
216 top: 3px; | 405 |
217 top: 0px\9; | 406 #label-show-overview |
218 box-shadow: 0px 0px 7px #486c15; | 407 { |
219 background-color: #4f9d22; | 408 display: block; |
220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); | 409 } |
221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); | 410 |
222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); | 411 #activate-features-label:hover |
Thomas Greiner
2013/10/05 15:51:19
This is a weird behavior. It's neither restricted
| |
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); | 412 { |
224 background: linear-gradient(bottom, #62c52b, #4f9d22); | 413 color: #1f6822; |
225 -webkit-transition: none; | 414 } |
226 -moz-transition: none; | 415 |
227 -o-transition: none; | 416 #can-do-more.expanded .arrow |
228 -ms-transition: none; | 417 { |
229 transition: none; | 418 background-image: url("arrow-up.png"); |
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 } | 419 } |
282 | 420 |
283 .arrow | 421 .arrow |
284 { | 422 { |
285 width: 0; | 423 width: 29px; |
286 height: 0; | 424 height: 22px; |
287 border: 30px solid transparent; | 425 vertical-align: bottom; |
288 border-top-color: #000; | 426 display: inline-block; |
289 } | 427 background-image: url("arrow-down.png"); |
290 | 428 } |
291 footer | 429 |
292 { | 430 #share |
293 position: fixed; | 431 { |
294 bottom: 0; | 432 background-image: url(background-share.png); |
295 left: 0; | 433 padding: 50px 100px 40px 100px; |
296 right: 0; | 434 max-width: 760px; |
297 padding: 70px 0 0; | 435 text-align: center; |
298 text-align: center; | 436 font-family: CreteRound, Helvetica, Arial, sans-serif; |
299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); | 437 } |
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 438 |
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); | 439 #share h2 |
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 440 { |
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); | 441 color: #fff; |
304 } | 442 margin: 0 0 30px 0; |
305 | 443 } |
306 footer h1 | 444 |
307 { | 445 #share h2 > a |
308 margin: 0; | 446 { |
309 font-size: 18px; | 447 color: #fff; |
310 color: #666; | 448 } |
311 position: fixed; | 449 |
312 bottom: 70px; | 450 #share h2 > a:hover |
313 left: 0; | 451 { |
314 right: 0; | 452 color: #2e5075; |
315 -webkit-transition: opacity .3s ease; | 453 } |
316 -moz-transition: opacity .3s ease; | 454 |
317 -o-transition: opacity .3s ease; | 455 #share span |
318 -ms-transition: opacity .3s ease; | 456 { |
319 transition: opacity .3s ease; | 457 color: #bed1e6; |
320 opacity: 1; | 458 text-align: center; |
459 line-height: 34px; | |
460 font-size: 22px; | |
461 display: block; | |
462 } | |
463 | |
464 #donate:hover, .share-buttons a:hover | |
465 { | |
466 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4; | |
467 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4; | |
468 box-shadow: 0px 0px 0px 2px #8ca7c4; | |
469 border-radius: 30px; | |
470 } | |
471 | |
472 #donate-block span, #share-block span | |
473 { | |
474 margin: 13px 20px 10px 20px; | |
475 } | |
476 | |
477 #donate-block, #share-block | |
478 { | |
479 min-width: 250px; | |
480 display: inline-block; | |
481 vertical-align: top; | |
482 padding: 20px 0 0 0; | |
483 } | |
484 | |
485 #donate-block | |
486 { | |
487 border: 1px dashed #37506d; | |
488 border-style: none dashed; | |
489 width: 50%; | |
490 } | |
491 | |
492 #share-block | |
493 { | |
494 border-right: 1px dashed #37506d; | |
495 width: 49%; | |
496 } | |
497 | |
498 .share-buttons | |
499 { | |
500 margin: 6px 0 0 0; | |
501 cursor: pointer; | |
502 vertical-align: top; | |
503 /* because inline block creates | |
504 * space if not captured with | |
505 * font-size and line-height 0px | |
506 */ | |
507 font-size: 0px; | |
508 line-height: 0px; | |
509 } | |
510 | |
511 .share-buttons > a | |
512 { | |
513 width: 50px; | |
514 height: 50px; | |
515 margin: 0 8px; | |
516 text-decoration: none; | |
517 display: inline-block; | |
518 } | |
519 | |
520 html[lang^="zh_"] #share-chinese, | |
521 html:not([lang^="zh_"]) #share-general | |
522 { | |
523 display: block; | |
524 } | |
525 | |
526 html[lang^="zh_"] #share-general, | |
527 html:not([lang^="zh_"]) #share-chinese | |
528 { | |
529 display: none; | |
530 } | |
531 | |
532 #share-chinese > a | |
533 { | |
534 border-bottom: 2px solid transparent; | |
535 } | |
536 | |
537 #share-chinese > a:hover | |
538 { | |
539 -moz-box-shadow: none; | |
540 -webkit-box-shadow: none; | |
541 box-shadow: none; | |
542 border-radius: 0; | |
543 border-bottom: 2px solid #8CA7C4; | |
544 } | |
545 | |
546 #share-facebook | |
547 { | |
548 background-image: url(social/facebook.png); | |
549 background-repeat: no-repeat; | |
550 } | |
551 | |
552 #share-twitter | |
553 { | |
554 background-image: url(social/twitter.png); | |
555 background-repeat: no-repeat; | |
556 } | |
557 | |
558 #share-gplus | |
559 { | |
560 background-image: url(social/googleplus.png); | |
561 background-repeat: no-repeat; | |
562 } | |
563 | |
564 #share-renren | |
565 { | |
566 background-image: url(social/renren.png); | |
567 background-repeat: no-repeat; | |
568 } | |
569 | |
570 #share-weibo | |
571 { | |
572 background-image: url(social/weibo.png); | |
573 background-repeat: no-repeat; | |
574 } | |
575 | |
576 #dataCorruptionWarning | |
577 { | |
578 font-size: 160%; | |
579 border: 3px dashed red; | |
580 text-align: center; | |
321 } | 581 } |
322 | 582 |
323 #social ul | 583 #social ul |
324 { | 584 { |
325 list-style: none; | 585 list-style: none; |
326 display: inline-block; | 586 display: inline-block; |
327 padding: 0; | 587 padding: 0; |
328 margin: 0; | 588 margin: 0; |
329 } | 589 } |
330 | 590 |
(...skipping 25 matching lines...) Expand all Loading... | |
356 bottom: 0px; | 616 bottom: 0px; |
357 } | 617 } |
358 | 618 |
359 .share-button | 619 .share-button |
360 { | 620 { |
361 display: inline-block; | 621 display: inline-block; |
362 width: 82px; | 622 width: 82px; |
363 height: 82px; | 623 height: 82px; |
364 } | 624 } |
365 | 625 |
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 | 626 #glass-pane, #share-popup |
382 { | 627 { |
383 visibility: hidden; | 628 visibility: hidden; |
384 opacity: 0; | 629 opacity: 0; |
385 -webkit-transition-property: opacity, visibility; | 630 -webkit-transition-property: opacity, visibility; |
386 -moz-transition-property: opacity, visibility; | 631 -moz-transition-property: opacity, visibility; |
387 -o-transition-property: opacity, visibility; | 632 -o-transition-property: opacity, visibility; |
388 -ms-transition-property: opacity, visibility; | 633 -ms-transition-property: opacity, visibility; |
389 transition-property: opacity, visibility; | 634 transition-property: opacity, visibility; |
390 } | 635 } |
391 | 636 |
392 #glass-pane | 637 #glass-pane |
393 { | 638 { |
394 position: fixed; | 639 position: fixed; |
395 top: 0; | 640 top: 0; |
396 right: 0; | 641 right: 0; |
397 bottom: 0; | 642 bottom: 0; |
398 left: 0; | 643 left: 0; |
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; | 644 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; |
400 z-index: 101; | 645 z-index: 101; |
401 | |
402 -webkit-transition-duration: 0.2s; | 646 -webkit-transition-duration: 0.2s; |
403 -moz-transition-duration: 0.2s; | 647 -moz-transition-duration: 0.2s; |
404 -o-transition-duration: 0.2s; | 648 -o-transition-duration: 0.2s; |
405 -ms-transition-duration: 0.2s; | 649 -ms-transition-duration: 0.2s; |
406 transition-duration: 0.2s; | 650 transition-duration: 0.2s; |
407 } | 651 } |
408 | 652 |
409 #share-popup | 653 #share-popup |
410 { | 654 { |
411 position: absolute; | 655 position: absolute; |
(...skipping 18 matching lines...) Expand all Loading... | |
430 -webkit-transition-duration: 0.15s; | 674 -webkit-transition-duration: 0.15s; |
431 -moz-transition-duration: 0.15s; | 675 -moz-transition-duration: 0.15s; |
432 -o-transition-duration: 0.15s; | 676 -o-transition-duration: 0.15s; |
433 -ms-transition-duration: 0.15s; | 677 -ms-transition-duration: 0.15s; |
434 transition-duration: 0.15s; | 678 transition-duration: 0.15s; |
435 } | 679 } |
436 | 680 |
437 .toggle | 681 .toggle |
438 { | 682 { |
439 cursor: pointer; | 683 cursor: pointer; |
440 position: absolute; | 684 position: relative; |
441 display: inline-block; | 685 display: inline-block; |
442 top: 50%; | 686 vertical-align: top; |
443 height: 22px; | 687 height: 22px; |
444 margin: -21px 0px 7px 0px; | 688 margin: 32px 0px 7px 0px; |
445 border-radius: 9999px; | 689 border-radius: 9999px; |
446 box-shadow: 0 0 0 1px #999; | 690 border: 1px solid #999; |
447 overflow: hidden; | 691 overflow: hidden; |
448 -moz-user-select: none; | 692 -moz-user-select: none; |
449 -webkit-user-select: none; | 693 -webkit-user-select: none; |
450 user-select: none; | 694 user-select: none; |
451 } | 695 } |
452 | 696 |
697 .toggle:hover | |
698 { | |
699 -moz-box-shadow: 0px 0px 3px 0px #968d81; | |
700 -webkit-box-shadow: 0px 3px 0px 0px #968d81; | |
701 box-shadow: 0px 0px 3px 0px #968d81; | |
702 } | |
703 | |
453 .toggle:active | 704 .toggle:active |
454 { | 705 { |
455 cursor: wait; | 706 cursor: wait; |
456 } | 707 } |
457 | 708 |
458 .toggle-on, .toggle-off | 709 .toggle-on, .toggle-off |
459 { | 710 { |
460 min-width: 42px; | 711 min-width: 42px; |
461 height: 100%; | 712 height: 100%; |
462 font-size: 11px; | 713 font-size: 11px; |
463 font-weight: 500; | 714 font-weight: 500; |
464 text-align: center; | 715 text-align: center; |
465 line-height: 25px; | 716 line-height: 23px; |
717 border-radius: 9999px; | |
718 -moz-border-radius: 9999px; | |
719 -webkit-border-radius: 9999px; | |
466 } | 720 } |
467 | 721 |
468 .toggle-on | 722 .toggle-on |
469 { | 723 { |
470 padding: 0px 30px 0px 10px; | 724 padding: 0px 30px 0px 10px; |
471 color: rgba(255,255,255, 0.8); | 725 color: rgba(255,255,255, 0.8); |
472 text-shadow: 1px 1px rgba(0,0,0,0.2); | 726 text-shadow: 1px 1px rgba(0,0,0,0.2); |
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 727 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
474 background: rgb(69,163,31); | 728 background: rgb(69,163,31); |
475 } | 729 } |
(...skipping 10 matching lines...) Expand all Loading... | |
486 } | 740 } |
487 | 741 |
488 .toggle-blob | 742 .toggle-blob |
489 { | 743 { |
490 position: absolute; | 744 position: absolute; |
491 top: 0px; | 745 top: 0px; |
492 right: 0px; | 746 right: 0px; |
493 height: 100%; | 747 height: 100%; |
494 width: 22px; | 748 width: 22px; |
495 border-radius: 50px; | 749 border-radius: 50px; |
496 box-shadow: 1px 1px 2px #888; | |
497 background: #cfcfcf; | 750 background: #cfcfcf; |
498 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); | 751 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); |
499 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); | 752 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); |
500 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); | 753 background: linear-gradient(to top, #cfcfcf 0%,#f5f5f5 100%); |
754 box-shadow: 1px 1px 2px #888; | |
501 } | 755 } |
502 | 756 |
503 .off .toggle-on | 757 .off .toggle-on |
504 { | 758 { |
505 margin-top: -22px; | 759 margin-top: -22px; |
506 } | 760 } |
507 | 761 |
508 .off .toggle-blob | 762 .off .toggle-blob |
509 { | 763 { |
510 left: 0px; | 764 left: 0px; |
511 right: auto; | 765 right: auto; |
512 } | 766 } |
513 | 767 |
514 /* Adjust font size on smaller screens */ | 768 #donate |
515 @media (max-height: 800px) | |
516 { | 769 { |
517 body | 770 height: 21px; |
518 { | 771 display: inline-block; |
519 font-size: 19px; | 772 margin: 15px 0px 2px 0px; |
520 } | 773 font-size: 16px; |
774 color: #003366; | |
775 cursor: pointer; | |
776 font-weight: bold; | |
777 padding: 5px 18px; | |
778 text-decoration: none; | |
779 border-radius: 20px; | |
780 border: 1px solid #FF9933; | |
781 overflow: hidden; | |
782 font-family: arial, sans-serif; | |
783 background-image: url(donate.png); | |
784 background-repeat: repeat-x; | |
521 } | 785 } |
522 | 786 |
523 @media (max-height: 750px) | 787 footer |
524 { | 788 { |
525 body | 789 margin: 0 auto 30px; |
526 { | 790 max-width: 960px; |
527 font-size: 17px; | 791 text-align: center; |
528 } | |
529 } | 792 } |
530 | |
531 @media (max-height: 700px) | |
532 { | |
533 body | |
534 { | |
535 font-size: 16px; | |
536 } | |
537 } | |
OLD | NEW |