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

Delta Between Two Patch Sets: skin/new-options.css

Issue 29555879: Noissue - Center the content and unfix on small screens the sidebar (Closed)
Left Patch Set: Created Sept. 25, 2017, 9:58 p.m.
Right Patch Set: Added comment Created Sept. 27, 2017, 2:55 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 box-shadow: inset 0 0 0 2px #099CD0; 152 box-shadow: inset 0 0 0 2px #099CD0;
153 } 153 }
154 154
155 button[role="checkbox"] 155 button[role="checkbox"]
156 { 156 {
157 width: 18px; 157 width: 18px;
158 height: 18px; 158 height: 18px;
159 padding: 0px; 159 padding: 0px;
160 border: 0px; 160 border: 0px;
161 background-color: transparent; 161 background-color: transparent;
162 background-position: -51px 0px; 162 }
163
164 button[role="checkbox"]:not(.toggle)
165 {
166 background-image: url(icons/checkbox.png);
167 display: inline-block;
163 } 168 }
164 169
165 button[role="checkbox"][aria-checked="true"]:not(.toggle) 170 button[role="checkbox"][aria-checked="true"]:not(.toggle)
166 { 171 {
167 background-position: -68px 0px; 172 background-position: 0px 18px;
168 } 173 }
169 174
170 button[role="checkbox"][disabled] 175 button[role="checkbox"][disabled]
171 { 176 {
172 border-radius: 2px; 177 border-radius: 2px;
173 background-color: #ccc; 178 background-color: #ccc;
174 } 179 }
175 180
176 button[role="checkbox"].toggle 181 button[role="checkbox"].toggle
177 { 182 {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 display: block; 232 display: block;
228 height: 1.9rem; 233 height: 1.9rem;
229 width: 1.9rem; 234 width: 1.9rem;
230 background-color: #099DD1; 235 background-color: #099DD1;
231 } 236 }
232 237
233 button.gear:hover::before, 238 button.gear:hover::before,
234 button.delete:hover::before 239 button.delete:hover::before
235 { 240 {
236 background-color: #5CBCE1; 241 background-color: #5CBCE1;
237 }
238
239 button.gear:hover,
240 button.delete:hover
241 {
242 background-position: -61px -51px;
243 } 242 }
244 243
245 button.link, 244 button.link,
246 button.list 245 button.list
247 { 246 {
248 color: #099CD0; 247 color: #099CD0;
249 } 248 }
250 249
251 button.link 250 button.link
252 { 251 {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 width: 100%; 512 width: 100%;
514 } 513 }
515 514
516 #sidebar footer p 515 #sidebar footer p
517 { 516 {
518 display: flex; 517 display: flex;
519 justify-content: center; 518 justify-content: center;
520 margin: 1.2rem 0rem; 519 margin: 1.2rem 0rem;
521 } 520 }
522 521
522 /* This is a stopgap solution of footer overlapping tabs on low resolutions */
523 @media (min-height: 37rem) 523 @media (min-height: 37rem)
saroyanm 2017/09/25 22:02:13 @Thomas can you please send the link to the soluti
Thomas Greiner 2017/09/26 10:40:38 This is a bit of a hack because it depends on the
Thomas Greiner 2017/09/26 10:40:38 What I was mentioning was `position: sticky` but a
saroyanm 2017/09/26 16:55:48 As we did introduce fixed root element and prevent
saroyanm 2017/09/26 16:55:48 I see.
Thomas Greiner 2017/09/27 13:27:50 Ok, since there's no good solution that we can imp
saroyanm 2017/09/27 14:56:43 Agree, done.
524 { 524 {
525 #sidebar .fixed 525 #sidebar .fixed
526 { 526 {
527 position: fixed; 527 position: fixed;
528 } 528 }
529 529
530 #sidebar footer 530 #sidebar footer
531 { 531 {
532 bottom: 0px; 532 bottom: 0px;
533 position: absolute; 533 position: absolute;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 margin: 0rem; 685 margin: 0rem;
686 border-style: solid; 686 border-style: solid;
687 border-color: #CDCDCD; 687 border-color: #CDCDCD;
688 border-width: 0px 1px 1px 1px; 688 border-width: 0px 1px 1px 1px;
689 } 689 }
690 690
691 .list li 691 .list li
692 { 692 {
693 padding: 0rem; 693 padding: 0rem;
694 margin: 0rem 0rem 1.3rem 0rem; 694 margin: 0rem 0rem 1.3rem 0rem;
695 }
696
697 .list li [role="checkbox"]
698 {
699 flex-shrink: 0;
695 } 700 }
696 701
697 .table li:first-of-type 702 .table li:first-of-type
698 { 703 {
699 border-top: 1px solid #CDCDCD; 704 border-top: 1px solid #CDCDCD;
700 } 705 }
701 706
702 .table.list li 707 .table.list li
703 { 708 {
704 padding: 0.5rem 1.1rem; 709 padding: 0.5rem 1.1rem;
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 892
888 .tooltip::before 893 .tooltip::before
889 { 894 {
890 content: ""; 895 content: "";
891 width: 1.3rem; 896 width: 1.3rem;
892 height: 1.3rem; 897 height: 1.3rem;
893 display: block; 898 display: block;
894 background-color: #099DD1; 899 background-color: #099DD1;
895 -webkit-mask: url(icons/tooltip.svg); 900 -webkit-mask: url(icons/tooltip.svg);
896 mask: url(icons/tooltip.svg); 901 mask: url(icons/tooltip.svg);
897 }
898
899 button[role="checkbox"]:not(.toggle)
900 {
901 background-image: url(options-sprite.png);
902 display: inline-block;
903 } 902 }
904 903
905 /* 904 /*
906 Used for translatable screen reader only conten. 905 Used for translatable screen reader only conten.
907 e.g.: Use instead of aria-label to avoid complex attribute value translation 906 e.g.: Use instead of aria-label to avoid complex attribute value translation
908 */ 907 */
909 .sr-only 908 .sr-only
910 { 909 {
911 position: absolute; 910 position: absolute;
912 overflow: hidden; 911 overflow: hidden;
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1450 1449
1451 #hide-notification::after 1450 #hide-notification::after
1452 { 1451 {
1453 background-color: #099DD1; 1452 background-color: #099DD1;
1454 } 1453 }
1455 1454
1456 #hide-notification:hover::after 1455 #hide-notification:hover::after
1457 { 1456 {
1458 background-color: #5CBCE1; 1457 background-color: #5CBCE1;
1459 } 1458 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld