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

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

Issue 29611615: Issue 5990 - Fix broken SVG icons in Chrome (Closed)
Left Patch Set: Created Nov. 17, 2017, 4:40 p.m.
Right Patch Set: Created Nov. 20, 2017, 6:37 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 width: 1.2rem; 175 width: 1.2rem;
176 height: 1.2rem; 176 height: 1.2rem;
177 padding: 0px; 177 padding: 0px;
178 border: 0px; 178 border: 0px;
179 background-color: transparent; 179 background-color: transparent;
180 } 180 }
181 181
182 button[role="checkbox"]:not(.toggle) 182 button[role="checkbox"]:not(.toggle)
183 { 183 {
184 /* Using ?query as a workaround to chromium bug #643716 */ 184 /* Using ?query as a workaround to chromium bug #643716 */
185 background-image: url(icons/checkbox.svg?1#off); 185 background-image: url(icons/checkbox.svg?off#off);
Thomas Greiner 2017/11/20 17:39:06 Rather than using arbitrary numbers which could mi
saroyanm 2017/11/20 18:42:25 I agree, done.
186 display: inline-block; 186 display: inline-block;
187 } 187 }
188 188
189 button[role="checkbox"][aria-checked="true"]:not(.toggle) 189 button[role="checkbox"][aria-checked="true"]:not(.toggle)
190 { 190 {
191 background-image: url(icons/checkbox.svg?2#on); 191 background-image: url(icons/checkbox.svg?on#on);
192 } 192 }
193 193
194 button[role="checkbox"][disabled], 194 button[role="checkbox"][disabled],
195 button[role="checkbox"][aria-disabled="true"] 195 button[role="checkbox"][aria-disabled="true"]
196 { 196 {
197 border-radius: 2px; 197 border-radius: 2px;
198 background-color: #ccc; 198 background-color: #ccc;
199 } 199 }
200 200
201 button[role="checkbox"].toggle 201 button[role="checkbox"].toggle
202 { 202 {
203 background-image: url(icons/toggle.svg?1#on); 203 background-image: url(icons/toggle.svg?on#on);
204 } 204 }
205 205
206 button[role="checkbox"][aria-checked="false"].toggle 206 button[role="checkbox"][aria-checked="false"].toggle
207 { 207 {
208 background-image: url(icons/toggle.svg?2#off); 208 background-image: url(icons/toggle.svg?off#off);
209 } 209 }
210 210
211 button[role="checkbox"][aria-checked="true"].toggle 211 button[role="checkbox"][aria-checked="true"].toggle
212 { 212 {
213 background-image: url(icons/toggle.svg?3#on); 213 background-image: url(icons/toggle.svg?on#on);
214 } 214 }
215 215
216 button[role="checkbox"].toggle 216 button[role="checkbox"].toggle
217 { 217 {
218 background-position: initial; 218 background-position: initial;
219 width: 1.9rem; 219 width: 1.9rem;
220 height: 1rem; 220 height: 1rem;
221 vertical-align: middle; 221 vertical-align: middle;
222 } 222 }
223 223
224 button[role="checkbox"][disabled].toggle 224 button[role="checkbox"][disabled].toggle
225 { 225 {
226 background-image: none; 226 background-image: none;
227 } 227 }
228 228
229 button.delete::before 229 button.delete::before
230 { 230 {
231 background-image: url(icons/trash.svg?1#default); 231 background-image: url(icons/trash.svg?default#default);
232 } 232 }
233 233
234 button.delete:hover::before 234 button.delete:hover::before
235 { 235 {
236 background-image: url(icons/trash.svg?2#hover); 236 background-image: url(icons/trash.svg?hover#hover);
237 } 237 }
238 238
239 button.gear::before 239 button.gear::before
240 { 240 {
241 background-image: url(icons/gear.svg?1#default); 241 background-image: url(icons/gear.svg?default#default);
242 } 242 }
243 243
244 button.gear:hover::before 244 button.gear:hover::before
245 { 245 {
246 background-image: url(icons/gear.svg?2#hover); 246 background-image: url(icons/gear.svg?hover#hover);
247 } 247 }
248 248
249 button.gear, 249 button.gear,
250 button.delete 250 button.delete
251 { 251 {
252 border: 0px; 252 border: 0px;
253 padding: 0px; 253 padding: 0px;
254 background-color: transparent; 254 background-color: transparent;
255 } 255 }
256 256
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 } 398 }
399 399
400 [data-validation] .floating-input input:focus:invalid ~ .attention::before 400 [data-validation] .floating-input input:focus:invalid ~ .attention::before
401 { 401 {
402 background-image: url(icons/attention.svg); 402 background-image: url(icons/attention.svg);
403 } 403 }
404 404
405 [data-validation] .floating-input input:valid ~ .attention::before 405 [data-validation] .floating-input input:valid ~ .attention::before
406 { 406 {
407 top: 0.5rem; 407 top: 0.5rem;
408 background-image: url(icons/checkmark.svg?1#approved); 408 background-image: url(icons/checkmark.svg?approved#approved);
409 } 409 }
410 410
411 [data-validation] .floating-input input ~ .error-msg 411 [data-validation] .floating-input input ~ .error-msg
412 { 412 {
413 margin-top: 0.5rem; 413 margin-top: 0.5rem;
414 color: #C11D27; 414 color: #C11D27;
415 display: block; 415 display: block;
416 visibility: hidden; 416 visibility: hidden;
417 } 417 }
418 418
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 #dialog .table.list li button[aria-checked="true"] 894 #dialog .table.list li button[aria-checked="true"]
895 { 895 {
896 color: #BBB; 896 color: #BBB;
897 } 897 }
898 898
899 #dialog .table.list li button[aria-checked="true"]::before 899 #dialog .table.list li button[aria-checked="true"]::before
900 { 900 {
901 content: ""; 901 content: "";
902 width: 1.3rem; 902 width: 1.3rem;
903 height: 1.3rem; 903 height: 1.3rem;
904 background-image: url(icons/checkmark.svg?2#default); 904 background-image: url(icons/checkmark.svg?default#default);
905 margin: 0rem; 905 margin: 0rem;
906 } 906 }
907 907
908 #dialog .table.list li button .display 908 #dialog .table.list li button .display
909 { 909 {
910 flex: none; 910 flex: none;
911 margin: 0rem 0.8rem; 911 margin: 0rem 0.8rem;
912 text-transform: none; 912 text-transform: none;
913 font-weight: 400; 913 font-weight: 400;
914 } 914 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 background-image: url(icons/globe.svg); 1222 background-image: url(icons/globe.svg);
1223 } 1223 }
1224 1224
1225 .context-menu .source::before 1225 .context-menu .source::before
1226 { 1226 {
1227 background-image: url(icons/code.svg); 1227 background-image: url(icons/code.svg);
1228 } 1228 }
1229 1229
1230 .context-menu .delete::before 1230 .context-menu .delete::before
1231 { 1231 {
1232 background-image: url(icons/trash.svg?3#default); 1232 background-image: url(icons/trash.svg?default#default);
1233 } 1233 }
1234 1234
1235 /* 1235 /*
1236 Help tab content 1236 Help tab content
1237 */ 1237 */
1238 1238
1239 html:not([lang="zh"]) #social-chinese, 1239 html:not([lang="zh"]) #social-chinese,
1240 html[lang="zh"] #social-general 1240 html[lang="zh"] #social-general
1241 { 1241 {
1242 display: none; 1242 display: none;
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1346 } 1346 }
1347 1347
1348 #dialog-close::before, 1348 #dialog-close::before,
1349 #hide-notification::after 1349 #hide-notification::after
1350 { 1350 {
1351 content: ""; 1351 content: "";
1352 display: block; 1352 display: block;
1353 height: 1rem; 1353 height: 1rem;
1354 width: 1rem; 1354 width: 1rem;
1355 border: 0rem; 1355 border: 0rem;
1356 background-image: url(icons/delete.svg?1#primary); 1356 background-image: url(icons/delete.svg?primary#primary);
1357 } 1357 }
1358 1358
1359 #dialog-close:hover::before 1359 #dialog-close:hover::before
1360 { 1360 {
1361 background-image: url(icons/delete.svg?2#primary-hover); 1361 background-image: url(icons/delete.svg?primary-hover#primary-hover);
1362 } 1362 }
1363 1363
1364 #dialog #dialog-body 1364 #dialog #dialog-body
1365 { 1365 {
1366 max-height: 60vh; 1366 max-height: 60vh;
1367 overflow: auto; 1367 overflow: auto;
1368 } 1368 }
1369 1369
1370 .dialog-content 1370 .dialog-content
1371 { 1371 {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 text-align: center; 1468 text-align: center;
1469 } 1469 }
1470 1470
1471 #hide-notification 1471 #hide-notification
1472 { 1472 {
1473 margin: 0rem 1rem; 1473 margin: 0rem 1rem;
1474 } 1474 }
1475 1475
1476 #hide-notification::after 1476 #hide-notification::after
1477 { 1477 {
1478 background-image: url(icons/delete.svg?3#secondary); 1478 background-image: url(icons/delete.svg?secondary#secondary);
1479 } 1479 }
1480 1480
1481 #hide-notification:hover::after 1481 #hide-notification:hover::after
1482 { 1482 {
1483 background-image: url(icons/delete.svg?4#secondary-hover); 1483 background-image: url(icons/delete.svg?secondary-hover#secondary-hover);
1484 } 1484 }
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