| Left: | ||
| Right: |
| LEFT | RIGHT |
|---|---|
| 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 { | 18 @font-face { |
| 19 font-family: 'CreteRound'; | 19 font-family: 'CreteRound'; |
| 20 font-style: normal; | 20 font-style: normal; |
| 21 src: url(fonts/CreteRound-Regular.otf); | 21 src: url(fonts/CreteRound-Regular.otf); |
| 22 src: local ('Ø'), | 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'); | 23 /*local ('Ø') forces using no local font called CreteRound*/ |
| 24 url(fonts/CreteRound-Regular.otf) format('otf'); | |
| 24 } | 25 } |
| 25 | 26 |
| 26 @font-face { | 27 @font-face { |
| 27 font-family: 'CreteRound'; | 28 font-family: 'CreteRound'; |
| 28 font-style: italic; | 29 font-style: italic; |
| 29 src: url(fonts/CreteRound-Italic.otf); | 30 src: url(fonts/CreteRound-Italic.otf); |
| 30 src: local ('Ø'), | 31 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 /*local ('Ø') forces using no local font called CreteRound*/ |
| 32 } | 33 url(fonts/CreteRound-Italic.otf) format('otf'); |
| 33 | |
| 34 * | |
| 35 { | |
| 36 margin: 0; | |
| 37 padding: 0; | |
| 38 } | 34 } |
| 39 | 35 |
| 40 body | 36 body |
| 41 { | 37 { |
| 42 font-family: Helvetica, Arial, sans-serif; | 38 font-family: Helvetica, Arial, sans-serif; |
| 43 font-size: 15px; | 39 font-size: 15px; |
| 44 line-height: 140%; | 40 line-height: 140%; |
| 45 color: #7f776b; | 41 color: #7f776b; |
| 46 background-color: #f8f6f2; | 42 background-color: #f8f6f2; |
| 47 background-image: url(background-main.png); | 43 background-image: url(background-main.png); |
| 44 margin: 0; | |
| 45 padding: 0; | |
| 48 } | 46 } |
| 49 | 47 |
| 50 a, a:link, a:visited | 48 a, a:link, a:visited |
| 51 { | 49 { |
| 52 color: #5a84b3; | 50 color: #5a84b3; |
| 53 text-decoration: underline; | 51 text-decoration: underline; |
| 52 } | |
| 53 | |
| 54 a:hover | |
| 55 { | |
| 56 text-decoration: none; | |
| 57 } | |
| 58 | |
| 59 button | |
| 60 { | |
| 54 cursor: pointer; | 61 cursor: pointer; |
|
Thomas Greiner
2013/08/07 14:17:54
Should not be necessary. Anchor tags have cursor:p
| |
| 55 } | 62 } |
| 56 | 63 |
| 57 button | 64 ul |
| 58 { | 65 { |
| 59 cursor: pointer; | 66 margin: 0; |
| 67 padding: 0; | |
| 60 } | 68 } |
| 61 | 69 |
| 62 li | 70 li |
| 63 { | 71 { |
| 72 margin: 0; | |
| 73 padding: 0; | |
| 64 list-style-type: none; | 74 list-style-type: none; |
| 65 } | 75 } |
| 66 | 76 |
| 67 header | 77 header |
| 68 { | 78 { |
| 69 height: 200px; | |
| 70 background-image: url(background.png); | 79 background-image: url(background.png); |
| 71 background-repeat: repeat-x; | 80 background-repeat: repeat-x; |
| 72 width: 100%; | 81 width: 100%; |
| 73 padding: 40px 0 0 0; | 82 padding: 40px 0 0 0; |
| 74 } | 83 } |
| 75 | 84 |
| 76 header h1 | 85 header h1 |
| 77 { | 86 { |
| 78 font-size: 24px; | 87 font-size: 24px; |
| 79 font-weight: normal; | 88 font-weight: normal; |
| 80 margin: 0 auto; | |
| 81 color: #57ab5b; | 89 color: #57ab5b; |
| 82 text-align: center; | 90 text-align: center; |
| 83 margin: 21px auto; | 91 margin: 21px auto; |
| 84 padding: 16px 0 14px 0; | 92 padding: 16px 0 14px 0; |
| 85 border: 1px #57ab5b; | 93 border: 1px #57ab5b; |
| 86 border-style: dashed none; | 94 border-style: dashed none; |
| 87 | |
| 88 /* border parallel fix - 957px is the value | 95 /* border parallel fix - 957px is the value |
| 89 * next to 960px(page witdth) which makes | 96 * closest to 960px(page width) 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"
| |
| 90 * the dashed border parallel | 97 * the dashed border parallel |
| 91 */ | 98 */ |
| 92 max-width: 957px; | 99 max-width: 957px; |
| 93 } | |
| 94 | |
| 95 strong | |
| 96 { | |
| 97 font-weight: 600; | |
| 98 } | 100 } |
| 99 | 101 |
| 100 h1,h2,h3 | 102 h1,h2,h3 |
| 101 { | 103 { |
| 102 font-family: CreteRound, Helvetica, Arial, sans-serif; | 104 font-family: CreteRound, Helvetica, Arial, sans-serif; |
| 103 } | 105 } |
| 104 | 106 |
| 105 h2 | 107 h2 |
| 106 { | 108 { |
| 107 font-size: 26px; | 109 font-size: 26px; |
| 108 font-weight: lighter; | 110 font-weight: lighter; |
| 109 color: #968d81; | 111 color: #968d81; |
| 110 line-height: 28px; | 112 line-height: 28px; |
| 111 text-align: center; | 113 text-align: center; |
| 112 | 114 margin: 0; |
| 115 padding: 0; | |
| 113 } | 116 } |
| 114 | 117 |
| 115 h3 | 118 h3 |
| 116 { | 119 { |
| 117 font-size: 22px; | 120 font-size: 22px; |
| 118 color: #7F776B; | 121 color: #7F776B; |
| 119 font-weight: normal; | 122 font-weight: normal; |
| 120 margin: 0 0 10px 0; | 123 margin: 0 0 10px 0; |
| 124 padding: 0; | |
| 121 line-height: 24px; | 125 line-height: 24px; |
| 122 } | 126 } |
| 123 | 127 |
| 124 h4 | 128 h4 |
| 125 { | 129 { |
| 126 font-size: 15px; | 130 font-size: 15px; |
| 127 color: #7f776b; | 131 color: #7f776b; |
| 128 font-weight: normal; | 132 font-weight: normal; |
| 129 text-align: center; | 133 text-align: center; |
| 130 text-decoration: underline; | 134 margin: 0; |
| 135 padding: 0; | |
| 131 } | 136 } |
| 132 | 137 |
| 133 section | 138 section |
| 134 { | 139 { |
| 135 margin: 0 auto; | 140 margin: 0 auto; |
| 136 margin-bottom: 30px; | 141 margin-bottom: 30px; |
| 137 max-width: 760px; | 142 max-width: 760px; |
| 138 background-image: url(background.png); | 143 background-image: url(background.png); |
| 139 padding: 40px 100px; | 144 padding: 40px 100px; |
| 140 } | 145 } |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 159 { | 164 { |
| 160 max-width: 960px; | 165 max-width: 960px; |
| 161 padding: 40px 0px 0px 0px; | 166 padding: 40px 0px 0px 0px; |
| 162 } | 167 } |
| 163 | 168 |
| 164 #can-do-more > h2 | 169 #can-do-more > h2 |
| 165 { | 170 { |
| 166 margin: 0 100px; | 171 margin: 0 100px; |
| 167 } | 172 } |
| 168 | 173 |
| 169 .opacity-zero | 174 .fade |
|
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
| 170 { | 175 { |
| 171 opacity: 0 !important; | 176 opacity: 0; |
|
Thomas Greiner
2013/08/07 14:17:54
Use more targeted selectors instead of !important.
| |
| 172 } | 177 } |
| 173 | 178 |
| 174 .opacity-one | 179 .hide |
|
Thomas Greiner
2013/08/07 14:17:54
Don't call classes like that. The class name shoul
| |
| 175 { | 180 { |
| 176 opacity: 1 !important; | 181 display: none; |
|
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 } | 182 } |
| 188 | 183 |
| 189 #can-do-more-overview | 184 #can-do-more-overview |
| 190 { | 185 { |
| 186 opacity: 1; | |
| 187 max-height: 10000px; | |
| 191 max-width: 760px; | 188 max-width: 760px; |
| 192 min-height: 140px; | |
| 193 margin: 30px 100px 0 100px; | 189 margin: 30px 100px 0 100px; |
| 194 font-size: 0px; | 190 font-size: 0px; |
|
Thomas Greiner
2013/08/07 14:17:54
0px? What's that supposed to do?
| |
| 195 opacity: 1; | 191 /* hides appearing spacings because of |
| 192 * using display: inline-block*/ | |
| 196 cursor: pointer; | 193 cursor: pointer; |
| 197 -moz-transition: opacity 0.5s ease-in-out; | 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
| |
| 198 transition: opacity 0.5s ease-in-out; | 195 -moz-transition: opacity 0.3s ease-in-out; |
| 196 -webkit-transition: opacity 0.3s ease-in-out; | |
| 197 } | |
| 198 | |
| 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 | |
| 200 { | |
| 201 opacity: 0; | |
| 202 max-height: 0px; | |
| 203 width: 0; | |
| 204 margin: 0; | |
| 205 padding: 0; | |
| 206 transition: none; | |
| 207 -moz-transition: none; | |
| 208 -webkit-transition: none; | |
| 209 -o-transition: none; | |
|
Wladimir Palant
2013/10/05 09:15:59
We don't set -o-transition above, we shouldn't nee
| |
| 210 } | |
| 211 | |
| 212 #can-do-more-overview > li:hover | |
| 213 { | |
| 214 background-image: url("background-main.png"); | |
| 215 text-decoration: none; | |
| 199 } | 216 } |
| 200 | 217 |
| 201 #can-do-more-overview > li | 218 #can-do-more-overview > li |
| 202 { | 219 { |
| 203 width: 230px; | 220 width: 230px; |
| 204 height: 115px; | 221 height: 115px; |
| 205 display: inline-block; | 222 display: inline-block; |
| 206 border-right: 1px dashed #c7c6c2; | 223 border-right: 1px dashed #c7c6c2; |
| 207 padding: 20px 10px 0 10px; | 224 padding: 20px 10px 0 10px; |
| 208 vertical-align: top; | 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 */ | |
| 209 } | 231 } |
| 210 | 232 |
| 211 #can-do-more-overview > li > div | 233 #can-do-more-overview > li > div |
| 212 { | 234 { |
| 213 width: 59px; | 235 width: 59px; |
| 214 height: 59px; | 236 height: 59px; |
| 215 display: block; | 237 display: block; |
| 216 margin: 0 auto; | 238 margin: 0 auto; |
| 217 } | 239 } |
| 218 | 240 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 239 } | 261 } |
| 240 | 262 |
| 241 .feature-tracking-image | 263 .feature-tracking-image |
| 242 { | 264 { |
| 243 background-image: url(features/tracking.png); | 265 background-image: url(features/tracking.png); |
| 244 background-repeat: no-repeat; | 266 background-repeat: no-repeat; |
| 245 } | 267 } |
| 246 | 268 |
| 247 #can-do-more-expanded | 269 #can-do-more-expanded |
| 248 { | 270 { |
| 271 opacity: 0; | |
| 272 max-height: 0; | |
| 273 } | |
| 274 | |
| 275 #can-do-more.expanded > #can-do-more-expanded | |
| 276 { | |
| 277 opacity: 1; | |
| 278 max-height: 10000px; | |
| 249 margin: 30px 100px 0 100px; | 279 margin: 30px 100px 0 100px; |
| 250 display: none; | 280 transition: opacity 0.5s ease-in-out; |
| 251 opacity: 0; | |
| 252 -moz-transition: opacity 0.5s ease-in-out; | 281 -moz-transition: opacity 0.5s ease-in-out; |
| 253 transition: opacity 0.5s ease-in-out; | 282 -webkit-transition: opacity 0.5s ease-in-out; |
| 254 } | 283 transition-delay: 0.2s; |
| 255 | 284 -webkit-transition-delay: 0.2s; |
|
Wladimir Palant
2013/10/05 09:15:59
-moz-transition-delay seems to be missing here. Th
| |
| 256 #features | 285 } |
| 257 { | 286 |
| 258 display: block; | 287 #features, .feature:not([hidden]), .feature-image, .feature-description, .featur e-description, .feature-description-textblock, .feature-description-textblock > span, .feature-image |
| 288 { | |
| 289 width: 0; | |
| 290 height: 0; | |
| 291 margin: 0; | |
| 292 padding: 0; | |
| 293 transition: none; | |
| 294 -moz-transition: none; | |
| 295 -webkit-transition: none; | |
| 296 -o-transition: none; | |
| 297 } | |
| 298 | |
| 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 { | |
| 259 border-spacing: 10px; | 318 border-spacing: 10px; |
| 260 margin: 0px; | 319 margin: 0px; |
| 261 padding: 0px; | 320 padding: 0px; |
| 262 } | 321 } |
| 263 | 322 |
| 264 .feature:not([hidden]) | 323 #can-do-more.expanded .feature:not([hidden]) |
| 265 { | 324 { |
| 266 display: block; | 325 display: block; |
| 267 list-style-type: none; | 326 list-style-type: none; |
| 268 padding: 30px 0; | 327 padding: 30px 0; |
| 269 padding-bottom: 20px; | 328 padding-bottom: 20px; |
| 270 border-top: 1px dashed #c0bebb; | 329 border-top: 1px dashed #c0bebb; |
| 271 } | 330 } |
| 272 | 331 |
| 273 .feature-image, .feature-description | 332 #can-do-more.expanded .feature-image, #can-do-more.expanded .feature-description |
| 274 { | 333 { |
| 275 display: inline-block; | 334 display: inline-block; |
| 276 *display: inline; /* IE6 inline-block fix */ | 335 *display: inline; /* IE6 inline-block fix */ |
| 277 *zoom: 1; | 336 *zoom: 1; |
| 278 vertical-align: top; | 337 vertical-align: top; |
| 279 } | 338 } |
| 280 | 339 |
| 281 .feature-description | 340 #can-do-more.expanded .feature-description |
| 282 { | 341 { |
| 283 margin: 0px 0px 0 20px; | 342 margin: 0px 0px 0 20px; |
| 284 max-width: 625px; | 343 width: 625px; |
| 285 } | 344 max-width: 85%; |
| 286 | 345 } |
| 287 .feature-description-textblock | 346 |
| 288 { | 347 #can-do-more.expanded .feature-description-textblock |
| 289 max-width: 480px; | 348 { |
| 349 width: 480px; | |
| 350 max-width: 100%; | |
| 290 margin: 0 40px 0 0; | 351 margin: 0 40px 0 0; |
| 291 display: inline-block; | 352 display: inline-block; |
| 292 } | 353 } |
| 293 | 354 |
| 294 .feature-description-textblock > span | 355 #can-do-more.expanded .feature-description-textblock > span |
| 295 { | 356 { |
| 296 margin: 15px 0 0 0; | 357 margin: 15px 0 0 0; |
| 297 } | 358 } |
| 298 | 359 |
| 299 .feature-image | 360 #can-do-more.expanded .feature-image |
| 300 { | 361 { |
| 301 width: 59px; | 362 width: 59px; |
| 302 height: 59px; | 363 height: 59px; |
| 303 margin: 8px 0 10px 20px; | 364 margin: 8px 0 10px 20px; |
| 304 } | 365 } |
| 305 | 366 |
| 306 #activate-features | 367 #activate-features |
| 307 { | 368 { |
| 308 width: 100%; | 369 width: 100%; |
| 309 background-image: url("background-candomore.png"); | 370 background-image: url("background-candomore.png"); |
| 310 margin: 30px 0 0 0; | 371 margin: 30px 0 0 0; |
| 311 padding: 14px 0 14px 0; | 372 padding: 14px 0 14px 0; |
| 312 cursor: pointer; | 373 cursor: pointer; |
| 313 text-align: center; | 374 text-align: center; |
| 314 white-space: nowrap; | 375 white-space: nowrap; |
| 315 } | 376 } |
| 316 | 377 |
| 317 #activate-features-label | 378 #activate-features-label |
| 318 { | 379 { |
| 319 display: inline-block; | 380 display: inline-block; |
| 320 width: 88%; | 381 width: 86%; |
| 321 color: #fff; | 382 color: #fff; |
| 322 font-size: 22px; | 383 font-size: 22px; |
| 323 text-decoration: underline; | |
| 324 text-align: center; | 384 text-align: center; |
| 325 font-style: italic; | 385 font-style: italic; |
| 326 font-family: CreteRound, Helvetica, Arial, sans-serif; | 386 font-family: CreteRound, Helvetica, Arial, sans-serif; |
| 327 -moz-transition: opacity 0.5s ease-in-out; | 387 -moz-transition: opacity 0.5s ease-in-out; |
| 328 transition: opacity 0.5s ease-in-out; | 388 transition: opacity 0.5s ease-in-out; |
| 329 } | 389 } |
| 330 | 390 |
| 331 .arrow-down, .arrow-up | 391 #can-do-more.expanded #label-show-expanded |
| 332 { | 392 { |
| 333 width: 23px; | 393 display: block; |
| 334 height: 28px; | 394 } |
| 395 | |
| 396 #can-do-more.expanded #label-show-overview | |
| 397 { | |
| 398 display: none; | |
| 399 } | |
| 400 | |
| 401 #label-show-expanded | |
| 402 { | |
| 403 display: none; | |
| 404 } | |
| 405 | |
| 406 #label-show-overview | |
| 407 { | |
| 408 display: block; | |
| 409 } | |
| 410 | |
| 411 #activate-features-label:hover | |
|
Thomas Greiner
2013/10/05 15:51:19
This is a weird behavior. It's neither restricted
| |
| 412 { | |
| 413 color: #1f6822; | |
| 414 } | |
| 415 | |
| 416 #can-do-more.expanded .arrow | |
| 417 { | |
| 418 background-image: url("arrow-up.png"); | |
| 419 } | |
| 420 | |
| 421 .arrow | |
| 422 { | |
| 423 width: 29px; | |
| 424 height: 22px; | |
| 335 vertical-align: bottom; | 425 vertical-align: bottom; |
| 336 display: inline-block; | 426 display: inline-block; |
| 337 -moz-transition: opacity 0.5s ease-in-out; | 427 background-image: url("arrow-down.png"); |
| 338 transition: opacity 0.5s ease-in-out; | 428 } |
|
Thomas Greiner
2013/08/07 14:17:54
Doesn't seem to do anything.
| |
| 339 } | |
| 340 | |
| 341 .arrow-down | |
| 342 { | |
| 343 background-image: url("double-arrow-down.png"); | |
| 344 } | |
| 345 | |
| 346 .arrow-up | |
| 347 { | |
| 348 background-image: url("double-arrow-up.png"); | |
| 349 } | |
| 350 | |
| 351 | 429 |
| 352 #share | 430 #share |
| 353 { | 431 { |
| 354 background-image: url(background-share.png); | 432 background-image: url(background-share.png); |
| 355 padding: 50px 100px 40px 100px; | 433 padding: 50px 100px 40px 100px; |
| 356 max-width: 760px; | 434 max-width: 760px; |
| 357 text-align: center; | 435 text-align: center; |
| 358 font-family: CreteRound, Helvetica, Arial, sans-serif; | 436 font-family: CreteRound, Helvetica, Arial, sans-serif; |
| 359 } | 437 } |
| 360 | 438 |
| 361 #share h2 | 439 #share h2 |
| 362 { | 440 { |
| 363 color: #fff; | 441 color: #fff; |
| 364 margin: 0 0 30px 0; | 442 margin: 0 0 30px 0; |
| 365 } | 443 } |
| 366 | 444 |
| 367 #share h2 > a | 445 #share h2 > a |
| 368 { | 446 { |
| 369 color: #fff; | 447 color: #fff; |
| 370 text-decoration: underline; | 448 } |
| 449 | |
| 450 #share h2 > a:hover | |
| 451 { | |
| 452 color: #2e5075; | |
| 371 } | 453 } |
| 372 | 454 |
| 373 #share span | 455 #share span |
| 374 { | 456 { |
| 375 color: #bed1e6; | 457 color: #bed1e6; |
| 376 text-align: center; | 458 text-align: center; |
| 377 line-height: 34px; | 459 line-height: 34px; |
| 378 font-size: 22px; | 460 font-size: 22px; |
| 379 display: block; | 461 display: block; |
| 380 } | 462 } |
| 381 | 463 |
| 382 #donate-block span | 464 #donate:hover, .share-buttons a:hover |
| 383 { | 465 { |
| 384 margin: 15px 20px 10px 20px; | 466 -moz-box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 385 } | 467 -webkit-box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 386 | 468 box-shadow: 0px 0px 0px 2px #8ca7c4; |
| 387 #share-block span | 469 border-radius: 30px; |
| 388 { | 470 } |
| 389 margin: 8px 20px 10px 20px; | 471 |
| 472 #donate-block span, #share-block span | |
| 473 { | |
| 474 margin: 13px 20px 10px 20px; | |
| 390 } | 475 } |
|
Thomas Greiner
2013/08/07 14:17:54
It seems odd that those two margins differ. Those
| |
| 391 | 476 |
| 392 #donate-block, #share-block | 477 #donate-block, #share-block |
| 393 { | 478 { |
| 394 min-width: 250px; | 479 min-width: 250px; |
| 395 display: inline-block; | 480 display: inline-block; |
| 396 vertical-align: top; | 481 vertical-align: top; |
| 397 padding: 20px 0 0 0; | 482 padding: 20px 0 0 0; |
| 398 } | 483 } |
| 399 | 484 |
| 400 #donate-block | 485 #donate-block |
| 401 { | 486 { |
| 402 border: 1px dashed #37506d; | 487 border: 1px dashed #37506d; |
| 403 border-style: none dashed; | 488 border-style: none dashed; |
| 404 width: 50%; | 489 width: 50%; |
| 405 } | 490 } |
| 406 | 491 |
| 407 #share-block | 492 #share-block |
| 408 { | 493 { |
| 409 border-right: 1px dashed #37506d; | 494 border-right: 1px dashed #37506d; |
| 410 width: 49%; | 495 width: 49%; |
| 411 } | 496 } |
| 412 | 497 |
| 413 #share-buttons | 498 .share-buttons |
| 414 { | 499 { |
| 415 width: auto; | |
|
Thomas Greiner
2013/08/07 14:17:54
Doesn't seem necessary.
| |
| 416 margin: 6px 0 0 0; | 500 margin: 6px 0 0 0; |
| 417 min-height: 50px; | |
| 418 cursor: pointer; | 501 cursor: pointer; |
| 419 display: inline-block; | |
| 420 vertical-align: top; | 502 vertical-align: top; |
| 421 } | 503 /* because inline block creates |
| 422 | 504 * space if not captured with |
| 423 #share-buttons > a | 505 * font-size and line-height 0px |
| 506 */ | |
| 507 font-size: 0px; | |
| 508 line-height: 0px; | |
| 509 } | |
| 510 | |
| 511 .share-buttons > a | |
| 424 { | 512 { |
| 425 width: 50px; | 513 width: 50px; |
| 426 height: 50px; | 514 height: 50px; |
| 427 margin: 0 14px 0 0; | 515 margin: 0 8px; |
| 428 text-decoration: none; | 516 text-decoration: none; |
| 429 display: inline-block; | 517 display: inline-block; |
| 430 } | 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 } | |
| 431 | 545 |
| 432 #share-facebook | 546 #share-facebook |
| 433 { | 547 { |
| 434 background-image: url(social/facebook.png); | 548 background-image: url(social/facebook.png); |
| 435 background-repeat: no-repeat; | 549 background-repeat: no-repeat; |
| 436 } | 550 } |
| 437 | 551 |
| 438 #share-twitter | 552 #share-twitter |
| 439 { | 553 { |
| 440 background-image: url(social/twitter.png); | 554 background-image: url(social/twitter.png); |
| 441 background-repeat: no-repeat; | 555 background-repeat: no-repeat; |
| 442 } | 556 } |
| 443 | 557 |
| 444 #share-gplus | 558 #share-gplus |
| 445 { | 559 { |
| 446 background-image: url(social/googleplus.png); | 560 background-image: url(social/googleplus.png); |
| 447 background-repeat: no-repeat; | 561 background-repeat: no-repeat; |
| 448 margin: 0 !important; | 562 } |
|
Thomas Greiner
2013/08/07 14:17:54
You don't need that if you just replace line 427 w
| |
| 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; | |
| 449 } | 574 } |
| 450 | 575 |
| 451 #dataCorruptionWarning | 576 #dataCorruptionWarning |
| 452 { | 577 { |
| 453 font-size: 160%; | 578 font-size: 160%; |
| 454 border: 3px dashed red; | 579 border: 3px dashed red; |
| 455 text-align: center; | 580 text-align: center; |
| 456 } | 581 } |
| 457 | 582 |
| 458 #social ul | 583 #social ul |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 562 height: 22px; | 687 height: 22px; |
| 563 margin: 32px 0px 7px 0px; | 688 margin: 32px 0px 7px 0px; |
| 564 border-radius: 9999px; | 689 border-radius: 9999px; |
| 565 border: 1px solid #999; | 690 border: 1px solid #999; |
| 566 overflow: hidden; | 691 overflow: hidden; |
| 567 -moz-user-select: none; | 692 -moz-user-select: none; |
| 568 -webkit-user-select: none; | 693 -webkit-user-select: none; |
| 569 user-select: none; | 694 user-select: none; |
| 570 } | 695 } |
| 571 | 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 | |
| 572 .toggle:active | 704 .toggle:active |
| 573 { | 705 { |
| 574 cursor: wait; | 706 cursor: wait; |
| 575 } | 707 } |
| 576 | 708 |
| 577 .toggle-on, .toggle-off | 709 .toggle-on, .toggle-off |
| 578 { | 710 { |
| 579 min-width: 42px; | 711 min-width: 42px; |
| 580 height: 100%; | 712 height: 100%; |
| 581 font-size: 11px; | 713 font-size: 11px; |
| 582 font-weight: 500; | 714 font-weight: 500; |
| 583 text-align: center; | 715 text-align: center; |
| 584 line-height: 23px; | 716 line-height: 23px; |
| 717 border-radius: 9999px; | |
| 718 -moz-border-radius: 9999px; | |
| 719 -webkit-border-radius: 9999px; | |
| 585 } | 720 } |
| 586 | 721 |
| 587 .toggle-on | 722 .toggle-on |
| 588 { | 723 { |
| 589 padding: 0px 30px 0px 10px; | 724 padding: 0px 30px 0px 10px; |
| 590 color: rgba(255,255,255, 0.8); | 725 color: rgba(255,255,255, 0.8); |
| 591 text-shadow: 1px 1px rgba(0,0,0,0.2); | 726 text-shadow: 1px 1px rgba(0,0,0,0.2); |
| 592 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); |
| 593 background: rgb(69,163,31); | 728 background: rgb(69,163,31); |
| 594 } | 729 } |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 605 } | 740 } |
| 606 | 741 |
| 607 .toggle-blob | 742 .toggle-blob |
| 608 { | 743 { |
| 609 position: absolute; | 744 position: absolute; |
| 610 top: 0px; | 745 top: 0px; |
| 611 right: 0px; | 746 right: 0px; |
| 612 height: 100%; | 747 height: 100%; |
| 613 width: 22px; | 748 width: 22px; |
| 614 border-radius: 50px; | 749 border-radius: 50px; |
| 615 box-shadow: 1px 1px 2px #888; | |
| 616 background: #cfcfcf; | 750 background: #cfcfcf; |
| 617 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); | 751 background: -moz-linear-gradient(bottom, #cfcfcf 0%, #f5f5f5 100%); |
| 618 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); | 752 background: -webkit-linear-gradient(bottom, #cfcfcf 0%,#f5f5f5 100%); |
| 619 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; | |
| 620 } | 755 } |
| 621 | 756 |
| 622 .off .toggle-on | 757 .off .toggle-on |
| 623 { | 758 { |
| 624 margin-top: -22px; | 759 margin-top: -22px; |
| 625 } | 760 } |
| 626 | 761 |
| 627 .off .toggle-blob | 762 .off .toggle-blob |
| 628 { | 763 { |
| 629 left: 0px; | 764 left: 0px; |
| 630 right: auto; | 765 right: auto; |
| 631 } | 766 } |
| 632 | 767 |
| 633 #donate | 768 #donate |
| 634 { | 769 { |
| 635 height: 21px; | 770 height: 21px; |
| 636 display: inline-block; | 771 display: inline-block; |
| 637 margin: 15px 0px 0px 0px; | 772 margin: 15px 0px 2px 0px; |
| 638 font-size: 16px; | 773 font-size: 16px; |
| 639 color: #003366; | 774 color: #003366; |
| 640 cursor: pointer; | 775 cursor: pointer; |
| 641 font-weight: bold; | 776 font-weight: bold; |
| 642 padding: 5px 18px; | 777 padding: 5px 18px; |
| 643 text-decoration: none; | 778 text-decoration: none; |
| 644 border-radius: 20px; | 779 border-radius: 20px; |
| 645 border: 1px solid #FF9933; | 780 border: 1px solid #FF9933; |
| 646 overflow: hidden; | 781 overflow: hidden; |
| 647 font-family: arial, sans-serif; | 782 font-family: arial, sans-serif; |
| 648 background-image: url(donate.png); | 783 background-image: url(donate.png); |
| 649 background-repeat: repeat-x; | 784 background-repeat: repeat-x; |
| 650 } | 785 } |
| 786 | |
| 787 footer | |
| 788 { | |
| 789 margin: 0 auto 30px; | |
| 790 max-width: 960px; | |
| 791 text-align: center; | |
| 792 } | |
| LEFT | RIGHT |