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-2015 Eyeo GmbH | 3 * Copyright (C) 2006-2015 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
139 } | 139 } |
140 | 140 |
141 .hbox | 141 .hbox |
142 { | 142 { |
143 display: flex; | 143 display: flex; |
144 flex-direction: row; | 144 flex-direction: row; |
145 } | 145 } |
146 | 146 |
147 .hbox > div | 147 .hbox > div |
148 { | 148 { |
149 flex: 1; | 149 width: 400px; |
150 } | 150 } |
151 | 151 |
152 .tabs li | 152 .tabs li |
153 { | 153 { |
154 cursor: pointer; | 154 cursor: pointer; |
155 display: flex; | 155 display: flex; |
156 } | 156 } |
157 | 157 |
158 .tabs li a | 158 .tabs li a |
159 { | 159 { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
339 -moz-padding-start: 16px; | 339 -moz-padding-start: 16px; |
340 border-radius: 3px; | 340 border-radius: 3px; |
341 } | 341 } |
342 | 342 |
343 .table.list li .display | 343 .table.list li .display |
344 { | 344 { |
345 flex: 1; | 345 flex: 1; |
346 line-height: 16px; | 346 line-height: 16px; |
347 overflow: hidden; | 347 overflow: hidden; |
348 text-overflow: ellipsis; | 348 text-overflow: ellipsis; |
349 white-space: nowrap; | 349 white-space: nowrap; |
saroyanm
2016/01/25 16:32:37
What about setup max-width as well, because curren
Thomas Greiner
2016/01/25 18:41:24
You're right. That behavior must've been introduce
| |
350 } | 350 } |
351 | 351 |
352 .table.list li:nth-child(odd), | 352 .table.list li:nth-child(odd), |
353 .table.cols li:nth-child(even), | 353 .table.cols li:nth-child(even), |
354 .table li.empty-placeholder | 354 .table li.empty-placeholder |
355 { | 355 { |
356 background-color: #F5F5F5; | 356 background-color: #F5F5F5; |
357 } | 357 } |
358 | 358 |
359 .table label | 359 .table label |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
538 vertical-align: top; | 538 vertical-align: top; |
539 } | 539 } |
540 | 540 |
541 /* | 541 /* |
542 General tab content | 542 General tab content |
543 */ | 543 */ |
544 | 544 |
545 #blocking-languages, | 545 #blocking-languages, |
546 #acceptable-ads | 546 #acceptable-ads |
547 { | 547 { |
548 -moz-padding-end: 40px; | 548 -moz-margin-end: 40px; |
549 -webkit-padding-end: 40px; | 549 -webkit-margin-end: 40px; |
550 } | 550 } |
551 | 551 |
552 #custom-wrapper | 552 #custom-wrapper |
553 { | 553 { |
554 height: 290px; | 554 height: 290px; |
555 overflow: auto; | 555 overflow: auto; |
556 } | 556 } |
557 | 557 |
558 #custom-wrapper .table | 558 #custom-wrapper .table |
559 { | 559 { |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
917 -webkit-margin-end: 6px; | 917 -webkit-margin-end: 6px; |
918 } | 918 } |
919 | 919 |
920 /* | 920 /* |
921 Dialog | 921 Dialog |
922 */ | 922 */ |
923 | 923 |
924 #dialog-background | 924 #dialog-background |
925 { | 925 { |
926 display: none; | 926 display: none; |
927 background-color: white; | |
928 position: fixed; | 927 position: fixed; |
929 opacity: 0.7; | |
930 top: 0px; | 928 top: 0px; |
931 right: 0px; | 929 right: 0px; |
932 bottom: 0px; | 930 bottom: 0px; |
933 left: 0px; | 931 left: 0px; |
934 z-index: 2; | 932 z-index: 2; |
933 background-color: white; | |
934 opacity: 0.7; | |
935 } | 935 } |
936 | 936 |
937 body[data-dialog] #dialog-background | 937 body[data-dialog] #dialog-background |
938 { | 938 { |
939 display: block; | 939 display: block; |
940 } | 940 } |
941 | 941 |
942 #dialog | 942 #dialog |
943 { | 943 { |
944 background-color: #FFFFFF; | |
945 border: 2px solid #4D9D4B; | |
946 border-radius: 3px; | |
947 margin: auto; | |
948 position: fixed; | 944 position: fixed; |
saroyanm
2016/01/25 16:32:37
Note: I think whenever we fixing a block we can al
Thomas Greiner
2016/01/25 18:41:24
Done.
| |
949 top: 100px; | 945 top: 100px; |
950 left: 0px; | 946 left: 0px; |
951 right: 0px; | 947 right: 0px; |
952 z-index: 2; | 948 z-index: 2; |
953 width: 400px; | 949 width: 400px; |
950 margin: auto; | |
951 border-radius: 3px; | |
952 border: 2px solid #4D9D4B; | |
953 background-color: #FFFFFF; | |
954 } | 954 } |
955 | 955 |
956 #dialog header | 956 #dialog header |
957 { | 957 { |
958 background-color: #4D9D4B; | |
959 display: flex; | 958 display: flex; |
960 min-height: 25px; | 959 min-height: 25px; |
961 padding: 10px; | 960 padding: 10px; |
961 background-color: #4D9D4B; | |
962 } | 962 } |
963 | 963 |
964 #dialog-close | 964 #dialog-close |
965 { | 965 { |
966 -moz-border-start: 1px solid #25612B; | 966 -moz-border-start: 1px solid #25612B; |
967 -webkit-border-start: 1px solid #25612B; | 967 -webkit-border-start: 1px solid #25612B; |
968 color: #0F660F; | 968 color: #0F660F; |
969 display: inline-block; | 969 display: inline-block; |
970 height: 20px; | 970 height: 20px; |
971 font-size: 15px; | 971 font-size: 15px; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1063 body:not([data-dialog="language"]) #dialog-content-language, | 1063 body:not([data-dialog="language"]) #dialog-content-language, |
1064 body:not([data-dialog="predefined"]) #dialog-title-predefined, | 1064 body:not([data-dialog="predefined"]) #dialog-title-predefined, |
1065 body:not([data-dialog="predefined"]) #dialog-content-predefined, | 1065 body:not([data-dialog="predefined"]) #dialog-content-predefined, |
1066 body:not([data-dialog]) #dialog | 1066 body:not([data-dialog]) #dialog |
1067 { | 1067 { |
1068 display: none; | 1068 display: none; |
1069 } | 1069 } |
1070 | 1070 |
1071 #dialog-content-language .dialog-content-block | 1071 #dialog-content-language .dialog-content-block |
1072 { | 1072 { |
1073 display: flex; | 1073 display: flex; |
saroyanm
2016/01/25 16:32:37
For some reason, RTL have a bug. It feels like cau
saroyanm
2016/01/25 17:16:17
Browser update, fixed the issue.
| |
1074 flex-direction: column; | 1074 flex-direction: column; |
1075 height: 120px; | 1075 height: 120px; |
1076 } | 1076 } |
1077 | 1077 |
1078 #dialog-content-language #other-language | 1078 #dialog-content-language #other-language |
1079 { | 1079 { |
1080 height: 200px; | 1080 height: 200px; |
1081 } | 1081 } |
1082 | 1082 |
1083 #other-language .button-add | 1083 #other-language .button-add |
(...skipping 13 matching lines...) Expand all Loading... | |
1097 #other-language .button-add::before | 1097 #other-language .button-add::before |
1098 { | 1098 { |
1099 display: none; | 1099 display: none; |
1100 } | 1100 } |
1101 | 1101 |
1102 #other-language .display | 1102 #other-language .display |
1103 { | 1103 { |
1104 -webkit-margin-start: 10px; | 1104 -webkit-margin-start: 10px; |
1105 -moz-margin-start: 10px; | 1105 -moz-margin-start: 10px; |
1106 } | 1106 } |
LEFT | RIGHT |