X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fglobal.css;h=fb53947fdd0fdf845d8fe85a04e6d18b77d8772a;hp=97eccb7ac4c478411384fe960cb7dd3317301232;hb=10dad1cd7f49b23e232431ffc2e74840854e1834;hpb=96b206febe5aaa2fc76ffa3088e4fdb0ef570fc7 diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 97eccb7a..fb53947f 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -48,14 +48,38 @@ toolbaritem > menubar { -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar"); } -@supports ( -moz-appearance: -moz-mac-unified-toolbar ) { - /* 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 (not -moz-mac-graphite-theme) and (not -moz-mac-lion-theme) and (not -moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbox { + border: 1px solid blue !important; + } +} + +@media not all and (-moz-mac-graphite-theme) and (-moz-mac-lion-theme) and (-moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + tab { + background-color: lightblue !important; + } +} + + +@media not (-moz-mac-graphite-theme, -moz-mac-lion-theme, -moz-mac-yosemite-theme) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbar { + border: 1px solid green !important; + } +} + /* ::::: root elements ::::: */ window,