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