X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=32665b64e75751019f4f0b1ff60d0e1661da4843;hb=4f962810d147544d5a34675bfba1f560e7b472e3;hp=97eccb7ac4c478411384fe960cb7dd3317301232;hpb=96b206febe5aaa2fc76ffa3088e4fdb0ef570fc7;p=themes.git diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 97eccb7a..32665b64 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -48,7 +48,7 @@ toolbaritem > menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } -@supports ( -moz-appearance: -moz-mac-unified-toolbar ) { +@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"); @@ -56,6 +56,22 @@ toolbaritem > menubar { } } +/* 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,