try to get mac-specific rules in places for toolbars
[themes.git] / LCARStrek / global / global.css
index 49fd787e0f99d35a54dde65d9461eb7a3d8dab5f..97eccb7ac4c478411384fe960cb7dd3317301232 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");
 
@@ -49,6 +48,14 @@ toolbaritem > menubar {
   -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
 }
 
+@supports ( -moz-appearance: -moz-mac-unified-toolbar ) {
+  /* this is a usable workaround to detect we're on Mac OS */
+  toolbar.chromeclass-menubar {
+    -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
+    border-bottom: none;
+  }
+}
+
 /* ::::: root elements ::::: */
 
 window,