Bug 1077404 - subviewradio elements in panic button panel are elliptical and labels get borders. r=jaws, a=lmandel
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Oct 2014 20:00:49 +0100
changeset 225746 2418d9e17dd0
parent 225745 6609fd74488b
child 225747 fc032520a26e
push id3999
push userryanvm@gmail.com
push date2014-10-20 16:11 +0000
treeherdermozilla-beta@2418d9e17dd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws, lmandel
bugs1077404
milestone34.0
Bug 1077404 - subviewradio elements in panic button panel are elliptical and labels get borders. r=jaws, a=lmandel
browser/themes/linux/customizableui/panelUIOverlay.css
browser/themes/shared/customizableui/panelUIOverlay.inc.css
--- a/browser/themes/linux/customizableui/panelUIOverlay.css
+++ b/browser/themes/linux/customizableui/panelUIOverlay.css
@@ -90,8 +90,12 @@ menu.subviewbutton > .menu-right:-moz-lo
 }
 
 .PanelUI-subView toolbarseparator,
 .PanelUI-subView menuseparator,
 .cui-widget-panelview menuseparator,
 #PanelUI-footer-inner > toolbarseparator {
   -moz-appearance: none !important;
 }
+
+.subviewradio > .radio-label-box {
+  -moz-appearance: none;
+}
--- a/browser/themes/shared/customizableui/panelUIOverlay.inc.css
+++ b/browser/themes/shared/customizableui/panelUIOverlay.inc.css
@@ -1151,16 +1151,17 @@ menuitem[checked="true"].subviewbutton >
 #PanelUI-panic-timeframe-icon-small:-moz-locale-dir(rtl),
 #PanelUI-panic-timeframe-icon:-moz-locale-dir(rtl) {
   transform: scaleX(-1);
 }
 
 .subviewradio {
   -moz-binding: url(chrome://global/content/bindings/radio.xml#radio);
   -moz-appearance: none;
+  -moz-box-align: center;
   padding: 1px;
   margin: 0 0 2px;
   background-color: hsla(210,4%,10%,0);
   border-radius: 2px;
   border-width: 1px;
   border-style: solid;
   border-color: hsla(210,4%,10%,0);
 }