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 |
| 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 |
| 174 { |
| 175 opacity: 0; |
| 176 } |
| 177 |
| 178 .hide |
| 179 { |
| 180 display: none; |
| 181 } |
| 182 |
| 183 #can-do-more-overview |
| 184 { |
| 185 max-width: 760px; |
| 186 min-height: 140px; |
| 187 margin: 30px 100px 0 100px; |
| 188 font-size: 0px; |
| 189 /* hides appearing spacings because of |
| 190 * using display: inline-block*/ |
38 cursor: pointer; | 191 cursor: pointer; |
39 } | 192 -moz-transition: opacity 0.5s ease-in-out; |
40 | 193 transition: opacity 0.5s ease-in-out; |
41 header, p | 194 } |
42 { | 195 |
43 margin: 15px 0 5px; | 196 #can-do-more-overview > li:hover |
44 } | 197 { |
45 | 198 background-image: url("background-main.png"); |
46 #content | 199 text-decoration: none; |
47 { | 200 } |
48 padding: 0 90px; | 201 |
49 } | 202 #can-do-more-overview > li |
50 | 203 { |
51 header | 204 width: 230px; |
52 { | 205 height: 115px; |
53 padding-left: 148px; | 206 display: inline-block; |
54 background-image: url(abp-icon-big.png); | 207 border-right: 1px dashed #c7c6c2; |
55 background-position: 0% 50%; | 208 padding: 20px 10px 0 10px; |
| 209 vertical-align: top; |
| 210 text-decoration: underline; |
| 211 -webkit-backface-visibility: hidden; |
| 212 /* hides the 1px movement chrome bug |
| 213 * which appears while transition. |
| 214 */ |
| 215 } |
| 216 |
| 217 #can-do-more-overview > li > div |
| 218 { |
| 219 width: 59px; |
| 220 height: 59px; |
| 221 display: block; |
| 222 margin: 0 auto; |
| 223 } |
| 224 |
| 225 #can-do-more-overview > li > h4 |
| 226 { |
| 227 margin: 15px 0 0 0; |
| 228 } |
| 229 |
| 230 #can-do-more #feature-first |
| 231 { |
| 232 border-left: 1px dashed #c7c6c2; |
| 233 } |
| 234 |
| 235 .feature-malware-image |
| 236 { |
| 237 background-image: url(features/malware.png); |
56 background-repeat: no-repeat; | 238 background-repeat: no-repeat; |
57 min-height: 128px; | 239 } |
58 vertical-align: middle; | 240 |
59 line-height: 1; | 241 .feature-social-image |
60 | 242 { |
61 display: -webkit-box; | 243 background-image: url(features/social.png); |
62 -webkit-box-orient: vertical; | 244 background-repeat: no-repeat; |
63 -webkit-box-pack: center; | 245 } |
64 | 246 |
65 display: -moz-box; | 247 .feature-tracking-image |
66 -moz-box-orient: vertical; | 248 { |
67 -moz-box-pack: center; | 249 background-image: url(features/tracking.png); |
68 | 250 background-repeat: no-repeat; |
69 display: -o-box; | 251 } |
70 -o-box-orient: vertical; | 252 |
71 -o-box-pack: center; | 253 #can-do-more-expanded |
72 | 254 { |
73 display: -ms-box; | 255 margin: 30px 100px 0 100px; |
74 -ms-box-orient: vertical; | 256 -moz-transition: opacity 0.5s ease-in-out; |
75 -ms-box-pack: center; | 257 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 } | 258 } |
98 | 259 |
99 #features | 260 #features |
100 { | 261 { |
101 display: block; | 262 display: block; |
102 border-spacing: 10px; | 263 border-spacing: 10px; |
103 margin: 0px; | 264 margin: 0px; |
104 padding: 0px; | 265 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 } | 266 } |
120 | 267 |
121 .feature:not([hidden]) | 268 .feature:not([hidden]) |
122 { | 269 { |
123 display: block; | 270 display: block; |
124 position: relative; | |
125 list-style-type: none; | 271 list-style-type: none; |
| 272 padding: 30px 0; |
126 padding-bottom: 20px; | 273 padding-bottom: 20px; |
| 274 border-top: 1px dashed #c0bebb; |
127 } | 275 } |
128 | 276 |
129 .feature-image, .feature-description | 277 .feature-image, .feature-description |
130 { | 278 { |
131 display: inline-block; | 279 display: inline-block; |
132 *display: inline; /* IE6 inline-block fix */ | 280 *display: inline; /* IE6 inline-block fix */ |
133 *zoom: 1; | 281 *zoom: 1; |
134 vertical-align: top; | 282 vertical-align: top; |
135 } | 283 } |
136 | 284 |
137 .feature-description | 285 .feature-description |
138 { | 286 { |
139 width: 550px; | 287 margin: 0px 0px 0 20px; |
140 margin: 0px 10px; | 288 width: 625px; |
141 } | 289 max-width: 85%; |
142 | 290 } |
143 .feature-title | 291 |
144 { | 292 .feature-description-textblock |
145 color: black; | 293 { |
146 font-weight: bold; | 294 width: 480px; |
147 font-size: 120%; | 295 max-width: 100%; |
148 } | 296 margin: 0 40px 0 0; |
149 | 297 display: inline-block; |
150 .feature-title::after | 298 } |
151 { | 299 |
152 content: ":"; | 300 .feature-description-textblock > span |
153 } | 301 { |
154 | 302 margin: 15px 0 0 0; |
155 .feature-text | |
156 { | |
157 margin: 7px 0px; | |
158 white-space: normal; | |
159 } | 303 } |
160 | 304 |
161 .feature-image | 305 .feature-image |
162 { | 306 { |
163 width: 57px; | 307 width: 59px; |
164 height: 57px; | 308 height: 59px; |
165 } | 309 margin: 8px 0 10px 20px; |
166 | 310 } |
167 #feature-malware .feature-image | 311 |
168 { | 312 #activate-features |
169 background-image: url(features/malware.png); | 313 { |
170 } | 314 width: 100%; |
171 | 315 background-image: url("background-candomore.png"); |
172 #feature-social .feature-image | 316 margin: 30px 0 0 0; |
173 { | 317 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; | 318 cursor: pointer; |
185 position: relative; | 319 text-align: center; |
186 top: 0px; | 320 white-space: nowrap; |
187 padding: 5px 10px; | 321 } |
188 *padding: 2px 3px; | 322 |
189 font-weight: none; | 323 #activate-features-label |
190 font-size: inherit; | 324 { |
191 color: white; | 325 display: inline-block; |
192 text-shadow: 2px 2px 2px #327d14; | 326 width: 86%; |
193 border: none; | 327 color: #fff; |
194 border-radius: 3px; | 328 font-size: 22px; |
195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; | 329 text-align: center; |
196 background-color: #62c52b; | 330 font-style: italic; |
197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); | 331 font-family: CreteRound, Helvetica, Arial, sans-serif; |
198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); | 332 -moz-transition: opacity 0.5s ease-in-out; |
199 background: -o-linear-gradient(top, #62c52b, #4f9d22); | 333 transition: opacity 0.5s ease-in-out; |
200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); | 334 } |
201 background: linear-gradient(top, #62c52b, #4f9d22); | 335 |
202 -webkit-transition: box-shadow 0.3s ease; | 336 #can-do-more.expanded #label-show-expanded |
203 -moz-transition: box-shadow 0.3s ease; | 337 { |
204 -o-transition: box-shadow 0.3s ease; | 338 display: block; |
205 -ms-transition: box-shadow 0.3s ease; | 339 } |
206 transition: box-shadow 0.3s ease; | 340 |
207 } | 341 #can-do-more.expanded #label-show-overview |
208 | 342 { |
209 .feature button:hover | 343 display: none; |
210 { | 344 } |
211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; | 345 |
212 } | 346 #label-show-expanded |
213 | 347 { |
214 .feature button:active | 348 display: none; |
215 { | 349 } |
216 top: 3px; | 350 |
217 top: 0px\9; | 351 #label-show-overview |
218 box-shadow: 0px 0px 7px #486c15; | 352 { |
219 background-color: #4f9d22; | 353 display: block; |
220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); | 354 } |
221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); | 355 |
222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); | 356 #activate-features-label:hover |
223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); | 357 { |
224 background: linear-gradient(bottom, #62c52b, #4f9d22); | 358 color: #1f6822; |
225 -webkit-transition: none; | 359 } |
226 -moz-transition: none; | 360 |
227 -o-transition: none; | 361 #can-do-more.expanded .arrow |
228 -ms-transition: none; | 362 { |
229 transition: none; | 363 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 } | 364 } |
282 | 365 |
283 .arrow | 366 .arrow |
284 { | 367 { |
285 width: 0; | 368 width: 29px; |
286 height: 0; | 369 height: 22px; |
287 border: 30px solid transparent; | 370 vertical-align: bottom; |
288 border-top-color: #000; | 371 display: inline-block; |
289 } | 372 background-image: url("arrow-down.png"); |
290 | 373 } |
291 footer | 374 |
292 { | 375 #share |
293 position: fixed; | 376 { |
294 bottom: 0; | 377 background-image: url(background-share.png); |
295 left: 0; | 378 padding: 50px 100px 40px 100px; |
296 right: 0; | 379 max-width: 760px; |
297 padding: 70px 0 0; | 380 text-align: center; |
298 text-align: center; | 381 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); | 382 } |
300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255,
1) 50px); | 383 |
301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1
) 50px); | 384 #share h2 |
302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255,
1) 50px); | 385 { |
303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5
0px); | 386 color: #fff; |
304 } | 387 margin: 0 0 30px 0; |
305 | 388 } |
306 footer h1 | 389 |
307 { | 390 #share h2 > a |
308 margin: 0; | 391 { |
309 font-size: 18px; | 392 color: #fff; |
310 color: #666; | 393 } |
311 position: fixed; | 394 |
312 bottom: 70px; | 395 #share h2 > a:hover |
313 left: 0; | 396 { |
314 right: 0; | 397 color: #2e5075; |
315 -webkit-transition: opacity .3s ease; | 398 } |
316 -moz-transition: opacity .3s ease; | 399 |
317 -o-transition: opacity .3s ease; | 400 #share span |
318 -ms-transition: opacity .3s ease; | 401 { |
319 transition: opacity .3s ease; | 402 color: #bed1e6; |
320 opacity: 1; | 403 text-align: center; |
| 404 line-height: 34px; |
| 405 font-size: 22px; |
| 406 display: block; |
| 407 } |
| 408 |
| 409 #donate:hover, #share-buttons a:hover |
| 410 { |
| 411 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 412 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 413 box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 414 border-radius: 30px; |
| 415 } |
| 416 |
| 417 #donate-block span, #share-block span |
| 418 { |
| 419 margin: 13px 20px 10px 20px; |
| 420 } |
| 421 |
| 422 #donate-block, #share-block |
| 423 { |
| 424 min-width: 250px; |
| 425 display: inline-block; |
| 426 vertical-align: top; |
| 427 padding: 20px 0 0 0; |
| 428 } |
| 429 |
| 430 #donate-block |
| 431 { |
| 432 border: 1px dashed #37506d; |
| 433 border-style: none dashed; |
| 434 width: 50%; |
| 435 } |
| 436 |
| 437 #share-block |
| 438 { |
| 439 border-right: 1px dashed #37506d; |
| 440 width: 49%; |
| 441 } |
| 442 |
| 443 #share-buttons |
| 444 { |
| 445 margin: 6px 0 0 0; |
| 446 min-height: 50px; |
| 447 cursor: pointer; |
| 448 display: inline-block; |
| 449 vertical-align: top; |
| 450 |
| 451 /* because inline block creates |
| 452 * space if not captured with |
| 453 * font-size and line-height 0px |
| 454 */ |
| 455 font-size: 0px; |
| 456 line-height: 0px; |
| 457 } |
| 458 |
| 459 #share-buttons > a |
| 460 { |
| 461 width: 50px; |
| 462 height: 50px; |
| 463 margin: 0 8px; |
| 464 text-decoration: none; |
| 465 display: inline-block; |
| 466 } |
| 467 |
| 468 #share-facebook |
| 469 { |
| 470 background-image: url(social/facebook.png); |
| 471 background-repeat: no-repeat; |
| 472 } |
| 473 |
| 474 #share-twitter |
| 475 { |
| 476 background-image: url(social/twitter.png); |
| 477 background-repeat: no-repeat; |
| 478 } |
| 479 |
| 480 #share-gplus |
| 481 { |
| 482 background-image: url(social/googleplus.png); |
| 483 background-repeat: no-repeat; |
| 484 } |
| 485 |
| 486 #dataCorruptionWarning |
| 487 { |
| 488 font-size: 160%; |
| 489 border: 3px dashed red; |
| 490 text-align: center; |
321 } | 491 } |
322 | 492 |
323 #social ul | 493 #social ul |
324 { | 494 { |
325 list-style: none; | 495 list-style: none; |
326 display: inline-block; | 496 display: inline-block; |
327 padding: 0; | 497 padding: 0; |
328 margin: 0; | 498 margin: 0; |
329 } | 499 } |
330 | 500 |
(...skipping 25 matching lines...) Expand all Loading... |
356 bottom: 0px; | 526 bottom: 0px; |
357 } | 527 } |
358 | 528 |
359 .share-button | 529 .share-button |
360 { | 530 { |
361 display: inline-block; | 531 display: inline-block; |
362 width: 82px; | 532 width: 82px; |
363 height: 82px; | 533 height: 82px; |
364 } | 534 } |
365 | 535 |
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 | 536 #glass-pane, #share-popup |
382 { | 537 { |
383 visibility: hidden; | 538 visibility: hidden; |
384 opacity: 0; | 539 opacity: 0; |
385 -webkit-transition-property: opacity, visibility; | 540 -webkit-transition-property: opacity, visibility; |
386 -moz-transition-property: opacity, visibility; | 541 -moz-transition-property: opacity, visibility; |
387 -o-transition-property: opacity, visibility; | 542 -o-transition-property: opacity, visibility; |
388 -ms-transition-property: opacity, visibility; | 543 -ms-transition-property: opacity, visibility; |
389 transition-property: opacity, visibility; | 544 transition-property: opacity, visibility; |
390 } | 545 } |
391 | 546 |
392 #glass-pane | 547 #glass-pane |
393 { | 548 { |
394 position: fixed; | 549 position: fixed; |
395 top: 0; | 550 top: 0; |
396 right: 0; | 551 right: 0; |
397 bottom: 0; | 552 bottom: 0; |
398 left: 0; | 553 left: 0; |
399 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; | 554 background: rgba(0, 0, 0, 0.5) url(ajax-loader.gif) no-repeat 50% 50%; |
400 z-index: 101; | 555 z-index: 101; |
401 | |
402 -webkit-transition-duration: 0.2s; | 556 -webkit-transition-duration: 0.2s; |
403 -moz-transition-duration: 0.2s; | 557 -moz-transition-duration: 0.2s; |
404 -o-transition-duration: 0.2s; | 558 -o-transition-duration: 0.2s; |
405 -ms-transition-duration: 0.2s; | 559 -ms-transition-duration: 0.2s; |
406 transition-duration: 0.2s; | 560 transition-duration: 0.2s; |
407 } | 561 } |
408 | 562 |
409 #share-popup | 563 #share-popup |
410 { | 564 { |
411 position: absolute; | 565 position: absolute; |
(...skipping 18 matching lines...) Expand all Loading... |
430 -webkit-transition-duration: 0.15s; | 584 -webkit-transition-duration: 0.15s; |
431 -moz-transition-duration: 0.15s; | 585 -moz-transition-duration: 0.15s; |
432 -o-transition-duration: 0.15s; | 586 -o-transition-duration: 0.15s; |
433 -ms-transition-duration: 0.15s; | 587 -ms-transition-duration: 0.15s; |
434 transition-duration: 0.15s; | 588 transition-duration: 0.15s; |
435 } | 589 } |
436 | 590 |
437 .toggle | 591 .toggle |
438 { | 592 { |
439 cursor: pointer; | 593 cursor: pointer; |
440 position: absolute; | 594 position: relative; |
441 display: inline-block; | 595 display: inline-block; |
442 top: 50%; | 596 vertical-align: top; |
443 height: 22px; | 597 height: 22px; |
444 margin: -21px 0px 7px 0px; | 598 margin: 32px 0px 7px 0px; |
445 border-radius: 9999px; | 599 border-radius: 9999px; |
446 box-shadow: 0 0 0 1px #999; | 600 border: 1px solid #999; |
447 overflow: hidden; | 601 overflow: hidden; |
448 -moz-user-select: none; | 602 -moz-user-select: none; |
449 -webkit-user-select: none; | 603 -webkit-user-select: none; |
450 user-select: none; | 604 user-select: none; |
451 } | 605 } |
452 | 606 |
| 607 .toggle:hover |
| 608 { |
| 609 -moz-box-shadow: 0px 0px 3px 0px #968d81; |
| 610 -webkit-box-shadow: 0px 3px 0px 0px #968d81; |
| 611 box-shadow: 0px 0px 3px 0px #968d81; |
| 612 } |
| 613 |
453 .toggle:active | 614 .toggle:active |
454 { | 615 { |
455 cursor: wait; | 616 cursor: wait; |
456 } | 617 } |
457 | 618 |
458 .toggle-on, .toggle-off | 619 .toggle-on, .toggle-off |
459 { | 620 { |
460 min-width: 42px; | 621 min-width: 42px; |
461 height: 100%; | 622 height: 100%; |
462 font-size: 11px; | 623 font-size: 11px; |
463 font-weight: 500; | 624 font-weight: 500; |
464 text-align: center; | 625 text-align: center; |
465 line-height: 25px; | 626 line-height: 23px; |
466 } | 627 } |
467 | 628 |
468 .toggle-on | 629 .toggle-on |
469 { | 630 { |
470 padding: 0px 30px 0px 10px; | 631 padding: 0px 30px 0px 10px; |
471 color: rgba(255,255,255, 0.8); | 632 color: rgba(255,255,255, 0.8); |
472 text-shadow: 1px 1px rgba(0,0,0,0.2); | 633 text-shadow: 1px 1px rgba(0,0,0,0.2); |
473 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); | 634 box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2); |
474 background: rgb(69,163,31); | 635 background: rgb(69,163,31); |
475 } | 636 } |
(...skipping 28 matching lines...) Expand all Loading... |
504 { | 665 { |
505 margin-top: -22px; | 666 margin-top: -22px; |
506 } | 667 } |
507 | 668 |
508 .off .toggle-blob | 669 .off .toggle-blob |
509 { | 670 { |
510 left: 0px; | 671 left: 0px; |
511 right: auto; | 672 right: auto; |
512 } | 673 } |
513 | 674 |
514 /* Adjust font size on smaller screens */ | 675 #donate |
515 @media (max-height: 800px) | 676 { |
516 { | 677 height: 21px; |
517 body | 678 display: inline-block; |
518 { | 679 margin: 15px 0px 2px 0px; |
519 font-size: 19px; | 680 font-size: 16px; |
520 } | 681 color: #003366; |
521 } | 682 cursor: pointer; |
522 | 683 font-weight: bold; |
523 @media (max-height: 750px) | 684 padding: 5px 18px; |
524 { | 685 text-decoration: none; |
525 body | 686 border-radius: 20px; |
526 { | 687 border: 1px solid #FF9933; |
527 font-size: 17px; | 688 overflow: hidden; |
528 } | 689 font-family: arial, sans-serif; |
529 } | 690 background-image: url(donate.png); |
530 | 691 background-repeat: repeat-x; |
531 @media (max-height: 700px) | 692 } |
532 { | 693 |
533 body | 694 footer |
534 { | 695 { |
535 font-size: 16px; | 696 margin: 0 auto 30px; |
536 } | 697 max-width: 960px; |
537 } | 698 text-align: center; |
| 699 } |
OLD | NEW |