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 @namespace url("http://www.w3.org/1999/xhtml"); | |
19 | |
20 @media not handheld | |
21 { | |
22 body | |
23 { | |
24 font-size: 130%; | |
25 } | |
26 } | |
27 | |
28 /** This should be unnecessary in Gecko 2.0 and above. */ | 18 /** This should be unnecessary in Gecko 2.0 and above. */ |
29 *[hidden] | 19 *[hidden] |
30 { | 20 { |
31 display: none; | 21 display: none; |
32 } | 22 } |
33 | 23 |
34 body | 24 body |
35 { | 25 { |
36 background-image: url(abp-icon-big.png); | 26 font-family: Arial, Helvetica, sans-serif; |
| 27 font-size: 14px; |
| 28 line-height: 140%; |
| 29 color: #000000; |
| 30 background-color: #f8f6f2; |
| 31 background-image: url(/skin/background.png); |
| 32 margin: 0 auto; |
| 33 padding: 0; |
| 34 max-width: 900px; |
| 35 } |
| 36 |
| 37 a:link, a:visited |
| 38 { |
| 39 color: #7d7d7d; |
| 40 } |
| 41 |
| 42 button, .arrow |
| 43 { |
| 44 cursor: pointer; |
| 45 } |
| 46 |
| 47 header, p |
| 48 { |
| 49 margin: 15px 0 5px; |
| 50 } |
| 51 |
| 52 #content |
| 53 { |
| 54 padding: 0 90px; |
| 55 } |
| 56 |
| 57 header |
| 58 { |
| 59 padding-left: 148px; |
| 60 background-image: url(/skin/abp-icon-big.png); |
| 61 background-position: 0% 50%; |
37 background-repeat: no-repeat; | 62 background-repeat: no-repeat; |
38 background-position: 95% 5%; | 63 min-height: 128px; |
39 font-family: Arial,sans-serif; | 64 vertical-align: middle; |
40 } | 65 line-height: 1; |
41 | 66 |
42 .sectionTitle | 67 display: -webkit-box; |
43 { | 68 -webkit-box-orient: vertical; |
| 69 -webkit-box-pack: center; |
| 70 |
| 71 display: -moz-box; |
| 72 -moz-box-orient: vertical; |
| 73 -moz-box-pack: center; |
| 74 |
| 75 display: -o-box; |
| 76 -o-box-orient: vertical; |
| 77 -o-box-pack: center; |
| 78 |
| 79 display: -ms-box; |
| 80 -ms-box-orient: vertical; |
| 81 -ms-box-pack: center; |
| 82 |
| 83 display: box; |
| 84 box-orient: vertical; |
| 85 box-pack: center; |
| 86 } |
| 87 |
| 88 header h1 |
| 89 { |
| 90 font-size: 40px; |
| 91 font-weight: normal; |
| 92 margin: 0; |
| 93 } |
| 94 |
| 95 #features |
| 96 { |
| 97 display: block; |
| 98 border-spacing: 10px; |
| 99 margin: 0px; |
| 100 padding: 0px; |
| 101 padding-bottom: 120px; |
| 102 white-space: nowrap; |
| 103 } |
| 104 |
| 105 #features-title |
| 106 { |
| 107 font-size: 22px; |
| 108 color: #cc0000; |
| 109 margin: 30px 0px 20px; |
| 110 } |
| 111 |
| 112 #features-title::after |
| 113 { |
| 114 content: ":"; |
| 115 } |
| 116 |
| 117 .feature |
| 118 { |
| 119 display: block; |
| 120 list-style-type: none; |
| 121 padding-bottom: 20px; |
| 122 } |
| 123 |
| 124 .feature-image, .feature-description |
| 125 { |
| 126 display: inline-block; |
| 127 *display: inline; /* IE6 inline-block fix */ |
| 128 *zoom: 1; |
| 129 vertical-align: top; |
| 130 } |
| 131 |
| 132 .feature-description |
| 133 { |
| 134 width: 550px; |
| 135 margin: 0px 10px; |
| 136 } |
| 137 |
| 138 .feature-title |
| 139 { |
| 140 color: black; |
44 font-weight: bold; | 141 font-weight: bold; |
45 } | 142 font-size: 120%; |
46 | 143 } |
47 #listNameContainer, | 144 |
48 #listNone | 145 .feature-title::after |
49 { | 146 { |
50 margin: 1em 2em; | 147 content: ":"; |
51 } | 148 } |
52 | 149 |
53 #listNone | 150 .feature-text |
54 { | 151 { |
55 font-style: italic; | 152 margin: 7px 0px; |
56 } | 153 white-space: normal; |
57 | 154 } |
58 #acceptableAds | 155 |
59 { | 156 .feature-image |
60 font-size: 80%; | 157 { |
61 font-weight: bold; | 158 width: 57px; |
62 } | 159 height: 57px; |
63 #acceptableAds > * | 160 } |
64 { | 161 |
65 font-weight: normal; | 162 #feature-typo .feature-image |
66 } | 163 { |
67 | 164 background-image: url(/skin/features/typo.png); |
68 .sectionContainer | 165 } |
69 { | 166 |
70 margin: 1em 2em; | 167 #feature-malware .feature-image |
71 } | 168 { |
| 169 background-image: url(/skin/features/malware.png); |
| 170 } |
| 171 |
| 172 #feature-social .feature-image |
| 173 { |
| 174 background-image: url(/skin/features/social.png); |
| 175 } |
| 176 |
| 177 #feature-tracking .feature-image |
| 178 { |
| 179 background-image: url(/skin/features/tracking.png); |
| 180 } |
| 181 |
| 182 .feature button |
| 183 { |
| 184 cursor: pointer; |
| 185 position: relative; |
| 186 top: 0px; |
| 187 padding: 5px 10px; |
| 188 *padding: 2px 3px; |
| 189 font-weight: none; |
| 190 font-size: inherit; |
| 191 color: white; |
| 192 text-shadow: 2px 2px 2px #327d14; |
| 193 border: none; |
| 194 border-radius: 3px; |
| 195 box-shadow: 0 1px 0 0 #486c15, 0 2px 0 0 #517422; |
| 196 background-color: #62c52b; |
| 197 background: -webkit-linear-gradient(top, #62c52b, #4f9d22); |
| 198 background: -moz-linear-gradient(top, #62c52b, #4f9d22); |
| 199 background: -o-linear-gradient(top, #62c52b, #4f9d22); |
| 200 background: -ms-linear-gradient(top, #62c52b, #4f9d22); |
| 201 background: linear-gradient(top, #62c52b, #4f9d22); |
| 202 -webkit-transition: box-shadow 0.3s ease; |
| 203 -moz-transition: box-shadow 0.3s ease; |
| 204 -o-transition: box-shadow 0.3s ease; |
| 205 -ms-transition: box-shadow 0.3s ease; |
| 206 transition: box-shadow 0.3s ease; |
| 207 } |
| 208 |
| 209 .feature button:hover |
| 210 { |
| 211 box-shadow: 0px 2px 7px #486c15, 0 1px 0 0 #486c15; |
| 212 } |
| 213 |
| 214 .feature button:active |
| 215 { |
| 216 top: 3px; |
| 217 top: 0px\9; |
| 218 box-shadow: 0px 0px 7px #486c15; |
| 219 background-color: #4f9d22; |
| 220 background: -webkit-linear-gradient(bottom, #62c52b, #4f9d22); |
| 221 background: -moz-linear-gradient(bottom, #62c52b, #4f9d22); |
| 222 background: -o-linear-gradient(bottom, #62c52b, #4f9d22); |
| 223 background: -ms-linear-gradient(bottom, #62c52b, #4f9d22); |
| 224 background: linear-gradient(bottom, #62c52b, #4f9d22); |
| 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 } |
| 282 |
| 283 .arrow |
| 284 { |
| 285 width: 0; |
| 286 height: 0; |
| 287 border: 30px solid transparent; |
| 288 border-top-color: #000; |
| 289 } |
| 290 |
| 291 footer |
| 292 { |
| 293 position: fixed; |
| 294 bottom: 0; |
| 295 left: 0; |
| 296 right: 0; |
| 297 padding: 70px 0 0; |
| 298 text-align: center; |
| 299 background: -webkit-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 2
55, 1) 50px); |
| 300 background: -moz-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255,
1) 50px); |
| 301 background: -o-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1
) 50px); |
| 302 background: -ms-linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255,
1) 50px); |
| 303 background: linear-gradient(rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 5
0px); |
| 304 } |
| 305 |
| 306 footer h1 |
| 307 { |
| 308 margin: 0; |
| 309 font-size: 18px; |
| 310 color: #666; |
| 311 position: fixed; |
| 312 bottom: 70px; |
| 313 left: 0; |
| 314 right: 0; |
| 315 -webkit-transition: opacity .3s ease; |
| 316 -moz-transition: opacity .3s ease; |
| 317 -o-transition: opacity .3s ease; |
| 318 -ms-transition: opacity .3s ease; |
| 319 transition: opacity .3s ease; |
| 320 opacity: 1; |
| 321 } |
| 322 |
| 323 #social ul |
| 324 { |
| 325 list-style: none; |
| 326 display: inline-block; |
| 327 padding: 0; |
| 328 margin: 0; |
| 329 } |
| 330 |
| 331 #social:hover h1 |
| 332 { |
| 333 opacity: 0; |
| 334 } |
| 335 |
| 336 #social ul:hover li { |
| 337 opacity: 0.3; |
| 338 } |
| 339 |
| 340 #social ul li |
| 341 { |
| 342 display: inline-block; |
| 343 margin: 0px 5px; |
| 344 -webkit-transition: opacity .5s ease, bottom .3s ease; |
| 345 -moz-transition: opacity .5s ease, bottom .3s ease; |
| 346 -o-transition: opacity .5s ease, bottom .3s ease; |
| 347 -ms-transition: opacity .5s ease, bottom .3s ease; |
| 348 transition: opacity .5s ease, bottom .3s ease; |
| 349 position: relative; |
| 350 bottom: -30px; |
| 351 } |
| 352 |
| 353 #social ul li:hover |
| 354 { |
| 355 opacity: 1.0; |
| 356 bottom: 0px; |
| 357 } |
| 358 |
| 359 .share-button |
| 360 { |
| 361 display: inline-block; |
| 362 width: 82px; |
| 363 height: 82px; |
| 364 } |
| 365 |
| 366 #share-facebook |
| 367 { |
| 368 background-image: url(/skin/social/facebook.png); |
| 369 } |
| 370 |
| 371 #share-twitter |
| 372 { |
| 373 background-image: url(/skin/social/twitter.png); |
| 374 } |
| 375 |
| 376 #share-gplus |
| 377 { |
| 378 background-image: url(/skin/social/gplus.png); |
| 379 } |
| 380 |
| 381 #glass-pane, #share-popup |
| 382 { |
| 383 visibility: hidden; |
| 384 opacity: 0; |
| 385 -webkit-transition-property: opacity, visibility; |
| 386 -moz-transition-property: opacity, visibility; |
| 387 -o-transition-property: opacity, visibility; |
| 388 -ms-transition-property: opacity, visibility; |
| 389 transition-property: opacity, visibility; |
| 390 } |
| 391 |
| 392 #glass-pane |
| 393 { |
| 394 position: fixed; |
| 395 top: 0; |
| 396 right: 0; |
| 397 bottom: 0; |
| 398 left: 0; |
| 399 background: rgba(0, 0, 0, 0.5) url(/skin/ajax-loader.gif) no-repeat 50% 50%; |
| 400 z-index: 101; |
| 401 |
| 402 -webkit-transition-duration: 0.2s; |
| 403 -moz-transition-duration: 0.2s; |
| 404 -o-transition-duration: 0.2s; |
| 405 -ms-transition-duration: 0.2s; |
| 406 transition-duration: 0.2s; |
| 407 } |
| 408 |
| 409 #share-popup |
| 410 { |
| 411 position: absolute; |
| 412 top: 50%; |
| 413 left: 50%; |
| 414 border: none; |
| 415 -webkit-transition-delay: 0.1s; |
| 416 -moz-transition-delay: 0.1s; |
| 417 -o-transition-delay: 0.1s; |
| 418 -ms-transition-delay: 0.1s; |
| 419 transition-delay: 0.1s; |
| 420 } |
| 421 |
| 422 #glass-pane.visible, #share-popup.visible |
| 423 { |
| 424 visibility: visible; |
| 425 opacity: 1; |
| 426 } |
| 427 |
| 428 #share-popup.visible |
| 429 { |
| 430 -webkit-transition-duration: 0.15s; |
| 431 -moz-transition-duration: 0.15s; |
| 432 -o-transition-duration: 0.15s; |
| 433 -ms-transition-duration: 0.15s; |
| 434 transition-duration: 0.15s; |
| 435 } |
| 436 |
| 437 /* Firefox-specific code */ |
| 438 #feature-typo |
| 439 { |
| 440 display: none; |
| 441 } |
| 442 |
| 443 html.firefox #feature-typo |
| 444 { |
| 445 display: block; |
| 446 } |
| 447 |
| 448 /* Adjust font size on smaller screens */ |
| 449 @media (max-height: 800px) |
| 450 { |
| 451 body |
| 452 { |
| 453 font-size: 19px; |
| 454 } |
| 455 } |
| 456 |
| 457 @media (max-height: 750px) |
| 458 { |
| 459 body |
| 460 { |
| 461 font-size: 17px; |
| 462 } |
| 463 } |
| 464 |
| 465 @media (max-height: 700px) |
| 466 { |
| 467 body |
| 468 { |
| 469 font-size: 16px; |
| 470 } |
| 471 } |
OLD | NEW |