Bug 1340539 - Remove hover state from .checked text-only buttons. r=jryans draft
authorTim Nguyen <ntim.bugs@gmail.com>
Fri, 17 Feb 2017 15:04:05 +0000
changeset 486083 282f811058a9317bdb90df1740caad2e6eecd581
parent 486082 d226bf0c5b39384fec0a48da7a7d5a8da92b7ef5
child 546169 43ed061f6ebdc8dfbcafc9656cec4a6853de225a
push id45900
push userbmo:ntim.bugs@gmail.com
push dateFri, 17 Feb 2017 15:04:43 +0000
reviewersjryans
bugs1340539
milestone54.0a1
Bug 1340539 - Remove hover state from .checked text-only buttons. r=jryans MozReview-Commit-ID: HsoI1kLxRnZ
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -330,17 +330,17 @@ checkbox:-moz-focusring {
   padding: 0 5px;
 }
 
 .devtools-toolbarbutton:not([label]):hover,
 .devtools-button:empty:not(:disabled):hover {
   background: var(--toolbarbutton-background);
 }
 
-.devtools-button:not(:empty):not(:disabled):hover,
+.devtools-button:not(:empty):not(:disabled):not(.checked):hover,
 .devtools-toolbarbutton[label]:not(:-moz-any([checked=true],[disabled])):hover,
 .devtools-button:empty:not(:disabled):-moz-any(:hover:active,.checked),
 .devtools-toolbarbutton:not([label]):-moz-any([checked],[open],:hover:active) {
   background: var(--toolbarbutton-hover-background);
   border-color: var(--toolbarbutton-hover-border-color);
 }
 
 .devtools-button:not(:empty):not(.checked):not(:disabled):hover:active,