Left: | ||
Right: |
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-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 |
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 * |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
94 input[type="text"], | 94 input[type="text"], |
95 input[type="search"], | 95 input[type="search"], |
96 textarea | 96 textarea |
97 { | 97 { |
98 -webkit-box-sizing: border-box; | 98 -webkit-box-sizing: border-box; |
99 -moz-box-sizing: border-box; | 99 -moz-box-sizing: border-box; |
100 box-sizing: border-box; | 100 box-sizing: border-box; |
101 } | 101 } |
102 | 102 |
103 button[role="checkbox"], | 103 button[role="checkbox"], |
104 #dialog-body .table button[role="checkbox"] | 104 #dialog-body .table button[role="checkbox"] |
Thomas Greiner
2017/08/09 18:14:50
Detail: Why are those duplicated selectors for che
saroyanm
2017/08/14 14:00:11
I'll recheck, but I almost sure I did it because o
Thomas Greiner
2017/08/15 17:10:30
Acknowledged.
saroyanm
2017/08/16 14:17:39
Yes it is because of specificity, anyway I'll revi
Thomas Greiner
2017/08/16 17:57:08
Acknowledged.
| |
105 { | 105 { |
106 width: 18px; | 106 width: 18px; |
107 height: 18px; | 107 height: 18px; |
108 margin-top: 0px; | 108 margin-top: 0px; |
109 -moz-margin-end: 20px; | 109 -moz-margin-end: 20px; |
110 -webkit-margin-end: 20px; | 110 -webkit-margin-end: 20px; |
111 padding: 0px; | 111 padding: 0px; |
112 border: none; | 112 border: none; |
113 background-color: transparent; | 113 background-color: transparent; |
114 background-position: -51px 0px; | 114 background-position: -51px 0px; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
370 { | 370 { |
371 padding-top: 0px; | 371 padding-top: 0px; |
372 padding-bottom: 6px; | 372 padding-bottom: 6px; |
373 } | 373 } |
374 | 374 |
375 .table li.empty-placeholder | 375 .table li.empty-placeholder |
376 { | 376 { |
377 background-color: #F5F5F5; | 377 background-color: #F5F5F5; |
378 } | 378 } |
379 | 379 |
380 .table li [data-single='visible'], | 380 .table li [data-single="visible"], |
381 .table li:first-child:nth-last-child(2) [data-single='hidden'] | 381 .table li:first-of-type:last-of-type [data-single="hidden"] |
Thomas Greiner
2017/08/09 18:14:51
Detail: It's a nice trick to select an element if
saroyanm
2017/08/14 14:00:10
I'll try that.
saroyanm
2017/08/16 14:17:38
Done.
| |
382 { | 382 { |
383 display: none; | 383 display: none; |
384 } | 384 } |
385 | 385 |
386 .table li:first-child:nth-last-child(2) [data-single='visible'] | 386 .table li:first-of-type:last-of-type [data-single="visible"] |
Thomas Greiner
2017/08/09 18:14:50
Suggestion: You could move that selector into the
saroyanm
2017/08/14 14:00:11
Acknowledged.
saroyanm
2017/08/16 14:17:38
Apparently it's not possible to have two pseudo cl
Thomas Greiner
2017/08/16 17:57:08
Interesting, I wasn't aware of that. They only acc
| |
387 { | 387 { |
388 display: block; | 388 display: block; |
389 } | 389 } |
390 | 390 |
391 .table label | 391 .table label |
392 { | 392 { |
393 vertical-align: top; | 393 vertical-align: top; |
394 } | 394 } |
395 | 395 |
396 .table.cols | 396 .table.cols |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
590 Advanced tab content | 590 Advanced tab content |
591 */ | 591 */ |
592 | 592 |
593 #all-filter-lists-table li.show-message .last-update, | 593 #all-filter-lists-table li.show-message .last-update, |
594 #all-filter-lists-table li:not(.show-message) .message, | 594 #all-filter-lists-table li:not(.show-message) .message, |
595 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, | 595 #custom-filters:not([data-mode="empty"]) #empty-custom-filters, |
596 #custom-filters[data-mode="empty"] #custom-filters-raw, | 596 #custom-filters[data-mode="empty"] #custom-filters-raw, |
597 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, | 597 #custom-filters:not([data-mode="write"]) #custom-filters-raw-controls, |
598 #custom-filters:not([data-mode="read"]) #custom-filters-edit, | 598 #custom-filters:not([data-mode="read"]) #custom-filters-edit, |
599 .state span, | 599 .state span, |
600 #acceptable-ads:not(.show-dnt-notification) #no-dnt | 600 #acceptable-ads:not(.show-dnt-notification) #dnt |
601 { | 601 { |
602 display: none; | 602 display: none; |
603 } | 603 } |
604 | 604 |
605 #all-filter-lists-table | 605 #all-filter-lists-table |
606 { | 606 { |
607 display: inline-block; | 607 display: inline-block; |
608 } | 608 } |
609 | 609 |
610 #all-filter-lists-table | 610 #all-filter-lists-table |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1061 #dialog .url | 1061 #dialog .url |
1062 { | 1062 { |
1063 margin-top: 10px; | 1063 margin-top: 10px; |
1064 margin-bottom: 20px; | 1064 margin-bottom: 20px; |
1065 word-wrap: break-word; | 1065 word-wrap: break-word; |
1066 } | 1066 } |
1067 | 1067 |
1068 body:not([data-dialog="custom"]) #dialog-title-custom, | 1068 body:not([data-dialog="custom"]) #dialog-title-custom, |
1069 body:not([data-dialog="custom"]) #dialog-content-custom, | 1069 body:not([data-dialog="custom"]) #dialog-content-custom, |
1070 body:not([data-dialog="language-add"]) #dialog-title-language-add, | 1070 body:not([data-dialog="language-add"]) #dialog-title-language-add, |
1071 body:not([data-dialog="language-add"]) #dialog-content-language-add, | |
1072 body:not([data-dialog="language-change"]) #dialog-title-language-change, | 1071 body:not([data-dialog="language-change"]) #dialog-title-language-change, |
1073 body:not([data-dialog="language-change"]) #dialog-content-language-change, | 1072 body:not([data-dialog="language-add"]):not([data-dialog="language-change"]) #dia log-content-language-add, |
1073 body:not([data-dialog="language-add"]) #dialog-body button.add, | |
1074 body:not([data-dialog="language-change"]) #dialog-body button.change, | |
1074 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1075 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
1075 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1076 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
1076 body:not([data-dialog]) #dialog | 1077 body:not([data-dialog]) #dialog |
1077 { | 1078 { |
1078 display: none; | 1079 display: none; |
1079 } | 1080 } |
LEFT | RIGHT |