Bug 1501254 - Make panel banner items not change their text color on hover. r=Gijs
authorDão Gottwald <dao@mozilla.com>
Tue, 23 Oct 2018 12:57:51 +0000
changeset 442557 ac5060eb361cd23100e28128f810020f2e422878
parent 442556 50d03049245af423292d4c69621cfd1c3159401f
child 442558 3d81c51cff40762dc072c89c81458bd3b548e913
push id71537
push userdgottwald@mozilla.com
push dateTue, 23 Oct 2018 12:58:45 +0000
treeherderautoland@ac5060eb361c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1501254
milestone65.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 1501254 - Make panel banner items not change their text color on hover. r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D9505
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -821,31 +821,31 @@ toolbarbutton[constrain-size="true"][cui
   visibility: collapse;
 }
 
 #PanelUI-remotetabs-main[devices-status="single"] > #PanelUI-remotetabs-buttons {
   display: none;
 }
 
 .panel-banner-item {
-  color: black;
+  color: black !important /* !important overrides the toolbarbutton:hover default style on Linux */;
   background-color: hsla(96,65%,75%,.5);
 }
 
 .panel-banner-item:not([disabled]):hover {
   background-color: hsla(96,65%,75%,.8);
 }
 
 .panel-banner-item:not([disabled]):hover:active {
   background-color: hsl(96,65%,75%);
 }
 
 :root[lwt-popup-brighttext] .panel-banner-item:not([disabled]) {
   background-color: rgba(48,230,11,.1);
-  color: #F9F9FA;
+  color: #F9F9FA !important;
 }
 
 :root[lwt-popup-brighttext] .panel-banner-item:not([disabled]):hover {
   background-color: rgba(48,230,11,.15);
 }
 
 :root[lwt-popup-brighttext] .panel-banner-item:not([disabled]):active {
   background-color: rgba(48,230,11,.2);