OLD | NEW |
1 /* | 1 /* |
2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
3 * Copyright (C) 2006-present eyeo GmbH | 3 * Copyright (C) 2006-present 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 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 html | 47 html |
48 { | 48 { |
49 font-size: 16px; | 49 font-size: 16px; |
50 } | 50 } |
51 | 51 |
52 body | 52 body |
53 { | 53 { |
54 background-color: #F3F3F3; | 54 background-color: #F3F3F3; |
55 display: flex; | 55 display: flex; |
| 56 justify-content: center; |
56 margin: 1.2rem 0.3rem; | 57 margin: 1.2rem 0.3rem; |
57 font-family: "Source Sans Pro", sans-serif; | 58 font-family: "Source Sans Pro", sans-serif; |
58 font-size: 1.25rem; | 59 font-size: 1.25rem; |
59 color: #494949; | 60 color: #494949; |
60 } | 61 } |
61 | 62 |
62 h1 | 63 h1 |
63 { | 64 { |
64 font-size: 3rem; | 65 font-size: 3rem; |
65 font-weight: 300; | 66 font-weight: 300; |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 #sidebar | 413 #sidebar |
413 { | 414 { |
414 flex-shrink: 0; | 415 flex-shrink: 0; |
415 } | 416 } |
416 | 417 |
417 #sidebar .fixed | 418 #sidebar .fixed |
418 { | 419 { |
419 top: 1.2rem; | 420 top: 1.2rem; |
420 bottom: 0rem; | 421 bottom: 0rem; |
421 height: auto; | 422 height: auto; |
422 position: fixed; | |
423 } | 423 } |
424 | 424 |
425 #sidebar header | 425 #sidebar header |
426 { | 426 { |
427 text-align: right; | 427 text-align: right; |
428 margin-right: 2rem; | 428 margin-right: 2rem; |
429 } | 429 } |
430 | 430 |
431 html[dir="rtl"] #sidebar header | 431 html[dir="rtl"] #sidebar header |
432 { | 432 { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 li a[role="tab"][aria-selected] | 502 li a[role="tab"][aria-selected] |
503 { | 503 { |
504 -moz-border-start-color: #CDCDCD; | 504 -moz-border-start-color: #CDCDCD; |
505 -webkit-border-start-color: #CDCDCD; | 505 -webkit-border-start-color: #CDCDCD; |
506 font-weight: 700; | 506 font-weight: 700; |
507 background-color: #FFF; | 507 background-color: #FFF; |
508 } | 508 } |
509 | 509 |
510 #sidebar footer | 510 #sidebar footer |
511 { | 511 { |
512 bottom: 0px; | |
513 position: absolute; | |
514 width: 100%; | 512 width: 100%; |
515 } | 513 } |
516 | 514 |
517 #sidebar footer p | 515 #sidebar footer p |
518 { | 516 { |
519 display: flex; | 517 display: flex; |
520 justify-content: center; | 518 justify-content: center; |
521 margin: 1.2rem 0rem; | 519 margin: 1.2rem 0rem; |
522 } | 520 } |
523 | 521 |
| 522 /* This is a stopgap solution of footer overlapping tabs on low resolutions */ |
| 523 @media (min-height: 37rem) |
| 524 { |
| 525 #sidebar .fixed |
| 526 { |
| 527 position: fixed; |
| 528 } |
| 529 |
| 530 #sidebar footer |
| 531 { |
| 532 bottom: 0px; |
| 533 position: absolute; |
| 534 } |
| 535 } |
| 536 |
524 /* | 537 /* |
525 Main content | 538 Main content |
526 */ | 539 */ |
527 | 540 |
528 body[data-tab|="general"] #content-general, | 541 body[data-tab|="general"] #content-general, |
529 body[data-tab|="advanced"] #content-advanced, | 542 body[data-tab|="advanced"] #content-advanced, |
530 body[data-tab|="whitelist"] #content-whitelist, | 543 body[data-tab|="whitelist"] #content-whitelist, |
531 body[data-tab|="help"] #content-help | 544 body[data-tab|="help"] #content-help |
532 { | 545 { |
533 display: block; | 546 display: block; |
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1436 | 1449 |
1437 #hide-notification::after | 1450 #hide-notification::after |
1438 { | 1451 { |
1439 background-color: #099DD1; | 1452 background-color: #099DD1; |
1440 } | 1453 } |
1441 | 1454 |
1442 #hide-notification:hover::after | 1455 #hide-notification:hover::after |
1443 { | 1456 { |
1444 background-color: #5CBCE1; | 1457 background-color: #5CBCE1; |
1445 } | 1458 } |
OLD | NEW |