test different rules for mac detection
[themes.git] / LCARStrek / global / global.css
index 5dd43311ee8bb2637ab8a16b02160cc00cf92b35..fb53947fdd0fdf845d8fe85a04e6d18b77d8772a 100644 (file)
@@ -8,7 +8,6 @@
 
 /* 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");
 
@@ -48,11 +47,38 @@ menubar {
 toolbaritem > 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");
+
+@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-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");
+    border-bottom: none;
+  }
+}
+
+/* HACK TEST ONLY: try several mac supports rules! */
+
+@media (not -moz-mac-graphite-theme) and (not -moz-mac-lion-theme) and (not -moz-mac-yosemite-theme) {
+  /* this is a usable workaround to detect we're on Mac OS */
+  toolbox {
+    border: 1px solid blue !important;
+  }
+}
+
+@media not all and (-moz-mac-graphite-theme) and (-moz-mac-lion-theme) and (-moz-mac-yosemite-theme) {
+  /* this is a usable workaround to detect we're on Mac OS */
+  tab {
+    background-color: lightblue !important;
+  }
+}
+
+
+@media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) {
+  /* this is a usable workaround to detect we're on Mac OS */
+  toolbar {
+    border: 1px solid green !important;
+  }
 }
-*/
 
 /* ::::: root elements ::::: */
 
@@ -312,10 +338,13 @@ description {
 
 .text-link {
   color: #3333FF;
-  text-decoration: underline;
   cursor: pointer;
 }
 
+.text-link:hover {
+  text-decoration: underline;
+}
+
 .text-link:-moz-focusring {
   /* Don't specify the outline-color, we should always use initial value. */
   outline: 1px dotted;