Bug 1000744: re-introduce a checked state for panel-menu buttons. r=MattN.
authorMike de Boer <mdeboer@mozilla.com>
Thu, 24 Apr 2014 10:39:12 +0200
changeset 180140 0bfe1f94e8748674542edc4333bd6810b71f802d
parent 180139 df9f33c5a49d8f1c716f2b8c93f522deda4d7527
child 180141 548827cce8d7209cb5604ced64d3c4b77ef49b95
push id6506
push usermdeboer@mozilla.com
push dateFri, 25 Apr 2014 14:33:14 +0000
treeherderfx-team@0bfe1f94e874 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1000744
milestone31.0a1
Bug 1000744: re-introduce a checked state for panel-menu buttons. r=MattN.
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -723,17 +723,17 @@ menuitem.subviewbutton@menuStateHover@,
   background-color: hsla(210,4%,10%,.08);
   border-color: hsla(210,4%,10%,.11);
 }
 
 .toolbaritem-combined-buttons@inAnyPanel@@buttonStateHover@ {
   border-color: hsla(210,4%,10%,.11);
 }
 
-panelview .toolbarbutton-1@buttonStateActive@,
+panelview .toolbarbutton-1:-moz-any(@buttonStateActive@,[checked=true]),
 toolbarbutton.subviewbutton@buttonStateActive@,
 menu.subviewbutton@menuStateActive@,
 menuitem.subviewbutton@menuStateActive@,
 .widget-overflow-list .toolbarbutton-1@buttonStateActive@,
 .toolbaritem-combined-buttons@inAnyPanel@ > toolbarbutton@buttonStateActive@ {
   background-color: hsla(210,4%,10%,.12);
   border-color: hsla(210,4%,10%,.14);
   box-shadow: 0 1px 0 hsla(210,4%,10%,.03) inset;