Bug 1495442 - Reduce specificity of toolbarbutton[checked] rule. r=paolo
authorDão Gottwald <dao@mozilla.com>
Tue, 02 Oct 2018 09:58:16 +0000
changeset 494848 c3b6b9b52356f88346eb6396f6e649e8c27549b1
parent 494847 cd7aa09c2b6231c821d489496b6f1a928c28ae98
child 494849 554b31d816d181e8094e27f148f1240b3528e721
push id9984
push userffxbld-merge
push dateMon, 15 Oct 2018 21:07:35 +0000
treeherdermozilla-beta@183d27ea8570 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaolo
bugs1495442
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1495442 - Reduce specificity of toolbarbutton[checked] rule. r=paolo Differential Revision: https://phabricator.services.mozilla.com/D7391
toolkit/themes/linux/global/toolbarbutton.css
--- a/toolkit/themes/linux/global/toolbarbutton.css
+++ b/toolkit/themes/linux/global/toolbarbutton.css
@@ -26,33 +26,33 @@ toolbarbutton {
   margin: 0;
   text-align: center;
 }
 
 toolbarbutton.tabbable {
   -moz-user-focus: normal !important;
 }
 
+toolbarbutton[checked="true"] {
+  color: ButtonText;
+}
+
 toolbarbutton:hover {
   color: -moz-buttonhovertext;
 }
 
 toolbarbutton:hover:active:not([disabled="true"]),
 toolbarbutton[open="true"] {
   color: ButtonText;
 }
 
 toolbarbutton[disabled="true"] {
   color: GrayText;
 }
 
-toolbarbutton[checked="true"]:not(:hover) {
-  color: ButtonText;
-}
-
 toolbarbutton:-moz-lwtheme:not(:hover):not([checked="true"]):not([open="true"]):not([disabled="true"]) {
   text-shadow: inherit;
 }
 
 /* ::::: toolbarbutton menu ::::: */
 
 .toolbarbutton-menu-dropmarker {
   -moz-appearance: toolbarbutton-dropdown;