X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=6cf895d0e86e84e2f9ac6e4567f5e4b8bdc810d5;hp=32665b64e75751019f4f0b1ff60d0e1661da4843;hb=ee49f520102b39e3559c8d4fda2f3487e5195038;hpb=4f962810d147544d5a34675bfba1f560e7b472e3 diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 32665b64..6cf895d0 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -48,30 +48,14 @@ 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) { + /* 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! */ - -@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,