third part of syncing LCARStrek with Firefox 45-48 windows theme changes
[themes.git] / LCARStrek / browser / customizableui / panelUIOverlay.css
index 65e86d04ac9c009c731340640b3e68932e0014eb..047f512290ce4406fa7f3f7d44dafac9d9adebf0 100644 (file)
@@ -193,8 +193,8 @@ panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .pan
 
 .panelUI-grid .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text,
 .panelUI-grid .toolbarbutton-1 > .toolbarbutton-multiline-text {
-/*  line-height: 1.1;*/
-  max-height: 2.2em;
+/*  line-height: 1.2;*/
+  max-height: 2.4em;
 }
 
 .panelUI-grid .toolbarbutton-1:not([auto-hyphens="off"]) > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text,
@@ -205,7 +205,7 @@ panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .pan
 .panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-multiline-text,
 .panelUI-grid:not([customize-transitioning]) .toolbarbutton-1 > .toolbarbutton-multiline-text {
   position: absolute;
-  clip: rect(auto, auto, 2.3em, auto);
+  clip: rect(-0.1em, auto, 2.6em, auto);
 }
 
 .panelUI-grid .toolbarbutton-1 > .toolbarbutton-text,
@@ -234,6 +234,11 @@ panelmultiview[nosubviews=true] > .panel-viewcontainer > .panel-viewstack > .pan
   max-width: 30em;
 }
 
+/* Give WebExtension stand-alone panels extra width for Chrome compatibility */
+.cui-widget-panel[viewId^=PanelUI-webext-] .panel-mainview {
+  max-width: 800px;
+}
+
 panelview:not([mainview]) .toolbarbutton-text,
 .cui-widget-panel toolbarbutton > .toolbarbutton-text {
   text-align: start;
@@ -651,17 +656,20 @@ PanelUI-remotetabs-instruction-label,
   color: #A09090;
 }
 
-/* The boxes with "instructions" get extra padding for space around the
-   illustration and buttons */
+/* The boxes with "instructions" get extra top and bottom padding for space
+   around the illustration and buttons */
 .PanelUI-remotetabs-instruction-box {
-  padding: 30px 15px 15px 15px;
+  padding-bottom: 30px;
+  padding-top: 15px;
 }
 
 .PanelUI-remotetabs-prefs-button {
 /*
   -moz-appearance: none;
   background-color: #0096dd;
-  color: white;
+  / !important for the color as an OSX specific rule when a lightweight theme
+     is used for buttons in the toolbox overrides. See bug 1238531 for details /
+  color: white !important;
   border-radius: 2px;
   margin-top: 10px;
   margin-bottom: 10px;
@@ -708,7 +716,7 @@ PanelUI-remotetabs-instruction-label,
 #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-reauthsync,
 #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-nodevicespane,
 #PanelUI-remotetabs[mainview] #PanelUI-remotetabs-tabsdisabledpane {
-  min-height: 30em;
+  min-height: 33em;
 }
 
 #PanelUI-remotetabs-tabslist > label[itemtype="client"] {