 Issue 29323156:
  Issue 2410 - Improved accessibility of dialogs in options page  (Closed)
    
  
    Issue 29323156:
  Issue 2410 - Improved accessibility of dialogs in options page  (Closed) 
  | Left: | ||
| Right: | 
| LEFT | RIGHT | 
|---|---|
| 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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 473 { | 473 { | 
| 474 border-bottom: 2px solid #1E8728; | 474 border-bottom: 2px solid #1E8728; | 
| 475 color: black; | 475 color: black; | 
| 476 font-weight: 600; | 476 font-weight: 600; | 
| 477 padding-bottom: 10px; | 477 padding-bottom: 10px; | 
| 478 } | 478 } | 
| 479 | 479 | 
| 480 .icon, .table input[type="checkbox"]::before, .table button.delete, | 480 .icon, .table input[type="checkbox"]::before, .table button.delete, | 
| 481 #content-help a::before, #dialog-close::before, | 481 #content-help a::before, #dialog-close::before, | 
| 482 #custom-filters-add button::after, | 482 #custom-filters-add button::after, | 
| 483 #dialog-body button::before | 483 #dialog-body button::before | 
| 
saroyanm
2015/10/01 16:31:40
Nit: should not exceed the 80 char limit if you pu
 
saroyanm
2015/10/01 17:27:04
Just noticed that the consistency in either case i
 | |
| 484 { | 484 { | 
| 485 background-image: url(options-sprite.png); | 485 background-image: url(options-sprite.png); | 
| 486 display: inline-block; | 486 display: inline-block; | 
| 487 } | 487 } | 
| 488 | 488 | 
| 489 .icon-add | 489 .icon-add | 
| 490 { | 490 { | 
| 491 background-position: -0px -0px; | 491 background-position: -0px -0px; | 
| 492 cursor: pointer; | 492 cursor: pointer; | 
| 493 height: 18px; | 493 height: 18px; | 
| (...skipping 10 matching lines...) Expand all Loading... | |
| 504 | 504 | 
| 505 .icon-edit | 505 .icon-edit | 
| 506 { | 506 { | 
| 507 background-position: -17px -0px; | 507 background-position: -17px -0px; | 
| 508 cursor: pointer; | 508 cursor: pointer; | 
| 509 height: 18px; | 509 height: 18px; | 
| 510 width: 18px; | 510 width: 18px; | 
| 511 } | 511 } | 
| 512 | 512 | 
| 513 #content-help a::before, | 513 #content-help a::before, | 
| 514 #dialog-body button::before | 514 #dialog-body button::before | 
| 
saroyanm
2015/10/01 16:31:41
Nit: should not exceed the 80 char limit if you pu
 
Thomas Greiner
2015/10/02 10:27:29
Sure but it's more readable if each selector is on
 
saroyanm
2015/10/02 13:18:50
I agree with you, from readability point of view h
 
Thomas Greiner
2015/10/02 14:17:32
Bigger files should not be an issue as long as the
 | |
| 515 { | 515 { | 
| 516 background-position: 0px -42px; | 516 background-position: 0px -42px; | 
| 517 content: ""; | 517 content: ""; | 
| 518 cursor: pointer; | 518 cursor: pointer; | 
| 519 height: 11px; | 519 height: 11px; | 
| 520 vertical-align: middle; | 520 vertical-align: middle; | 
| 521 width: 7px; | 521 width: 7px; | 
| 522 -moz-margin-end: 12px; | 522 -moz-margin-end: 12px; | 
| 
saroyanm
2015/10/01 16:31:40
Just as remark: I think from some point we should
 
Thomas Greiner
2015/10/02 10:27:29
Unfortunately, there's no standardized version yet
 
saroyanm
2015/10/02 13:18:50
I see, make sense also not use border-inline-start
 
Thomas Greiner
2015/10/02 14:17:32
I guess we can tackle that whenever we make change
 | |
| 523 -webkit-margin-end: 12px; | 523 -webkit-margin-end: 12px; | 
| 524 } | 524 } | 
| 525 | 525 | 
| 526 .controls | 526 .controls | 
| 527 { | 527 { | 
| 528 border-top: 1px solid #CDCDCD; | 528 border-top: 1px solid #CDCDCD; | 
| 529 padding-top: 8px; | 529 padding-top: 8px; | 
| 530 -moz-padding-start: 16px; | 530 -moz-padding-start: 16px; | 
| 531 -webkit-padding-start: 16px; | 531 -webkit-padding-start: 16px; | 
| 532 position: relative; | 532 position: relative; | 
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 997 -moz-margin-end: 6px; | 997 -moz-margin-end: 6px; | 
| 998 -webkit-margin-end: 6px; | 998 -webkit-margin-end: 6px; | 
| 999 } | 999 } | 
| 1000 | 1000 | 
| 1001 #dialog #dialog-body | 1001 #dialog #dialog-body | 
| 1002 { | 1002 { | 
| 1003 margin: 4px 24px; | 1003 margin: 4px 24px; | 
| 1004 } | 1004 } | 
| 1005 | 1005 | 
| 1006 #dialog h3, | 1006 #dialog h3, | 
| 1007 #dialog label | 1007 #dialog label | 
| 
saroyanm
2015/10/01 16:31:40
Nit: should not exceed the 80 char limit if you pu
 | |
| 1008 { | 1008 { | 
| 1009 font-size: 14px; | 1009 font-size: 14px; | 
| 1010 font-weight: 600; | 1010 font-weight: 600; | 
| 1011 margin: 0px; | 1011 margin: 0px; | 
| 1012 } | 1012 } | 
| 1013 | 1013 | 
| 1014 #dialog input[type="text"], | 1014 #dialog input[type="text"], | 
| 1015 #dialog input[type="search"] | 1015 #dialog input[type="search"] | 
| 1016 { | 1016 { | 
| 1017 font-size: 16px; | 1017 font-size: 16px; | 
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1053 #dialog-body button | 1053 #dialog-body button | 
| 1054 { | 1054 { | 
| 1055 background-color: #F5F5F5; | 1055 background-color: #F5F5F5; | 
| 1056 border: none; | 1056 border: none; | 
| 1057 color: #3A7BA6; | 1057 color: #3A7BA6; | 
| 1058 cursor: pointer; | 1058 cursor: pointer; | 
| 1059 display: block; | 1059 display: block; | 
| 1060 font-family: inherit; | 1060 font-family: inherit; | 
| 1061 margin-top: 8px; | 1061 margin-top: 8px; | 
| 1062 padding: 10px 16px; | 1062 padding: 10px 16px; | 
| 1063 text-align: left; | 1063 text-align: initial; | 
| 
saroyanm
2015/10/01 16:31:40
Please also consider the case for RTL.
 
Thomas Greiner
2015/10/02 10:27:29
Done.
 | |
| 1064 width: 100%; | 1064 width: 100%; | 
| 1065 } | 1065 } | 
| 1066 | 1066 | 
| 1067 #dialog .url | 1067 #dialog .url | 
| 1068 { | 1068 { | 
| 1069 margin-top: 10px; | 1069 margin-top: 10px; | 
| 1070 margin-bottom: 20px; | 1070 margin-bottom: 20px; | 
| 1071 word-wrap: break-word; | 1071 word-wrap: break-word; | 
| 1072 } | 1072 } | 
| 1073 | 1073 | 
| (...skipping 25 matching lines...) Expand all Loading... | |
| 1099 #other-language .button-add::before | 1099 #other-language .button-add::before | 
| 1100 { | 1100 { | 
| 1101 display: none; | 1101 display: none; | 
| 1102 } | 1102 } | 
| 1103 | 1103 | 
| 1104 #other-language .display | 1104 #other-language .display | 
| 1105 { | 1105 { | 
| 1106 -webkit-margin-start: 10px; | 1106 -webkit-margin-start: 10px; | 
| 1107 -moz-margin-start: 10px; | 1107 -moz-margin-start: 10px; | 
| 1108 } | 1108 } | 
| LEFT | RIGHT |