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

Side by Side Diff: skin/options.css

Issue 29332808: Issue 2408 - Improved accessibility of checkboxes in options page (Closed)
Patch Set: Created Jan. 19, 2016, 3:10 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
« options.js ('K') | « 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-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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 display: none; 85 display: none;
86 } 86 }
87 87
88 input[type="text"], input[type="search"] 88 input[type="text"], input[type="search"]
89 { 89 {
90 -webkit-box-sizing: border-box; 90 -webkit-box-sizing: border-box;
91 -moz-box-sizing: border-box; 91 -moz-box-sizing: border-box;
92 box-sizing: border-box; 92 box-sizing: border-box;
93 } 93 }
94 94
95 button[role="checkbox"]
96 {
97 vertical-align: top;
98 width: 18px;
99 height: 18px;
100 margin-top: 0px;
101 -moz-margin-end: 20px;
102 -webkit-margin-end: 20px;
103 padding: 0px;
104 border: none;
105 background-color: transparent;
106 background-position: -51px 0px;
107 }
108
109 button[role="checkbox"][aria-checked="true"]
110 {
111 background-position: -68px 0px;
112 }
113
95 .option-name 114 .option-name
96 { 115 {
97 display: flex; 116 display: flex;
98 margin-bottom: 16px; 117 margin-bottom: 16px;
99 margin-top: 24px; 118 margin-top: 24px;
100 } 119 }
101 120
102 .option-name > :first-child 121 .option-name > :first-child
103 { 122 {
104 flex: 1; 123 flex: 1;
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 { 281 {
263 display: none; 282 display: none;
264 } 283 }
265 284
266 #tab-share:lang(zh) + li, 285 #tab-share:lang(zh) + li,
267 #tab-share[hidden] + li 286 #tab-share[hidden] + li
268 { 287 {
269 border-top: none; 288 border-top: none;
270 } 289 }
271 290
272 #tab-content 291 #content
273 { 292 {
274 background-color: #FFFFFF; 293 background-color: #FFFFFF;
275 border: 1px solid #CDCDCD; 294 border: 1px solid #CDCDCD;
276 border-radius: 8px; 295 border-radius: 8px;
277 box-sizing: border-box; 296 box-sizing: border-box;
278 min-width: 960px; 297 min-width: 960px;
279 padding: 0px 60px 40px 60px; 298 padding: 0px 60px 40px 60px;
280 } 299 }
281 300
282 #tab-content h1 301 #content h1
283 { 302 {
284 border-bottom: 1px solid #CDCDCD; 303 border-bottom: 1px solid #CDCDCD;
285 margin: 0px; 304 margin: 0px;
286 padding: 40px 0px 16px 0px; 305 padding: 40px 0px 16px 0px;
287 } 306 }
288 307
289 #link-version 308 #link-version
290 { 309 {
291 display: flex; 310 display: flex;
292 margin: 12px 20px; 311 margin: 12px 20px;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 border-radius: 5px; 412 border-radius: 5px;
394 padding: 0px 40px; 413 padding: 0px 40px;
395 } 414 }
396 415
397 .table::-webkit-scrollbar-thumb:hover, 416 .table::-webkit-scrollbar-thumb:hover,
398 #custom-wrapper::-webkit-scrollbar-thumb:hover 417 #custom-wrapper::-webkit-scrollbar-thumb:hover
399 { 418 {
400 background-color: #A1A1A1; 419 background-color: #A1A1A1;
401 } 420 }
402 421
403 .table input[type="checkbox"]
saroyanm 2016/01/25 14:45:44 I think this style changes also belong to blocking
Thomas Greiner 2016/01/25 18:04:21 Done.
404 {
405 margin-top: 0px;
406 -moz-margin-end: 20px;
407 -webkit-margin-end: 20px;
408 padding: 0px 0px 0px 0px;
409 visibility: hidden;
410 }
411
412 .table input[type="checkbox"]::before
413 {
414 content: "";
415 background-position: -51px 0px;
416 height: 18px;
417 width: 18px;
418 visibility: visible;
419 }
420
421 .table input[type="checkbox"]:checked::before
422 {
423 content: "";
424 background-position: -68px 0px;
425 height: 18px;
426 padding: 0px;
427 width: 18px;
428 visibility: visible;
429 }
430
431 .table button.delete 422 .table button.delete
432 { 423 {
433 background-color: transparent; 424 background-color: transparent;
434 background-position: -9px -32px; 425 background-position: -9px -32px;
435 border: 0px; 426 border: 0px;
436 height: 10px; 427 height: 10px;
437 margin-top: 5px; 428 margin-top: 5px;
438 -moz-margin-end: 20px; 429 -moz-margin-end: 20px;
439 -webkit-margin-end: 20px; 430 -webkit-margin-end: 20px;
440 padding: 0px; 431 padding: 0px;
(...skipping 26 matching lines...) Expand all
467 } 458 }
468 459
469 .tabs.horizontal li.active 460 .tabs.horizontal li.active
470 { 461 {
471 border-bottom: 2px solid #1E8728; 462 border-bottom: 2px solid #1E8728;
472 color: black; 463 color: black;
473 font-weight: 600; 464 font-weight: 600;
474 padding-bottom: 10px; 465 padding-bottom: 10px;
475 } 466 }
476 467
477 .icon, .table input[type="checkbox"]::before, .table button.delete, 468 .icon,
478 #content-help a::before, #dialog-close::before, 469 button[role="checkbox"],
470 .table button.delete,
471 #content-help a::before,
472 #dialog-close::before,
479 #custom-filters-add button::after, 473 #custom-filters-add button::after,
480 #dialog-body button::before 474 #dialog-body button::before
481 { 475 {
482 background-image: url(options-sprite.png); 476 background-image: url(options-sprite.png);
483 display: inline-block; 477 display: inline-block;
484 } 478 }
485 479
486 .icon-add 480 .icon-add
487 { 481 {
488 background-position: -0px -0px; 482 background-position: -0px -0px;
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 #other-language .button-add::before 1096 #other-language .button-add::before
1103 { 1097 {
1104 display: none; 1098 display: none;
1105 } 1099 }
1106 1100
1107 #other-language .display 1101 #other-language .display
1108 { 1102 {
1109 -webkit-margin-start: 10px; 1103 -webkit-margin-start: 10px;
1110 -moz-margin-start: 10px; 1104 -moz-margin-start: 10px;
1111 } 1105 }
OLDNEW
« options.js ('K') | « options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld