Bug 1388444 - Make about:preferences category focus color noticeable r?jaws draft
authorRicky Chien <ricky060709@gmail.com>
Fri, 11 Aug 2017 16:56:55 +0800
changeset 646416 4c37c2cf29a1614e27f0375c3f8cb2ee72191ddd
parent 646265 b95b1638db48fc3d450b95b98da6bcd2f9326d2f
child 726231 4ae13077bda0aa268aacb1dc958bb8bee7a9d674
push id74110
push userbmo:rchien@mozilla.com
push dateTue, 15 Aug 2017 07:17:15 +0000
reviewersjaws
bugs1388444
milestone57.0a1
Bug 1388444 - Make about:preferences category focus color noticeable r?jaws
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -17,16 +17,17 @@
   --in-content-box-background-hover: #ebebeb;
   --in-content-box-background-active: #dadada;
   --in-content-box-border-color: #c1c1c1;
   --in-content-item-hover: rgba(0,149,221,0.25);
   --in-content-item-selected: #0a84ff;
   --in-content-border-highlight: #0a84ff;
   --in-content-border-focus: #0a84ff;
   --in-content-border-color: #c1c1c1;
+  --in-content-category-border-focus: 1px dotted #0a84ff;
   --in-content-category-text: #0c0c0d;
   --in-content-category-text-selected: #0a84ff;
   --in-content-tab-color: #424f5a;
   --in-content-link-color: #0a84ff;
   --in-content-link-color-hover: #0060df;
   --in-content-link-color-active: #ff9500;
   --in-content-link-color-visited: #551a8b;
   --in-content-primary-button-background: #0a84ff;
@@ -651,18 +652,18 @@ xul|*.radio-label-box {
 
 *|*.category[selected],
 *|*.category.selected {
   color: var(--in-content-category-text-selected);
   background: none;
 }
 
 *|*#categories[keyboard-navigation="true"]:-moz-focusring > *|*.category[current] {
-  border-top: var(--in-content-category-border-focus);
-  border-bottom: var(--in-content-category-border-focus);
+  border: var(--in-content-category-border-focus);
+  border-inline-start: none;
 }
 
 *|*.category-name {
   line-height: 22px;
   font-size: 1.45rem;
   padding-bottom: 2px;
   padding-inline-start: 9px;
   margin: 0;