LEFT | RIGHT |
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-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 position: relative; | 340 position: relative; |
341 } | 341 } |
342 | 342 |
343 #content-wrapper > div | 343 #content-wrapper > div |
344 { | 344 { |
345 display: none; | 345 display: none; |
346 } | 346 } |
347 | 347 |
348 body[data-tab|="general"] #content-general, | 348 body[data-tab|="general"] #content-general, |
349 body[data-tab|="advanced"] #content-advanced, | 349 body[data-tab|="advanced"] #content-advanced, |
| 350 body[data-tab|="whitelist"] #content-whitelist, |
350 body[data-tab|="help"] #content-help | 351 body[data-tab|="help"] #content-help |
351 { | 352 { |
352 display: block; | 353 display: block; |
353 } | 354 } |
354 | 355 |
355 div.button | 356 div.button |
356 { | 357 { |
357 cursor: pointer; | 358 cursor: pointer; |
358 display: flex; | 359 display: flex; |
359 } | 360 } |
(...skipping 30 matching lines...) Expand all Loading... |
390 white-space: nowrap; | 391 white-space: nowrap; |
391 } | 392 } |
392 | 393 |
393 .table:not(.list):not(.cols) li | 394 .table:not(.list):not(.cols) li |
394 { | 395 { |
395 padding-top: 0px; | 396 padding-top: 0px; |
396 padding-bottom: 6px; | 397 padding-bottom: 6px; |
397 } | 398 } |
398 | 399 |
399 .table.list li:nth-of-type(odd), | 400 .table.list li:nth-of-type(odd), |
400 .table.cols li:nth-of-type(odd), | 401 .table.cols li:nth-of-type(odd):not([role="menuitem"]), |
401 .table li.empty-placeholder | 402 .table li.empty-placeholder |
402 { | 403 { |
403 background-color: #F5F5F5; | 404 background-color: #F5F5F5; |
404 } | 405 } |
405 | 406 |
406 .table label | 407 .table label |
407 { | 408 { |
408 vertical-align: top; | 409 vertical-align: top; |
409 } | 410 } |
410 | 411 |
411 .table.cols | 412 .table.cols |
412 { | 413 { |
413 border-bottom: 1px solid #CDCDCD; | 414 border-bottom: 1px solid #CDCDCD; |
414 border-top: 1px solid #CDCDCD; | 415 border-top: 1px solid #CDCDCD; |
415 } | 416 } |
416 | 417 |
417 button[disabled="true"] | 418 button[role="checkbox"][disabled] |
418 { | 419 { |
419 border-radius: 2px; | 420 border-radius: 2px; |
420 background-color: #ccc; | 421 background-color: #ccc; |
421 } | 422 } |
422 | 423 |
423 .table button.delete | 424 .table button.delete |
424 { | 425 { |
425 background-color: transparent; | 426 background-color: transparent; |
426 background-position: -50px -51px; | 427 background-position: -50px -51px; |
427 border: 0px; | 428 border: 0px; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 { | 557 { |
557 height: 290px; | 558 height: 290px; |
558 overflow: auto; | 559 overflow: auto; |
559 } | 560 } |
560 | 561 |
561 #custom-wrapper .table | 562 #custom-wrapper .table |
562 { | 563 { |
563 width: 100%; | 564 width: 100%; |
564 } | 565 } |
565 | 566 |
566 #whitelisting .controls.mode-edit > button, | 567 .button-add |
567 #whitelisting .controls:not(.mode-edit) > div | |
568 { | |
569 display: none; | |
570 } | |
571 | |
572 #whitelisting .controls input[type="text"] | |
573 { | |
574 border: 0px; | |
575 border-bottom: 1px solid #A1A1A1; | |
576 -moz-padding-end: 25px; | |
577 -webkit-padding-end: 25px; | |
578 -moz-margin-start: 14px; | |
579 -webkit-margin-start: 14px; | |
580 outline: 0px; | |
581 padding-bottom: 5px; | |
582 vertical-align: text-bottom; | |
583 width: 100%; | |
584 } | |
585 | |
586 #whitelisting .controls .button-add span | |
587 { | |
588 -moz-margin-start: 5px; | |
589 -webkit-margin-start: 5px; | |
590 } | |
591 | |
592 #whitelisting .button-add | |
593 { | |
594 -moz-margin-start: 32px; | |
595 -webkit-margin-start: 32px; | |
596 } | |
597 | |
598 #whitelisting-add-button + span | |
599 { | |
600 flex: 1; | |
601 } | |
602 | |
603 .icon-enter | |
604 { | |
605 background-position: -19px -33px; | |
606 position: absolute; | |
607 bottom: 9px; | |
608 -moz-margin-start: -20px; | |
609 -webkit-margin-start: -20px; | |
610 } | |
611 | |
612 .button-add, .cancel-button | |
613 { | 568 { |
614 background-color: transparent; | 569 background-color: transparent; |
615 border: 0px; | 570 border: 0px; |
616 color: #3A7BA6; | 571 color: #3A7BA6; |
617 cursor: pointer; | 572 cursor: pointer; |
618 } | 573 } |
619 | 574 |
620 /* | 575 /* |
621 Advanced tab content | 576 Advanced tab content |
622 */ | 577 */ |
623 | 578 |
624 #all-filter-lists-table li.show-message .last-update, | 579 #all-filter-lists-table li.show-message .last-update, |
625 #all-filter-lists-table li:not(.show-message) .message, | 580 #all-filter-lists-table li:not(.show-message) .message, |
626 #custom-filters:not(.mode-empty) #empty-custom-filters, | 581 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, |
627 #custom-filters:not(.mode-edit) #custom-filters-raw, | 582 #custom-filters[data-mode="empty"] #custom-filters-raw, |
628 #custom-filters:not(.mode-edit) #custom-filters-raw-controls, | 583 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, |
629 #custom-filters:not(.mode-view) #custom-filters-box, | 584 #custom-filters:not([data-mode="read"]) #custom-filters-edit, |
630 #custom-filters:not(.mode-view) #custom-filters-edit, | |
631 .state span | 585 .state span |
632 { | 586 { |
633 display: none; | 587 display: none; |
634 } | 588 } |
635 | 589 |
636 #all-filter-lists-table | 590 #all-filter-lists-table |
637 { | 591 { |
638 display: inline-block; | 592 display: inline-block; |
639 } | 593 } |
640 | 594 |
(...skipping 29 matching lines...) Expand all Loading... |
670 border-top: none; | 624 border-top: none; |
671 } | 625 } |
672 | 626 |
673 #all-filter-lists-table .controls button | 627 #all-filter-lists-table .controls button |
674 { | 628 { |
675 margin-top: 14px; | 629 margin-top: 14px; |
676 } | 630 } |
677 | 631 |
678 #all-filter-lists-table .arrow | 632 #all-filter-lists-table .arrow |
679 { | 633 { |
680 position: relative; | |
681 margin: auto 6px; | |
682 border-style: none; | |
683 padding: 0px; | |
684 width: 6px; | 634 width: 6px; |
685 height: 4px; | 635 height: 4px; |
686 background-position: -1px -54px; | 636 background-position: -1px -54px; |
687 cursor: pointer; | 637 cursor: pointer; |
688 } | 638 } |
689 | 639 |
690 #all-filter-lists-table li:last-of-type a | 640 #all-filter-lists-table li:last-of-type a |
691 { | 641 { |
692 color: #3A7BA6; | 642 color: #3A7BA6; |
693 text-decoration: none; | 643 text-decoration: none; |
694 cursor: pointer; | 644 cursor: pointer; |
695 } | 645 } |
696 | 646 |
697 #all-filter-lists-table li:last-of-type > span:last-child | 647 #all-filter-lists-table li:last-of-type > span:last-child |
698 { | 648 { |
699 -webkit-margin-start: auto; | 649 -webkit-margin-start: auto; |
700 -moz-margin-start: auto; | 650 -moz-margin-start: auto; |
701 } | |
702 | |
703 #all-filter-lists-table .static label | |
704 { | |
705 font-weight: 600; | |
706 } | 651 } |
707 | 652 |
708 #custom-filters-raw-controls | 653 #custom-filters-raw-controls |
709 { | 654 { |
710 justify-content: space-between; | 655 justify-content: space-between; |
711 } | 656 } |
712 | 657 |
713 #custom-filters-raw | 658 #custom-filters-raw |
714 { | 659 { |
715 width: 100%; | 660 width: 100%; |
(...skipping 11 matching lines...) Expand all Loading... |
727 position: relative; | 672 position: relative; |
728 margin: 0px 4px; | 673 margin: 0px 4px; |
729 border-bottom: dashed 1px; | 674 border-bottom: dashed 1px; |
730 height: 15px; | 675 height: 15px; |
731 color: #3A7BA6; | 676 color: #3A7BA6; |
732 font-size: 12px; | 677 font-size: 12px; |
733 line-height: 19px; | 678 line-height: 19px; |
734 text-decoration: none; | 679 text-decoration: none; |
735 font-weight: 400; | 680 font-weight: 400; |
736 cursor: default; | 681 cursor: default; |
| 682 } |
| 683 |
| 684 li [role="menubar"] |
| 685 { |
| 686 position: relative; |
737 } | 687 } |
738 | 688 |
739 .context-menu | 689 .context-menu |
740 { | 690 { |
741 display: inline-block; | 691 display: inline-block; |
742 position: relative; | 692 position: relative; |
743 border-bottom: none; | 693 border-bottom: none; |
744 } | 694 } |
745 | 695 |
746 .context-menu a | 696 .context-menu a |
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1159 #other-language .button-add::before | 1109 #other-language .button-add::before |
1160 { | 1110 { |
1161 display: none; | 1111 display: none; |
1162 } | 1112 } |
1163 | 1113 |
1164 #other-language .display | 1114 #other-language .display |
1165 { | 1115 { |
1166 -webkit-margin-start: 10px; | 1116 -webkit-margin-start: 10px; |
1167 -moz-margin-start: 10px; | 1117 -moz-margin-start: 10px; |
1168 } | 1118 } |
LEFT | RIGHT |