X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=32665b64e75751019f4f0b1ff60d0e1661da4843;hb=4f962810d147544d5a34675bfba1f560e7b472e3;hp=5be3fee956cf7d393c4473752e6dc297a0db52f6;hpb=a6c8d0f5eca89404094b51eee861f983d2a2a483;p=themes.git diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 5be3fee9..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"); @@ -48,11 +47,30 @@ 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"); + +@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 ::::: */