second and final part of syncing both themes with toolkit windows theme changes in...
[themes.git] / LCARStrek / global / global.css
index 537e261bb7c01889c2965eb706b08fc6567c44cb..6a661111a8c8e30ad8f86a2b24dae4081d0257dc 100644 (file)
@@ -21,15 +21,10 @@ radio {
   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
 }
 
-menulist > menupopup,
-.menulist-menupopup {
+menulist > menupopup {
   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
 }
 
-.menulist-compact {
-  -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
-}
-
 /* LCARStrek special bindings */
 
 statusbar {
@@ -48,7 +43,7 @@ toolbaritem > menubar {
   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
 }
 
-@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) {
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme) {
   /* This is a hackish workaround to cover most of Mac OS until bug 1060941 gets fixed. */
   toolbar.chromeclass-menubar {
     -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
@@ -56,13 +51,12 @@ toolbaritem > menubar {
   }
 }
 
-/* HACK TEST ONLY: try several mac supports rules! */
-
-@media (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) and (-moz-mac-yosemite-theme: 0) {
-  /* this is a usable workaround to detect we're on Mac OS */
-  toolbox {
-    border: 1px solid blue !important;
-  }
+/* ::::: Variables ::::: */
+:root {
+  --arrowpanel-padding: 6px;
+  --arrowpanel-background: #000000;
+  --arrowpanel-color: #FF9F00;
+  --arrowpanel-border-color: #FF9F00;
 }
 
 /* ::::: root elements ::::: */
@@ -84,8 +78,8 @@ window.dialog {
   background-color: #000000;
   padding-top: 8px;
   padding-bottom: 10px;
-  -moz-padding-start: 8px;
-  -moz-padding-end: 10px;
+  padding-inline-start: 8px;
+  padding-inline-end: 10px;
 }
 
 /* ::::: alert icons :::::*/
@@ -103,6 +97,7 @@ window.dialog {
   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
 }
 
+.alert-dialog #info\.icon,
 .alert-icon {
   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
 }
@@ -135,7 +130,7 @@ statusbar {
 
 .statusbar-center {
   background-color: #8050B0;
-  -moz-padding-start: 2px;
+  padding-inline-start: 2px;
   color: #FFCF00;
   -moz-box-align: stretch;
 }
@@ -144,14 +139,14 @@ statusbar {
   border-radius: 9px 0px 0px 9px;
   background-color: #6000CF;
   width: 13px;
-  -moz-margin-end: 3px;
+  margin-inline-end: 3px;
 }
 
 .statusbar-right {
   border-radius: 0px 9px 9px 0px;
   background-color: #6000CF;
   width: 13px;
-  -moz-margin-start: 3px;
+  margin-inline-start: 3px;
 }
 
 statusbarpanel {
@@ -169,7 +164,7 @@ statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
   -moz-appearance: none;
   border-top-style: none;
   border-bottom-style: none;
-  -moz-border-start-style: none;
+  border-inline-start-style: none;
 }
 
 .statusbar-resizerpanel {
@@ -254,8 +249,8 @@ separator.groove:not([orient="vertical"]) {
 
 separator.groove[orient="vertical"] {
   border-left: 2px groove #FF9F00;
-  -moz-margin-start: 0.4em;
-  -moz-margin-end: 0.4em;
+  margin-inline-start: 0.4em;
+  margin-inline-end: 0.4em;
 }
 
 /* groove separators (0 padding, for dividing effects) */
@@ -305,8 +300,8 @@ description {
 }
 
 .indent {
-/*  -moz-margin-start: 23px; */
-  -moz-margin-start: 15px;
+/*  margin-inline-start: 23px; */
+  margin-inline-start: 15px;
 }
 
 .box-padded {
@@ -335,6 +330,26 @@ description {
   outline: 1px dotted;
 }
 
+popupnotificationcontent {
+  margin-top: .5em;
+}
+
+/* === BEGIN notification-popup.inc.css === */
+
+.popup-notification-panel > .panel-arrowcontainer > .panel-arrowcontent {
+  /* In order to display the action buttons near the edge of the arrow panel we
+   * have to reset its default padding and specify the padding in the individual
+   * "popupnotification" elements instead. To keep the rounded borders of the
+   * panel, we also have to ensure the contents are clipped to the border box
+   * by hiding the overflow, and we have to override the "display" property so
+   * that the height of the contents is computed correctly in that case. */
+  padding: 0;
+  overflow: hidden;
+  display: block;
+}
+
+/* === END notification-popup.inc.css === */
+
 /* :::::: autoscroll popup ::::: */
 
 .autoscroller {
@@ -379,3 +394,21 @@ description {
 .autoscroller[translucent="true"][scrolldir="EW"] {
   background-position: right bottom;
 }
+
+/* :::::: Close button icons ::::: */
+
+.close-icon {
+  list-style-image: url("chrome://global/skin/icons/close.png");
+  -moz-image-region: rect(0, 16px, 16px, 0);
+}
+
+.close-icon:hover,
+.close-icon:hover:active {
+  -moz-image-region: rect(0, 32px, 16px, 16px);
+}
+
+.close-icon > .button-icon,
+.close-icon > .button-box > .button-icon,
+.close-icon > .toolbarbutton-icon {
+  width: 16px;
+}