Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: skin/desktop-options.css

Issue 29673576: Make new options page compatible with edge (Closed)
Patch Set: Created Jan. 18, 2018, 11:13 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« desktop-options.js ('K') | « desktop-options.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 .side-controls:not(.wrap) 218 .side-controls:not(.wrap)
219 { 219 {
220 margin: 0.8rem 0rem; 220 margin: 0.8rem 0rem;
221 display: flex; 221 display: flex;
222 justify-content: flex-end; 222 justify-content: flex-end;
223 } 223 }
224 224
225 .side-controls button 225 .side-controls button
226 { 226 {
227 margin: 0rem; 227 margin: 0rem;
228 -moz-margin-start: 1rem; 228 margin-left: 1rem;
Thomas Greiner 2018/01/18 16:20:46 We intentionally avoided using properties such as
a.giammarchi 2018/01/19 17:02:28 Done.
229 -webkit-margin-start: 1rem;
230 } 229 }
231 230
232 .side-controls.wrap button 231 .side-controls.wrap button
233 { 232 {
234 margin: 0.6rem 0rem; 233 margin: 0.6rem 0rem;
235 -moz-margin-start: auto; 234 margin-left: auto;
236 -webkit-margin-start: auto;
237 } 235 }
238 236
239 /* 237 /*
240 icons 238 icons
241 */ 239 */
242 240
243 .icon 241 .icon
244 { 242 {
245 border: 0px; 243 border: 0px;
246 padding: 0px; 244 padding: 0px;
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 535
538 #sidebar, 536 #sidebar,
539 #sidebar .fixed, 537 #sidebar .fixed,
540 [role="tablist"] 538 [role="tablist"]
541 { 539 {
542 width: 14.3rem; 540 width: 14.3rem;
543 } 541 }
544 542
545 #sidebar 543 #sidebar
546 { 544 {
547 flex-shrink: 0; 545 flex-shrink: 0;
548 } 546 }
549 547
550 #sidebar .fixed 548 #sidebar .fixed
551 { 549 {
552 top: 1.2rem; 550 top: 1.2rem;
553 bottom: 0rem; 551 bottom: 0rem;
554 height: auto; 552 height: auto;
555 } 553 }
556 554
557 #sidebar header 555 #sidebar header
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 padding: 0rem; 606 padding: 0rem;
609 position: relative; 607 position: relative;
610 font-size: 1rem; 608 font-size: 1rem;
611 } 609 }
612 610
613 [role="tablist"] li a 611 [role="tablist"] li a
614 { 612 {
615 display: flex; 613 display: flex;
616 margin-top: -1px; 614 margin-top: -1px;
617 padding: 1rem 0.8rem; 615 padding: 1rem 0.8rem;
618 -moz-margin-end: -1px; 616 margin-left: -1px;
619 -webkit-margin-end: -1px; 617 margin-right: -1px;
620 -moz-margin-start: -1px; 618 border-color: transparent;
Thomas Greiner 2018/01/18 16:20:46 Why did you remove the second value for the border
621 -webkit-margin-start: -1px;
622 border-color: #CDCDCD transparent;
623 border-style: solid; 619 border-style: solid;
624 border-width: 1px; 620 border-width: 1px;
625 text-decoration: none; 621 text-decoration: none;
626 color: inherit; 622 color: inherit;
627 cursor: pointer; 623 cursor: pointer;
628 } 624 }
629 625
630 li a[role="tab"][aria-selected] 626 li a[role="tab"][aria-selected]
631 { 627 {
632 -moz-border-start-color: #CDCDCD; 628 border-color: #CDCDCD transparent #CDCDCD #CDCDCD;
Thomas Greiner 2018/01/18 16:20:46 This is the same issue as in the comment regarding
a.giammarchi 2018/01/19 11:16:48 I was sure there were reasons for using those (unu
Thomas Greiner 2018/01/19 13:55:16 No need to apologize because there's also no expla
a.giammarchi 2018/01/19 14:16:28 Yes, it would've helped indeed. I am adding here a
Thomas Greiner 2018/01/22 13:06:38 That's fine with me.
633 -webkit-border-start-color: #CDCDCD;
634 font-weight: 700; 629 font-weight: 700;
635 background-color: #FFF; 630 background-color: #FFF;
636 } 631 }
637 632
638 #sidebar footer 633 #sidebar footer
639 { 634 {
640 width: 100%; 635 width: 100%;
641 } 636 }
642 637
643 #sidebar footer p 638 #sidebar footer p
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 } 723 }
729 724
730 section.cols 725 section.cols
731 { 726 {
732 display: flex; 727 display: flex;
733 } 728 }
734 729
735 section.cols > *:first-child 730 section.cols > *:first-child
736 { 731 {
737 flex: 1; 732 flex: 1;
738 -moz-margin-end: 2rem; 733 margin-right: 2rem;
739 -webkit-margin-end: 2rem;
740 } 734 }
741 735
742 section.cols > *:last-child 736 section.cols > *:last-child
743 { 737 {
744 flex: 3; 738 flex: 3;
745 } 739 }
746 740
747 /* 741 /*
748 Acceptable ads 742 Acceptable ads
749 */ 743 */
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 html[dir="rtl"] button 798 html[dir="rtl"] button
805 { 799 {
806 left: auto; 800 left: auto;
807 right: 0rem; 801 right: 0rem;
808 } 802 }
809 803
810 #acceptable-ads label 804 #acceptable-ads label
811 { 805 {
812 font-weight: 700; 806 font-weight: 700;
813 font-size: 1rem; 807 font-size: 1rem;
814 -moz-margin-end: 0.5rem; 808 margin-right: 0.5rem;
815 -webkit-margin-end: 0.5rem;
816 } 809 }
817 810
818 #dnt 811 #dnt
819 { 812 {
820 padding: 0.8rem; 813 padding: 0.8rem;
821 border: 1px solid #077CA6; 814 border: 1px solid #077CA6;
822 } 815 }
823 816
824 .new 817 .new
825 { 818 {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 .th .col5:nth-of-type(4), 962 .th .col5:nth-of-type(4),
970 .table .col5:nth-of-type(4) 963 .table .col5:nth-of-type(4)
971 { 964 {
972 flex: 1; 965 flex: 1;
973 } 966 }
974 967
975 .th .col5:nth-of-type(5), 968 .th .col5:nth-of-type(5),
976 .table .col5:nth-of-type(5) 969 .table .col5:nth-of-type(5)
977 { 970 {
978 flex: 1; 971 flex: 1;
979 -moz-margin-start: 0; 972 margin-left: 0;
980 -webkit-margin-start: 0; 973 margin-right: 1.8rem;
981 -moz-margin-end: 1.8rem;
982 -webkit-margin-end: 1.8rem;
983 } 974 }
984 975
985 .table.cols > span 976 .table.cols > span
986 { 977 {
987 margin: 0rem; 978 margin: 0rem;
988 } 979 }
989 980
990 .table.cols li 981 .table.cols li
991 { 982 {
992 padding: 0.5rem 0rem; 983 padding: 0.5rem 0rem;
993 } 984 }
994 985
995 .table.cols .state 986 .table.cols .state
996 { 987 {
997 -moz-margin-start: 1rem; 988 margin-left: 1rem;
998 -webkit-margin-start: 1rem;
999 } 989 }
1000 990
1001 .table.cols .gear 991 .table.cols .gear
1002 { 992 {
1003 margin: 0rem 993 margin: 0rem
1004 } 994 }
1005 995
1006 #dialog .table.list li 996 #dialog .table.list li
1007 { 997 {
1008 display: block; 998 display: block;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 } 1035 }
1046 1036
1047 /* 1037 /*
1048 Tooltips 1038 Tooltips
1049 */ 1039 */
1050 1040
1051 .tooltip 1041 .tooltip
1052 { 1042 {
1053 position: relative; 1043 position: relative;
1054 margin: 0rem; 1044 margin: 0rem;
1055 -moz-margin-end: 1rem; 1045 margin-right: 1rem;
1056 -webkit-margin-end: 1rem;
1057 line-height: 1.5rem; 1046 line-height: 1.5rem;
1058 text-decoration: none; 1047 text-decoration: none;
1059 cursor: help; 1048 cursor: help;
1060 } 1049 }
1061 1050
1062 /* 1051 /*
1063 Used for translatable screen reader only content. 1052 Used for translatable screen reader only content.
1064 e.g.: Use instead of aria-label to avoid complex attribute value translation 1053 e.g.: Use instead of aria-label to avoid complex attribute value translation
1065 */ 1054 */
1066 .sr-only 1055 .sr-only
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 { 1094 {
1106 flex: 1; 1095 flex: 1;
1107 height: 100%; 1096 height: 100%;
1108 padding: 0.5rem 1rem; 1097 padding: 0.5rem 1rem;
1109 font-size: 1rem; 1098 font-size: 1rem;
1110 border: 2px solid #077CA6; 1099 border: 2px solid #077CA6;
1111 } 1100 }
1112 1101
1113 #content-whitelist form button 1102 #content-whitelist form button
1114 { 1103 {
1115 -moz-margin-start: 0.7rem; 1104 margin-left: 0.7rem;
1116 -webkit-margin-start: 0.7rem;
1117 } 1105 }
1118 1106
1119 #whitelisting-table li 1107 #whitelisting-table li
1120 { 1108 {
1121 padding-left: 1.4rem; 1109 padding-left: 1.4rem;
1122 padding-right: 1.4rem; 1110 padding-right: 1.4rem;
1123 border-left: 0rem; 1111 border-left: 0rem;
1124 border-right: 0rem; 1112 border-right: 0rem;
1125 } 1113 }
1126 1114
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1339 1327
1340 #social ul 1328 #social ul
1341 { 1329 {
1342 list-style: none; 1330 list-style: none;
1343 padding: 0px; 1331 padding: 0px;
1344 } 1332 }
1345 1333
1346 #social ul li 1334 #social ul li
1347 { 1335 {
1348 display: inline-block; 1336 display: inline-block;
1349 -moz-margin-end: 1rem; 1337 margin-right: 1rem;
1350 -webkit-margin-end: 1rem;
1351 } 1338 }
1352 1339
1353 #social ul li a 1340 #social ul li a
1354 { 1341 {
1355 display: block; 1342 display: block;
1356 text-align: center; 1343 text-align: center;
1357 text-decoration: none; 1344 text-decoration: none;
1358 } 1345 }
1359 1346
1360 /* 1347 /*
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 font-size: 1rem; 1498 font-size: 1rem;
1512 color: #077CA6; 1499 color: #077CA6;
1513 background-color: #E1F2FA; 1500 background-color: #E1F2FA;
1514 } 1501 }
1515 1502
1516 #notification strong 1503 #notification strong
1517 { 1504 {
1518 flex: 1; 1505 flex: 1;
1519 text-align: center; 1506 text-align: center;
1520 } 1507 }
OLDNEW
« desktop-options.js ('K') | « desktop-options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld