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: Reverted styles for Advanced tab Created Jan. 25, 2016, 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
« 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;
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 } 486 }
468 487
469 .tabs.horizontal li.active 488 .tabs.horizontal li.active
470 { 489 {
471 border-bottom: 2px solid #1E8728; 490 border-bottom: 2px solid #1E8728;
472 color: black; 491 color: black;
473 font-weight: 600; 492 font-weight: 600;
474 padding-bottom: 10px; 493 padding-bottom: 10px;
475 } 494 }
476 495
477 .icon, .table input[type="checkbox"]::before, .table button.delete, 496 .icon, .table button[role="checkbox"], .table button.delete,
478 #content-help a::before, #dialog-close::before, 497 #content-help a::before, #dialog-close::before,
479 #custom-filters-add button::after, 498 #custom-filters-add button::after,
480 #dialog-body button::before 499 #dialog-body button::before
481 { 500 {
482 background-image: url(options-sprite.png); 501 background-image: url(options-sprite.png);
483 display: inline-block; 502 display: inline-block;
484 } 503 }
485 504
486 .icon-add 505 .icon-add
487 { 506 {
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 #other-language .button-add::before 1121 #other-language .button-add::before
1103 { 1122 {
1104 display: none; 1123 display: none;
1105 } 1124 }
1106 1125
1107 #other-language .display 1126 #other-language .display
1108 { 1127 {
1109 -webkit-margin-start: 10px; 1128 -webkit-margin-start: 10px;
1110 -moz-margin-start: 10px; 1129 -moz-margin-start: 10px;
1111 } 1130 }
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