Bug 1077404 - subviewradio elements in panic button panel are elliptical and labels get borders, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Mon, 06 Oct 2014 20:00:49 +0100
changeset 209756 ef3a36ab3dedddd4952f3b9d31e0e80dbddeea62
parent 209755 08261d2edbedd123698ce95523ac56726cfee659
child 209757 a0ee07b214da2f2ffe82d2d4d7c2d0801fa77c20
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersjaws
bugs1077404
milestone35.0a1
Bug 1077404 - subviewradio elements in panic button panel are elliptical and labels get borders, r=jaws
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
@@ -1157,16 +1157,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);
 }