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 Dec. 16, 2015, 1:31 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
« no previous file with comments | « 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 0px 0px 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 border-radius: 5px; 415 border-radius: 5px;
397 padding: 0px 40px; 416 padding: 0px 40px;
398 } 417 }
399 418
400 .table::-webkit-scrollbar-thumb:hover, 419 .table::-webkit-scrollbar-thumb:hover,
401 #custom-wrapper::-webkit-scrollbar-thumb:hover 420 #custom-wrapper::-webkit-scrollbar-thumb:hover
402 { 421 {
403 background-color: #A1A1A1; 422 background-color: #A1A1A1;
404 } 423 }
405 424
406 .table input[type="checkbox"]
407 {
408 margin-top: 0px;
409 -moz-margin-end: 20px;
410 -webkit-margin-end: 20px;
411 padding: 0px 0px 0px 0px;
412 visibility: hidden;
413 }
414
415 .table input[type="checkbox"]::before
416 {
417 content: "";
418 background-position: -51px 0px;
419 height: 18px;
420 width: 18px;
421 visibility: visible;
422 }
423
424 .table input[type="checkbox"]:checked::before
425 {
426 content: "";
427 background-position: -68px 0px;
428 height: 18px;
429 padding: 0px;
430 width: 18px;
431 visibility: visible;
432 }
433
434 .table button.delete 425 .table button.delete
435 { 426 {
436 background-color: transparent; 427 background-color: transparent;
437 background-position: -9px -32px; 428 background-position: -9px -32px;
438 border: 0px; 429 border: 0px;
439 height: 10px; 430 height: 10px;
440 margin-top: 5px; 431 margin-top: 5px;
441 -moz-margin-end: 20px; 432 -moz-margin-end: 20px;
442 -webkit-margin-end: 20px; 433 -webkit-margin-end: 20px;
443 padding: 0px; 434 padding: 0px;
(...skipping 26 matching lines...) Expand all
470 } 461 }
471 462
472 .tabs.horizontal li.active 463 .tabs.horizontal li.active
473 { 464 {
474 border-bottom: 2px solid #1E8728; 465 border-bottom: 2px solid #1E8728;
475 color: black; 466 color: black;
476 font-weight: 600; 467 font-weight: 600;
477 padding-bottom: 10px; 468 padding-bottom: 10px;
478 } 469 }
479 470
480 .icon, .table input[type="checkbox"]::before, .table button.delete, 471 .icon,
481 #content-help a::before, #dialog-close::before, 472 button[role="checkbox"],
473 .table button.delete,
474 #content-help a::before,
475 #dialog-close::before,
482 #custom-filters-add button::after, 476 #custom-filters-add button::after,
483 #dialog-body button::before 477 #dialog-body button::before
484 { 478 {
485 background-image: url(options-sprite.png); 479 background-image: url(options-sprite.png);
486 display: inline-block; 480 display: inline-block;
487 } 481 }
488 482
489 .icon-add 483 .icon-add
490 { 484 {
491 background-position: -0px -0px; 485 background-position: -0px -0px;
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1099 #other-language .button-add::before 1093 #other-language .button-add::before
1100 { 1094 {
1101 display: none; 1095 display: none;
1102 } 1096 }
1103 1097
1104 #other-language .display 1098 #other-language .display
1105 { 1099 {
1106 -webkit-margin-start: 10px; 1100 -webkit-margin-start: 10px;
1107 -moz-margin-start: 10px; 1101 -moz-margin-start: 10px;
1108 } 1102 }
OLDNEW
« no previous file with comments | « options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld