try to make mac menubar not bring up an empty toolbar
[themes.git] / LCARStrek / global / global.css
index e3ae60cc52847076cc4e0b21be8af8788481b820..5dd43311ee8bb2637ab8a16b02160cc00cf92b35 100644 (file)
@@ -1,39 +1,6 @@
-/* ***** BEGIN LICENSE BLOCK *****
- * Version: NPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Netscape Public License
- * Version 1.1 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/NPL/
- *
- * Software distributed under the License is distributed on an "AS IS" basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Robert Kaiser <KaiRo@KaiRo.at>
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either the GNU General Public License Version 2 or later (the "GPL"), or
- * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
- * in which case the provisions of the GPL or the LGPL are applicable instead
- * of those above. If you wish to allow use of your version of this file only
- * under the terms of either the GPL or the LGPL, and not to allow others to
- * use your version of this file under the terms of the NPL, indicate your
- * decision by deleting the provisions above and replace them with the notice
- * and other provisions required by the GPL or the LGPL. If you do not delete
- * the provisions above, a recipient may use your version of this file under
- * the terms of any one of the NPL, the GPL or the LGPL.
- *
- * ***** END LICENSE BLOCK ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 /* ===== global.css =====================================================
   == Styles that apply everywhere.
@@ -41,6 +8,7 @@
 
 /* all localizable skin settings shall live here */
 @import url("chrome://global/locale/intl.css");
+@import url("chrome://global/content/global-platform.css");
 
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
@@ -78,9 +46,8 @@ menubar {
 }
 
 toolbaritem > menubar {
-  -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
+  -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
 }
-
 /*
 progressmeter[mode="undetermined"] {
   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
@@ -97,14 +64,17 @@ prefwindow {
   background-color: #000000;
   color: #FF9F00;
 /*  font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
-  font: 11px helvetica,arial,tahoma,sans-serif;
+  font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
   padding: 3px;
 }
 
 /* deprecated */
 window.dialog {
   background-color: #000000;
-  padding: 8px 10px 10px 8px;
+  padding-top: 8px;
+  padding-bottom: 10px;
+  -moz-padding-start: 8px;
+  -moz-padding-end: 10px;
 }
 
 /* ::::: alert icons :::::*/
@@ -155,19 +125,19 @@ statusbar {
 .statusbar-center {
   background-color: #8050B0;
   -moz-padding-start: 2px;
-  color: #000000;
+  color: #FFCF00;
   -moz-box-align: stretch;
 }
 
 .statusbar-left {
-  -moz-border-radius: 9px 0px 0px 9px;
+  border-radius: 9px 0px 0px 9px;
   background-color: #6000CF;
   width: 13px;
   -moz-margin-end: 3px;
 }
 
 .statusbar-right {
-  -moz-border-radius: 0px 9px 9px 0px;
+  border-radius: 0px 9px 9px 0px;
   background-color: #6000CF;
   width: 13px;
   -moz-margin-start: 3px;
@@ -176,7 +146,19 @@ statusbar {
 statusbarpanel {
   -moz-box-align: center;
   -moz-box-pack: center;
-  padding: 0px 1px 0px 1px;
+  border-left: 3px solid black;
+  padding: 0px 2px;
+}
+
+statusbarpanel:first-child {
+  border-left: none;
+}
+
+statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme {
+  -moz-appearance: none;
+  border-top-style: none;
+  border-bottom-style: none;
+  -moz-border-start-style: none;
 }
 
 .statusbar-resizerpanel {
@@ -188,26 +170,47 @@ statusbarpanel {
 .statusbarpanel-iconic,
 .statusbarpanel-iconic-text,
 .statusbarpanel-menu-iconic {
-  padding: 0px 1px;
-}
-
-resizer[dir="bottomright"] {
-  cursor: se-resize;
 }
 
-window:not([active="true"]) menubar > menu {
-  color: #8050B0;
+.statusbarpanel-progress {
+  -moz-box-orient: vertical;
+  padding: 0px;
 }
 
 .toolbar-focustarget {
   -moz-user-focus: ignore !important;
 }
 
+toolbar[mode="text"] .toolbarbutton-text {
+  /* padding: 0 !important;
+  margin: 3px 5px !important; */
+}
+
 /* ::::: miscellaneous formatting ::::: */
 
+:root:-moz-lwtheme,
+[lwthemefooter="true"] {
+  -moz-appearance: none;
+}
+
+:root:-moz-lwtheme-darktext {
+  text-shadow: 0 -0.5px 1.5px #FFCF00;
+}
+
+:root:-moz-lwtheme-brighttext {
+  text-shadow: 1px 1px 2px #000000;
+}
+
+statusbar:-moz-lwtheme,
+sidebarheader:-moz-lwtheme {
+  -moz-appearance: none;
+  background: none;
+  border-style: none;
+}
+
 .inset {
 /*  border: 1px inset #FF9F00;
-  margin: 0px 5px 5px 5px; */
+  margin: 0px 5px 5px; */
 }
 
 .outset {
@@ -259,6 +262,7 @@ separator[orient="vertical"].groove-thin {
 }
 
 .plain {
+  -moz-appearance: none;
   margin: 0px !important;
   border: none;
   padding: 0px;
@@ -266,7 +270,7 @@ separator[orient="vertical"].groove-thin {
 
 description, label  {
   cursor: default;
-  margin: 1px 3px;
+  margin: 1px 2px;
 }
 
 label[disabled="true"] {
@@ -286,7 +290,7 @@ description {
 }
 
 .monospace {
-  font-family: monospace;
+  font-family: "Liberation Mono", Consolas, "Courier New", monospace;
 }
 
 .indent {
@@ -303,34 +307,23 @@ description {
 }
 
 .wizard-box {
-  padding: 15px 35px 10px 35px;
+  padding: 15px 35px 10px;
 }
 
 .text-link {
-  color: blue;
+  color: #3333FF;
   text-decoration: underline;
   cursor: pointer;
 }
 
-.text-link:focus {
-  color: red;
+.text-link:-moz-focusring {
   /* Don't specify the outline-color, we should always use initial value. */
   outline: 1px dotted;
 }
 
-.text-link:hover:active {
-  color: red;
-}
-
-.text-link[visited="true"] {
-  color: purple;
-}
-
-
-
 /* :::::: autoscroll popup ::::: */
 
-#autoscroller {
+.autoscroller {
   height: 28px;
   width: 28px;
   border: 0px;
@@ -341,34 +334,34 @@ description {
   -moz-appearance: none;
 }
 
-#autoscroller[scrolldir="NS"] {
+.autoscroller[scrolldir="NS"] {
   background-position: left center;
 }
 
-#autoscroller[scrolldir="EW"] {
+.autoscroller[scrolldir="EW"] {
   background-position: left bottom;
 }
 
-#autoscroller[transparent="true"] {
+.autoscroller[transparent="true"] {
   background-position: center top;
 }
 
-#autoscroller[transparent="true"][scrolldir="NS"] {
+.autoscroller[transparent="true"][scrolldir="NS"] {
   background-position: center center;
 }
 
-#autoscroller[transparent="true"][scrolldir="EW"] {
+.autoscroller[transparent="true"][scrolldir="EW"] {
   background-position: center bottom;
 }
 
-#autoscroller[translucent="true"] {
+.autoscroller[translucent="true"] {
   background-position: right top;
 }
 
-#autoscroller[translucent="true"][scrolldir="NS"] {
+.autoscroller[translucent="true"][scrolldir="NS"] {
   background-position: right center;
 }
 
-#autoscroller[translucent="true"][scrolldir="EW"] {
+.autoscroller[translucent="true"][scrolldir="EW"] {
   background-position: right bottom;
 }