X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;ds=sidebyside;f=LCARStrek%2Fglobal%2Fglobal.css;h=32665b64e75751019f4f0b1ff60d0e1661da4843;hb=4f962810d147544d5a34675bfba1f560e7b472e3;hp=49fd787e0f99d35a54dde65d9461eb7a3d8dab5f;hpb=89eb2c8903d967706396ab99c0ac1f55ba11540b;p=themes.git diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 49fd787e..32665b64 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -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,30 @@ toolbaritem > menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } +@supports ( :-moz-system-metric(mac-graphite-theme) ) { + /* 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; + } +} + +/* HACK TEST ONLY: try several mac supports rules! */ + +@supports ( :-moz-system-metric(mac-graphite-theme) ) { + /* this is a usable workaround to detect we're on Mac OS */ + window { + background-color:red !important; + } +} + +@supports ( color: -moz-mac-accentface ) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbar { + border: 1px solid green !important; + } +} + /* ::::: root elements ::::: */ window,