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

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

Issue 29712664: Issue 6432 - Hide remove button for additional filter lists (Closed)
Patch Set: Keeping callback hell Created March 8, 2018, 6:02 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 display: block; 108 display: block;
109 padding: 0.6rem 0.8rem; 109 padding: 0.6rem 0.8rem;
110 background-color: transparent; 110 background-color: transparent;
111 font-size: 1rem; 111 font-size: 1rem;
112 font-weight: 700; 112 font-weight: 700;
113 text-decoration: none; 113 text-decoration: none;
114 text-transform: uppercase; 114 text-transform: uppercase;
115 cursor: pointer; 115 cursor: pointer;
116 } 116 }
117 117
118 button:disabled,
119 button[aria-disabled="true"]
120 {
121 cursor: default;
122 }
123
118 /* Ignore .icon to avoid overriding "specific" (primary, secondary) styles */ 124 /* Ignore .icon to avoid overriding "specific" (primary, secondary) styles */
119 button.primary:not(.icon), 125 button.primary:not(.icon),
120 .button.primary:not(.icon) 126 .button.primary:not(.icon)
121 { 127 {
122 border: 0px; 128 border: 0px;
123 color: #FFF; 129 color: #FFF;
124 background-color: #077CA6; 130 background-color: #077CA6;
125 } 131 }
126 132
127 button.primary:not([disabled]):not(.icon):hover, 133 button.primary:not([disabled]):not(.icon):hover,
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 height: 1.2rem; 267 height: 1.2rem;
262 padding: 0px; 268 padding: 0px;
263 } 269 }
264 270
265 button[role="checkbox"][disabled].icon:not(.toggle)::before, 271 button[role="checkbox"][disabled].icon:not(.toggle)::before,
266 button[role="checkbox"][aria-disabled="true"].icon:not(.toggle)::before 272 button[role="checkbox"][aria-disabled="true"].icon:not(.toggle)::before
267 { 273 {
268 border: 0rem; 274 border: 0rem;
269 margin: 0.2rem; 275 margin: 0.2rem;
270 border-radius: 2px; 276 border-radius: 2px;
271 background-color: #ccc; 277 background-color: #b3b3b3;
Thomas Greiner 2018/03/08 19:28:19 Detail: Isn't this redundant since we're setting `
saroyanm 2018/03/09 11:23:28 It is not because we do not have dedicated disable
Thomas Greiner 2018/03/09 17:24:22 Acknowledged.
272 } 278 }
273 279
274 button[role="checkbox"].icon:not(.toggle)::before 280 button[role="checkbox"].icon:not(.toggle)::before
275 { 281 {
276 /* Using ?query as a workaround to chromium bug #643716 */ 282 /* Using ?query as a workaround to chromium bug #643716 */
277 background-image: url(icons/checkbox.svg?off#off); 283 background-image: url(icons/checkbox.svg?off#off);
278 } 284 }
279 285
280 button[role="checkbox"][aria-checked="true"].icon:not(.toggle)::before 286 button[role="checkbox"][aria-checked="true"].icon:not(.toggle)::before
281 { 287 {
282 background-image: url(icons/checkbox.svg?on#on); 288 background-image: url(icons/checkbox.svg?on#on);
283 } 289 }
284 290
291 button[role="checkbox"][aria-checked="true"].icon:disabled:not(.toggle)::before
292 {
293 background-image: url(icons/checkbox.svg?on-disabled#on-disabled);
294 }
295
285 button[role="checkbox"].icon.toggle::before 296 button[role="checkbox"].icon.toggle::before
286 { 297 {
287 background-image: url(icons/toggle.svg?on#on); 298 background-image: url(icons/toggle.svg?on#on);
288 } 299 }
289 300
290 button[role="checkbox"][aria-checked="false"].icon.toggle::before 301 button[role="checkbox"][aria-checked="false"].icon.toggle::before
291 { 302 {
292 background-image: url(icons/toggle.svg?off#off); 303 background-image: url(icons/toggle.svg?off#off);
293 } 304 }
294 305
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 } 1077 }
1067 1078
1068 #dialog .table.list li button > span 1079 #dialog .table.list li button > span
1069 { 1080 {
1070 flex: none; 1081 flex: none;
1071 margin: 0rem 0.8rem; 1082 margin: 0rem 0.8rem;
1072 text-transform: none; 1083 text-transform: none;
1073 font-weight: 400; 1084 font-weight: 400;
1074 } 1085 }
1075 1086
1087 li.preconfigured [data-hide="preconfigured"]
1088 {
1089 display: none !important;
1090 }
1091
1076 /* 1092 /*
1077 Tooltips 1093 Tooltips
1078 */ 1094 */
1079 1095
1080 .tooltip 1096 .tooltip
1081 { 1097 {
1082 position: relative; 1098 position: relative;
1083 margin: 0rem; 1099 margin: 0rem;
1084 line-height: 1.5rem; 1100 line-height: 1.5rem;
1085 text-decoration: none; 1101 text-decoration: none;
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 font-size: 1rem; 1576 font-size: 1rem;
1561 color: #077CA6; 1577 color: #077CA6;
1562 background-color: #E1F2FA; 1578 background-color: #E1F2FA;
1563 } 1579 }
1564 1580
1565 #notification strong 1581 #notification strong
1566 { 1582 {
1567 flex: 1; 1583 flex: 1;
1568 text-align: center; 1584 text-align: center;
1569 } 1585 }
OLDNEW
« no previous file with comments | « background.js ('k') | desktop-options.html » ('j') | skin/icons/checkbox.svg » ('J')

Powered by Google App Engine
This is Rietveld