X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=537e261bb7c01889c2965eb706b08fc6567c44cb;hb=861be9975f09030ab7ac8ba61fbbb25ec4bb20ed;hp=9ff9ef8890ffa24b3ebf456d5ce97c7483c275c8;hpb=421495d7c0cd0ab99a6cdfcc1851fece5f5e9c72;p=themes.git diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 9ff9ef88..537e261b 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -48,14 +48,23 @@ 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 */ +@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 (-moz-mac-graphite-theme: 0) and (-moz-mac-lion-theme: 0) and (-moz-mac-yosemite-theme: 0) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbox { + border: 1px solid blue !important; + } +} + /* ::::: root elements ::::: */ window,