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 ('Ø'), | |
Thomas Greiner
2013/08/07 14:17:54
This is not self-explanatory. Please explain why t
| |
23 url(fonts/CreteRound-Regular.otf) format('otf'); | |
24 } | |
25 | |
26 @font-face { | |
27 font-family: 'CreteRound'; | |
28 font-style: italic; | |
29 src: url(fonts/CreteRound-Italic.otf); | |
30 src: local ('Ø'), | |
Thomas Greiner
2013/08/07 14:17:54
This is not self-explanatory. Please explain why t
| |
31 url(fonts/CreteRound-Italic.otf) format('otf'); | |
32 } | |
33 | |
34 * | |
35 { | |
36 margin: 0; | |
37 padding: 0; | |
38 } | |
39 | |
18 body | 40 body |
19 { | 41 { |
20 font-family: Arial, Helvetica, sans-serif; | 42 font-family: Helvetica, Arial, sans-serif; |
21 font-size: 14px; | 43 font-size: 15px; |
22 line-height: 140%; | 44 line-height: 140%; |
23 color: #000000; | 45 color: #7f776b; |
24 background-color: #f8f6f2; | 46 background-color: #f8f6f2; |
47 background-image: url(background-main.png); | |
48 } | |
49 | |
50 a, a:link, a:visited | |
51 { | |
52 color: #5a84b3; | |
53 text-decoration: underline; | |
54 cursor: pointer; | |
Thomas Greiner
2013/08/07 14:17:54
Should not be necessary. Anchor tags have cursor:p
| |
55 } | |
56 | |
57 button | |
58 { | |
59 cursor: pointer; | |
60 } | |
61 | |
62 li | |
63 { | |
64 list-style-type: none; | |
65 } | |
66 | |
67 header | |
68 { | |
69 height: 200px; | |
25 background-image: url(background.png); | 70 background-image: url(background.png); |
71 background-repeat: repeat-x; | |
72 width: 100%; | |
73 padding: 40px 0 0 0; | |
74 } | |
75 | |
76 header h1 | |
77 { | |
78 font-size: 24px; | |
79 font-weight: normal; | |
26 margin: 0 auto; | 80 margin: 0 auto; |
27 padding: 0; | 81 color: #57ab5b; |
28 max-width: 900px; | 82 text-align: center; |
29 } | 83 margin: 21px auto; |
30 | 84 padding: 16px 0 14px 0; |
31 a:link, a:visited | 85 border: 1px #57ab5b; |
32 { | 86 border-style: dashed none; |
33 color: #7d7d7d; | 87 |
34 } | 88 /* border parallel fix - 957px is the value |
35 | 89 * next to 960px(page witdth) which makes |
Thomas Greiner
2013/08/07 14:17:54
You probably mean "closest to".
Thomas Greiner
2013/08/07 14:17:54
typo: "witdth"
| |
36 button, .arrow | 90 * the dashed border parallel |
37 { | 91 */ |
92 max-width: 957px; | |
93 } | |
94 | |
95 strong | |
96 { | |
97 font-weight: 600; | |
98 } | |
99 | |
100 h1,h2,h3 | |
101 { | |
102 font-family: CreteRound, Helvetica, Arial, sans-serif; | |
103 } | |
104 | |
105 h2 | |
106 { | |
107 font-size: 26px; | |
108 font-weight: lighter; | |
109 color: #968d81; | |
110 line-height: 28px; | |
111 text-align: center; | |
112 | |
113 } | |
114 | |
115 h3 | |
116 { | |
117 font-size: 22px; | |
118 color: #7F776B; | |
119 font-weight: normal; | |
120 margin: 0 0 10px 0; | |
121 line-height: 24px; | |
122 } | |
123 | |
124 h4 | |
125 { | |
126 font-size: 15px; | |
127 color: #7f776b; | |
128 font-weight: normal; | |
129 text-align: center; | |
130 text-decoration: underline; | |
131 } | |
132 | |
133 section | |
134 { | |
135 margin: 0 auto; | |
136 margin-bottom: 30px; | |
137 max-width: 760px; | |
138 background-image: url(background.png); | |
139 padding: 40px 100px; | |
140 } | |
141 | |
142 section > p | |
143 { | |
144 margin: 15px 0 0 0; | |
145 } | |
146 | |
147 | |
148 #logo | |
149 { | |
150 margin: 0 auto; | |
151 height: 100px; | |
152 width: 99px; | |
153 display: block; | |
154 background-image: url(abp-icon-big.png); | |
155 background-repeat: no-repeat; | |
156 } | |
157 | |
158 #can-do-more | |
159 { | |
160 max-width: 960px; | |
161 padding: 40px 0px 0px 0px; | |
162 } | |
163 | |
164 #can-do-more > h2 | |
165 { | |
166 margin: 0 100px; | |
167 } | |
168 | |
169 .opacity-zero | |
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
170 { | |
171 opacity: 0 !important; | |
Thomas Greiner
2013/08/07 14:17:54
Use more targeted selectors instead of !important.
| |
172 } | |
173 | |
174 .opacity-one | |
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
175 { | |
176 opacity: 1 !important; | |
Thomas Greiner
2013/08/07 14:17:54
Use more targeted selectors instead of !important.
| |
177 } | |
178 | |
179 .display-none | |
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
180 { | |
181 display: none !important; | |
Thomas Greiner
2013/08/07 14:17:54
Use more targeted selectors instead of !important.
| |
182 } | |
183 | |
184 .display-block | |
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
185 { | |
186 display: block !important; | |
Thomas Greiner
2013/08/07 14:17:54
Use more targeted selectors instead of !important.
| |
187 } | |
188 | |
189 #can-do-more-overview | |
190 { | |
191 max-width: 760px; | |
192 min-height: 140px; | |
193 margin: 30px 100px 0 100px; | |
194 font-size: 0px; | |
Thomas Greiner
2013/08/07 14:17:54
0px? What's that supposed to do?
| |
195 opacity: 1; | |
38 cursor: pointer; | 196 cursor: pointer; |
39 } | 197 -moz-transition: opacity 0.5s ease-in-out; |
40 | 198 transition: opacity 0.5s ease-in-out; |
41 header, p | 199 } |
42 { | 200 |
43 margin: 15px 0 5px; | 201 #can-do-more-overview > li |
44 } | 202 { |
45 | 203 width: 230px; |
46 #content | 204 height: 115px; |
47 { | 205 display: inline-block; |
48 padding: 0 90px; | 206 border-right: 1px dashed #c7c6c2; |
49 } | 207 padding: 20px 10px 0 10px; |
50 | 208 vertical-align: top; |
51 header | 209 } |
52 { | 210 |
53 padding-left: 148px; | 211 #can-do-more-overview > li > div |
54 background-image: url(abp-icon-big.png); | 212 { |
55 background-position: 0% 50%; | 213 width: 59px; |
214 height: 59px; | |
215 display: block; | |
216 margin: 0 auto; | |
217 } | |
218 | |
219 #can-do-more-overview > li > h4 | |
220 { | |
221 margin: 15px 0 0 0; | |
222 } | |
223 | |
224 #can-do-more #feature-first | |
225 { | |
226 border-left: 1px dashed #c7c6c2; | |
227 } | |
228 | |
229 .feature-malware-image | |
230 { | |
231 background-image: url(features/malware.png); | |
56 background-repeat: no-repeat; | 232 background-repeat: no-repeat; |
57 min-height: 128px; | 233 } |
58 vertical-align: middle; | 234 |
59 line-height: 1; | 235 .feature-social-image |
60 | 236 { |
61 display: -webkit-box; | 237 background-image: url(features/social.png); |
62 -webkit-box-orient: vertical; | 238 background-repeat: no-repeat; |
63 -webkit-box-pack: center; | 239 } |
64 | 240 |
65 display: -moz-box; | 241 .feature-tracking-image |
66 -moz-box-orient: vertical; | 242 { |
67 -moz-box-pack: center; | 243 background-image: url(features/tracking.png); |
68 | 244 background-repeat: no-repeat; |
69 display: -o-box; | 245 } |
70 -o-box-orient: vertical; | 246 |
71 -o-box-pack: center; | 247 #can-do-more-expanded |
72 | 248 { |
73 display: -ms-box; | 249 margin: 30px 100px 0 100px; |
74 -ms-box-orient: vertical; | 250 display: none; |
75 -ms-box-pack: center; | 251 opacity: 0; |
76 | 252 -moz-transition: opacity 0.5s ease-in-out; |
77 display: box; | 253 transition: opacity 0.5s ease-in-out; |
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 } | 254 } |
98 | 255 |
99 #features | 256 #features |
100 { | 257 { |
101 display: block; | 258 display: block; |
102 border-spacing: 10px; | 259 border-spacing: 10px; |
103 margin: 0px; | 260 margin: 0px; |
104 padding: 0px; | 261 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 } | 262 } |
120 | 263 |
121 .feature:not([hidden]) | 264 .feature:not([hidden]) |
122 { | 265 { |
123 display: block; | 266 display: block; |
124 position: relative; | |
125 list-style-type: none; | 267 list-style-type: none; |
268 padding: 30px 0; | |
126 padding-bottom: 20px; | 269 padding-bottom: 20px; |
270 border-top: 1px dashed #c0bebb; | |
127 } | 271 } |
128 | 272 |
129 .feature-image, .feature-description | 273 .feature-image, .feature-description |
130 { | 274 { |
131 display: inline-block; | 275 display: inline-block; |
132 *display: inline; /* IE6 inline-block fix */ | 276 *display: inline; /* IE6 inline-block fix */ |
133 *zoom: 1; | 277 *zoom: 1; |
134 vertical-align: top; | 278 vertical-align: top; |
135 } | 279 } |
136 | 280 |
137 .feature-description | 281 .feature-description |
138 { | 282 { |
139 width: 550px; | 283 margin: 0px 0px 0 20px; |
140 margin: 0px 10px; | 284 max-width: 625px; |
141 } | 285 } |
142 | 286 |
143 .feature-title | 287 .feature-description-textblock |
144 { | 288 { |
145 color: black; | 289 max-width: 480px; |
146 font-weight: bold; | 290 margin: 0 40px 0 0; |
147 font-size: 120%; | 291 display: inline-block; |
148 } | 292 } |
149 | 293 |
150 .feature-title::after | 294 .feature-description-textblock > span |
151 { | 295 { |
152 content: ":"; | 296 margin: 15px 0 0 0; |
153 } | |
154 | |
155 .feature-text | |
156 { | |
157 margin: 7px 0px; | |
158 white-space: normal; | |
159 } | 297 } |
160 | 298 |
161 .feature-image | 299 .feature-image |
162 { | 300 { |
163 width: 57px; | 301 width: 59px; |
164 height: 57px; | 302 height: 59px; |
165 } | 303 margin: 8px 0 10px 20px; |
166 | 304 } |
167 #feature-malware .feature-image | 305 |
168 { | 306 #activate-features |
169 background-image: url(features/malware.png); | 307 { |
170 } | 308 width: 100%; |
171 | 309 background-image: url("background-candomore.png"); |
172 #feature-social .feature-image | 310 margin: 30px 0 0 0; |
173 { | 311 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; | 312 cursor: pointer; |
185 position: relative; | 313 text-align: center; |
186 top: 0px; | 314 white-space: nowrap; |
187 padding: 5px 10px; | 315 } |
188 *padding: 2px 3px; | 316 |
189 font-weight: none; | 317 #activate-features-label |
190 font-size: inherit; | 318 { |
191 color: white; | 319 display: inline-block; |
192 text-shadow: 2px 2px 2px #327d14; | 320 width: 88%; |
193 border: none; | 321 color: #fff; |
194 border-radius: 3px; | 322 font-size: 22px; |
195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; | 323 text-decoration: underline; |
196 background-color: #62c52b; | 324 text-align: center; |
197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); | 325 font-style: italic; |
198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); | 326 font-family: CreteRound, Helvetica, Arial, sans-serif; |
199 background: -o-linear-gradient(top, #62c52b, #4f9d22); | 327 -moz-transition: opacity 0.5s ease-in-out; |
200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); | 328 transition: opacity 0.5s ease-in-out; |
201 background: linear-gradient(top, #62c52b, #4f9d22); | 329 } |
202 -webkit-transition: box-shadow 0.3s ease; | 330 |
203 -moz-transition: box-shadow 0.3s ease; | 331 .arrow-down, .arrow-up |
204 -o-transition: box-shadow 0.3s ease; | 332 { |
205 -ms-transition: box-shadow 0.3s ease; | 333 width: 23px; |
206 transition: box-shadow 0.3s ease; | 334 height: 28px; |
207 } | 335 vertical-align: bottom; |
208 | 336 display: inline-block; |
209 .feature button:hover | 337 -moz-transition: opacity 0.5s ease-in-out; |
210 { | 338 transition: opacity 0.5s ease-in-out; |
Thomas Greiner
2013/08/07 14:17:54
Doesn't seem to do anything.
| |
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; | 339 } |
212 } | 340 |
213 | 341 .arrow-down |
214 .feature button:active | 342 { |
215 { | 343 background-image: url("double-arrow-down.png"); |
216 top: 3px; | 344 } |
217 top: 0px\9; | 345 |
218 box-shadow: 0px 0px 7px #486c15; | 346 .arrow-up |
219 background-color: #4f9d22; | 347 { |
220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); | 348 background-image: url("double-arrow-up.png"); |
221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); | 349 } |
222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); | 350 |
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); | 351 |
224 background: linear-gradient(bottom, #62c52b, #4f9d22); | 352 #share |
225 -webkit-transition: none; | 353 { |
226 -moz-transition: none; | 354 background-image: url(background-share.png); |
227 -o-transition: none; | 355 padding: 50px 100px 40px 100px; |
228 -ms-transition: none; | 356 max-width: 760px; |
229 transition: none; | 357 text-align: center; |
230 *zoom: 1; | 358 font-family: CreteRound, Helvetica, Arial, sans-serif; |
231 } | 359 } |
232 | 360 |
233 .feature button.disable | 361 #share h2 |
234 { | 362 { |
235 text-shadow: 2px 2px 2px #9d4f22; | 363 color: #fff; |
236 box-shadow: 0 1px 0 0 #9d4f22, 0 2px 0 0 #999; | 364 margin: 0 0 30px 0; |
237 background-color: #c5622b; | 365 } |
238 background: -webkit-linear-gradient(top, #c5622b, #9d4f22); | 366 |
239 background: -moz-linear-gradient(top, #c5622b, #9d4f22); | 367 #share h2 > a |
240 background: -o-linear-gradient(top, #c5622b, #9d4f22); | 368 { |
241 background: -ms-linear-gradient(top, #c5622b, #9d4f22); | 369 color: #fff; |
242 background: linear-gradient(top, #c5622b, #9d4f22); | 370 text-decoration: underline; |
243 } | 371 } |
244 | 372 |
245 .feature button.disable:hover | 373 #share span |
246 { | 374 { |
247 box-shadow: 0px 2px 7px #9d4f22, 0 1px 0 0 #9d4f22; | 375 color: #bed1e6; |
248 } | 376 text-align: center; |
249 | 377 line-height: 34px; |
250 .feature button.disable:active | 378 font-size: 22px; |
251 { | 379 display: block; |
252 top: 3px; | 380 } |
253 top: 0px\9; | 381 |
254 box-shadow: 0px 0px 7px #9d4f22; | 382 #donate-block span |
255 background-color: #9d4f22; | 383 { |
256 background: -webkit-linear-gradient(bottom, #c5622b, #9d4f22); | 384 margin: 15px 20px 10px 20px; |
257 background: -moz-linear-gradient(bottom, #c5622b, #9d4f22); | 385 } |
258 background: -o-linear-gradient(bottom, #c5622b, #9d4f22); | 386 |
259 background: -ms-linear-gradient(bottom, #c5622b, #9d4f22); | 387 #share-block span |
260 background: linear-gradient(bottom, #c5622b, #9d4f22); | 388 { |
261 -webkit-transition: none; | 389 margin: 8px 20px 10px 20px; |
262 -moz-transition: none; | 390 } |
Thomas Greiner
2013/08/07 14:17:54
It seems odd that those two margins differ. Those
| |
263 -o-transition: none; | 391 |
264 -ms-transition: none; | 392 #donate-block, #share-block |
265 transition: none; | 393 { |
266 *zoom: 1; | 394 min-width: 250px; |
267 } | 395 display: inline-block; |
268 | 396 vertical-align: top; |
269 #shade | 397 padding: 20px 0 0 0; |
270 { | 398 } |
271 -webkit-transition: opacity 0.2s ease; | 399 |
272 -moz-transition: opacity 0.2s ease; | 400 #donate-block |
273 -o-transition: opacity 0.2s ease; | 401 { |
274 -ms-transition: opacity 0.2s ease; | 402 border: 1px dashed #37506d; |
275 transition: opacity 0.2s ease; | 403 border-style: none dashed; |
276 opacity: 0.0; | 404 width: 50%; |
277 position: fixed; | 405 } |
278 margin-left: 10px; | 406 |
279 bottom: 70px; | 407 #share-block |
280 z-index: 100; | 408 { |
281 } | 409 border-right: 1px dashed #37506d; |
282 | 410 width: 49%; |
283 .arrow | 411 } |
284 { | 412 |
285 width: 0; | 413 #share-buttons |
286 height: 0; | 414 { |
287 border: 30px solid transparent; | 415 width: auto; |
Thomas Greiner
2013/08/07 14:17:54
Doesn't seem necessary.
| |
288 border-top-color: #000; | 416 margin: 6px 0 0 0; |
289 } | 417 min-height: 50px; |
290 | 418 cursor: pointer; |
291 footer | 419 display: inline-block; |
292 { | 420 vertical-align: top; |
293 position: fixed; | 421 } |
294 bottom: 0; | 422 |
295 left: 0; | 423 #share-buttons > a |
296 right: 0; | 424 { |
297 padding: 70px 0 0; | 425 width: 50px; |
298 text-align: center; | 426 height: 50px; |
299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2 55, 1) 50px); | 427 margin: 0 14px 0 0; |
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 428 text-decoration: none; |
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1 ) 50px); | 429 display: inline-block; |
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 50px); | 430 } |
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5 0px); | 431 |
304 } | 432 #share-facebook |
305 | 433 { |
306 footer h1 | 434 background-image: url(social/facebook.png); |
307 { | 435 background-repeat: no-repeat; |
308 margin: 0; | 436 } |
309 font-size: 18px; | 437 |
310 color: #666; | 438 #share-twitter |
311 position: fixed; | 439 { |
312 bottom: 70px; | 440 background-image: url(social/twitter.png); |
313 left: 0; | 441 background-repeat: no-repeat; |
314 right: 0; | 442 } |
315 -webkit-transition: opacity .3s ease; | 443 |
316 -moz-transition: opacity .3s ease; | 444 #share-gplus |
317 -o-transition: opacity .3s ease; | 445 { |
318 -ms-transition: opacity .3s ease; | 446 background-image: url(social/googleplus.png); |
319 transition: opacity .3s ease; | 447 background-repeat: no-repeat; |
320 opacity: 1; | 448 margin: 0 !important; |
Thomas Greiner
2013/08/07 14:17:54
You don't need that if you just replace line 427 w
| |
449 } | |
450 | |
451 #dataCorruptionWarning | |
452 { | |
453 font-size: 160%; | |
454 border: 3px dashed red; | |
455 text-align: center; | |
321 } | 456 } |
322 | 457 |
323 #social ul | 458 #social ul |
324 { | 459 { |
325 list-style: none; | 460 list-style: none; |
326 display: inline-block; | 461 display: inline-block; |
327 padding: 0; | 462 padding: 0; |
328 margin: 0; | 463 margin: 0; |
329 } | 464 } |
330 | 465 |
(...skipping 25 matching lines...) Expand all Loading... | |
356 bottom: 0px; | 491 bottom: 0px; |
357 } | 492 } |
358 | 493 |
359 .share-button | 494 .share-button |
360 { | 495 { |
361 display: inline-block; | 496 display: inline-block; |
362 width: 82px; | 497 width: 82px; |
363 height: 82px; | 498 height: 82px; |
364 } | 499 } |
365 | 500 |
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 | 501 #glass-pane, #share-popup |
382 { | 502 { |
383 visibility: hidden; | 503 visibility: hidden; |
384 opacity: 0; | 504 opacity: 0; |
385 -webkit-transition-property: opacity, visibility; | 505 -webkit-transition-property: opacity, visibility; |
386 -moz-transition-property: opacity, visibility; | 506 -moz-transition-property: opacity, visibility; |
387 -o-transition-property: opacity, visibility; | 507 -o-transition-property: opacity, visibility; |
388 -ms-transition-property: opacity, visibility; | 508 -ms-transition-property: opacity, visibility; |
389 transition-property: opacity, visibility; | 509 transition-property: opacity, visibility; |
390 } | 510 } |
391 | 511 |
392 #glass-pane | 512 #glass-pane |
393 { | 513 { |
394 position: fixed; | 514 position: fixed; |
395 top: 0; | 515 top: 0; |
396 right: 0; | 516 right: 0; |
397 bottom: 0; | 517 bottom: 0; |
398 left: 0; | 518 left: 0; |
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; | 519 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; |
400 z-index: 101; | 520 z-index: 101; |
401 | |
402 -webkit-transition-duration: 0.2s; | 521 -webkit-transition-duration: 0.2s; |
403 -moz-transition-duration: 0.2s; | 522 -moz-transition-duration: 0.2s; |
404 -o-transition-duration: 0.2s; | 523 -o-transition-duration: 0.2s; |
405 -ms-transition-duration: 0.2s; | 524 -ms-transition-duration: 0.2s; |
406 transition-duration: 0.2s; | 525 transition-duration: 0.2s; |
407 } | 526 } |
408 | 527 |
409 #share-popup | 528 #share-popup |
410 { | 529 { |
411 position: absolute; | 530 position: absolute; |
(...skipping 18 matching lines...) Expand all Loading... | |
430 -webkit-transition-duration: 0.15s; | 549 -webkit-transition-duration: 0.15s; |
431 -moz-transition-duration: 0.15s; | 550 -moz-transition-duration: 0.15s; |
432 -o-transition-duration: 0.15s; | 551 -o-transition-duration: 0.15s; |
433 -ms-transition-duration: 0.15s; | 552 -ms-transition-duration: 0.15s; |
434 transition-duration: 0.15s; | 553 transition-duration: 0.15s; |
435 } | 554 } |
436 | 555 |
437 .toggle | 556 .toggle |
438 { | 557 { |
439 cursor: pointer; | 558 cursor: pointer; |
440 position: absolute; | 559 position: relative; |
441 display: inline-block; | 560 display: inline-block; |
442 top: 50%; | 561 vertical-align: top; |
443 height: 22px; | 562 height: 22px; |
444 margin: -21px 0px 7px 0px; | 563 margin: 32px 0px 7px 0px; |
445 border-radius: 9999px; | 564 border-radius: 9999px; |
446 box-shadow: 0 0 0 1px #999; | 565 border: 1px solid #999; |
447 overflow: hidden; | 566 overflow: hidden; |
448 -moz-user-select: none; | 567 -moz-user-select: none; |
449 -webkit-user-select: none; | 568 -webkit-user-select: none; |
450 user-select: none; | 569 user-select: none; |
451 } | 570 } |
452 | 571 |
453 .toggle:active | 572 .toggle:active |
454 { | 573 { |
455 cursor: wait; | 574 cursor: wait; |
456 } | 575 } |
457 | 576 |
458 .toggle-on, .toggle-off | 577 .toggle-on, .toggle-off |
459 { | 578 { |
460 min-width: 42px; | 579 min-width: 42px; |
461 height: 100%; | 580 height: 100%; |
462 font-size: 11px; | 581 font-size: 11px; |
463 font-weight: 500; | 582 font-weight: 500; |
464 text-align: center; | 583 text-align: center; |
465 line-height: 25px; | 584 line-height: 23px; |
466 } | 585 } |
467 | 586 |
468 .toggle-on | 587 .toggle-on |
469 { | 588 { |
470 padding: 0px 30px 0px 10px; | 589 padding: 0px 30px 0px 10px; |
471 color: rgba(255,255,255, 0.8); | 590 color: rgba(255,255,255, 0.8); |
472 text-shadow: 1px 1px rgba(0,0,0,0.2); | 591 text-shadow: 1px 1px rgba(0,0,0,0.2); |
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 592 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
474 background: rgb(69,163,31); | 593 background: rgb(69,163,31); |
475 } | 594 } |
(...skipping 28 matching lines...) Expand all Loading... | |
504 { | 623 { |
505 margin-top: -22px; | 624 margin-top: -22px; |
506 } | 625 } |
507 | 626 |
508 .off .toggle-blob | 627 .off .toggle-blob |
509 { | 628 { |
510 left: 0px; | 629 left: 0px; |
511 right: auto; | 630 right: auto; |
512 } | 631 } |
513 | 632 |
514 /* Adjust font size on smaller screens */ | 633 #donate |
515 @media (max-height: 800px) | 634 { |
516 { | 635 height: 21px; |
517 body | 636 display: inline-block; |
518 { | 637 margin: 15px 0px 0px 0px; |
519 font-size: 19px; | 638 font-size: 16px; |
520 } | 639 color: #003366; |
521 } | 640 cursor: pointer; |
522 | 641 font-weight: bold; |
523 @media (max-height: 750px) | 642 padding: 5px 18px; |
524 { | 643 text-decoration: none; |
525 body | 644 border-radius: 20px; |
526 { | 645 border: 1px solid #FF9933; |
527 font-size: 17px; | 646 overflow: hidden; |
528 } | 647 font-family: arial, sans-serif; |
529 } | 648 background-image: url(donate.png); |
530 | 649 background-repeat: repeat-x; |
531 @media (max-height: 700px) | 650 } |
532 { | |
533 body | |
534 { | |
535 font-size: 16px; | |
536 } | |
537 } | |
OLD | NEW |