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

Delta Between Two Patch Sets: skin/options.css

Issue 29332808: Issue 2408 - Improved accessibility of checkboxes in options page (Closed)
Left Patch Set: Created Dec. 16, 2015, 1:31 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « options.js ('k') | 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-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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 button[role="checkbox"] 95 button[role="checkbox"]
96 { 96 {
97 vertical-align: top; 97 vertical-align: top;
98 width: 18px; 98 width: 18px;
99 height: 18px; 99 height: 18px;
100 margin-top: 0px; 100 margin-top: 0px;
101 -moz-margin-end: 20px; 101 -moz-margin-end: 20px;
102 -webkit-margin-end: 20px; 102 -webkit-margin-end: 20px;
103 padding: 0px 0px 0px 0px; 103 padding: 0px;
104 border: none; 104 border: none;
105 background-color: transparent; 105 background-color: transparent;
106 background-position: -51px 0px; 106 background-position: -51px 0px;
107 } 107 }
108 108
109 button[role="checkbox"][aria-checked="true"] 109 button[role="checkbox"][aria-checked="true"]
110 { 110 {
111 background-position: -68px 0px; 111 background-position: -68px 0px;
112 } 112 }
113 113
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 { 281 {
282 display: none; 282 display: none;
283 } 283 }
284 284
285 #tab-share:lang(zh) + li, 285 #tab-share:lang(zh) + li,
286 #tab-share[hidden] + li 286 #tab-share[hidden] + li
287 { 287 {
288 border-top: none; 288 border-top: none;
289 } 289 }
290 290
291 #tab-content 291 #content
292 { 292 {
293 background-color: #FFFFFF; 293 background-color: #FFFFFF;
294 border: 1px solid #CDCDCD; 294 border: 1px solid #CDCDCD;
295 border-radius: 8px; 295 border-radius: 8px;
296 box-sizing: border-box; 296 box-sizing: border-box;
297 min-width: 960px; 297 min-width: 960px;
298 padding: 0px 60px 40px 60px; 298 padding: 0px 60px 40px 60px;
299 } 299 }
300 300
301 #tab-content h1 301 #content h1
302 { 302 {
303 border-bottom: 1px solid #CDCDCD; 303 border-bottom: 1px solid #CDCDCD;
304 margin: 0px; 304 margin: 0px;
305 padding: 40px 0px 16px 0px; 305 padding: 40px 0px 16px 0px;
306 } 306 }
307 307
308 #link-version 308 #link-version
309 { 309 {
310 display: flex; 310 display: flex;
311 margin: 12px 20px; 311 margin: 12px 20px;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 padding: 14px 0px; 356 padding: 14px 0px;
357 -webkit-padding-start: 16px; 357 -webkit-padding-start: 16px;
358 -moz-padding-start: 16px; 358 -moz-padding-start: 16px;
359 } 359 }
360 360
361 .table.list li .display 361 .table.list li .display
362 { 362 {
363 flex: 1; 363 flex: 1;
364 } 364 }
365 365
366 .table.list li:nth-child(odd) 366 .table.list li:nth-child(odd),
367 { 367 .table.cols li:nth-child(even),
368 background-color: #F5F5F5; 368 .table li.empty-placeholder
369 }
370
371 .table.cols li:nth-child(even)
372 { 369 {
373 background-color: #F5F5F5; 370 background-color: #F5F5F5;
374 } 371 }
375 372
376 .table label 373 .table label
377 { 374 {
378 vertical-align: top; 375 vertical-align: top;
379 } 376 }
380 377
381 .table.cols span 378 .table.cols span
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 { 410 {
414 background-color: #CDCDCD; 411 background-color: #CDCDCD;
415 border-radius: 5px; 412 border-radius: 5px;
416 padding: 0px 40px; 413 padding: 0px 40px;
417 } 414 }
418 415
419 .table::-webkit-scrollbar-thumb:hover, 416 .table::-webkit-scrollbar-thumb:hover,
420 #custom-wrapper::-webkit-scrollbar-thumb:hover 417 #custom-wrapper::-webkit-scrollbar-thumb:hover
421 { 418 {
422 background-color: #A1A1A1; 419 background-color: #A1A1A1;
420 }
421
422 .table input[type="checkbox"]
423 {
424 margin-top: 0px;
425 -moz-margin-end: 20px;
426 -webkit-margin-end: 20px;
427 padding: 0px 0px 0px 0px;
428 visibility: hidden;
429 }
430
431 .table input[type="checkbox"]::before
432 {
433 content: "";
434 background-position: -51px 0px;
435 height: 18px;
436 width: 18px;
437 visibility: visible;
438 }
439
440 .table input[type="checkbox"]:checked::before
441 {
442 content: "";
443 background-position: -68px 0px;
444 height: 18px;
445 padding: 0px;
446 width: 18px;
447 visibility: visible;
423 } 448 }
424 449
425 .table button.delete 450 .table button.delete
426 { 451 {
427 background-color: transparent; 452 background-color: transparent;
428 background-position: -9px -32px; 453 background-position: -9px -32px;
429 border: 0px; 454 border: 0px;
430 height: 10px; 455 height: 10px;
431 margin-top: 5px; 456 margin-top: 5px;
432 -moz-margin-end: 20px; 457 -moz-margin-end: 20px;
(...skipping 28 matching lines...) Expand all
461 } 486 }
462 487
463 .tabs.horizontal li.active 488 .tabs.horizontal li.active
464 { 489 {
465 border-bottom: 2px solid #1E8728; 490 border-bottom: 2px solid #1E8728;
466 color: black; 491 color: black;
467 font-weight: 600; 492 font-weight: 600;
468 padding-bottom: 10px; 493 padding-bottom: 10px;
469 } 494 }
470 495
471 .icon, 496 .icon, .table button[role="checkbox"], .table button.delete,
472 button[role="checkbox"], 497 #content-help a::before, #dialog-close::before,
473 .table button.delete,
474 #content-help a::before,
475 #dialog-close::before,
476 #custom-filters-add button::after, 498 #custom-filters-add button::after,
477 #dialog-body button::before 499 #dialog-body button::before
478 { 500 {
479 background-image: url(options-sprite.png); 501 background-image: url(options-sprite.png);
480 display: inline-block; 502 display: inline-block;
481 } 503 }
482 504
483 .icon-add 505 .icon-add
484 { 506 {
485 background-position: -0px -0px; 507 background-position: -0px -0px;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 592
571 #custom-wrapper .table 593 #custom-wrapper .table
572 { 594 {
573 width: 100%; 595 width: 100%;
574 } 596 }
575 597
576 #whitelisting .controls 598 #whitelisting .controls
577 { 599 {
578 -moz-padding-start: 12px; 600 -moz-padding-start: 12px;
579 -webkit-padding-start: 12px; 601 -webkit-padding-start: 12px;
602 }
603
604 #whitelisting .controls.mode-edit > button,
605 #whitelisting .controls:not(.mode-edit) > div
606 {
607 display: none;
580 } 608 }
581 609
582 #whitelisting .controls input[type="text"] 610 #whitelisting .controls input[type="text"]
583 { 611 {
584 border: 0px; 612 border: 0px;
585 border-bottom: 1px solid #A1A1A1; 613 border-bottom: 1px solid #A1A1A1;
586 -moz-padding-end: 25px; 614 -moz-padding-end: 25px;
587 -webkit-padding-end: 25px; 615 -webkit-padding-end: 25px;
588 -moz-margin-start: 14px; 616 -moz-margin-start: 14px;
589 -webkit-margin-start: 14px; 617 -webkit-margin-start: 14px;
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
1093 #other-language .button-add::before 1121 #other-language .button-add::before
1094 { 1122 {
1095 display: none; 1123 display: none;
1096 } 1124 }
1097 1125
1098 #other-language .display 1126 #other-language .display
1099 { 1127 {
1100 -webkit-margin-start: 10px; 1128 -webkit-margin-start: 10px;
1101 -moz-margin-start: 10px; 1129 -moz-margin-start: 10px;
1102 } 1130 }
LEFTRIGHT
« options.js ('k') | 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