From: Robert Kaiser Date: Sun, 31 Aug 2014 19:14:52 +0000 (+0200) Subject: test different rules for mac detection X-Git-Tag: LCARStrek-2.29~12 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=10dad1cd7f49b23e232431ffc2e74840854e1834;p=themes.git test different rules for mac detection --- diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 78e9f175..fb53947f 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -58,21 +58,14 @@ toolbaritem > menubar { /* HACK TEST ONLY: try several mac supports rules! */ -@media (-moz-mac-graphite-theme), (-moz-mac-lion-theme), (-moz-mac-yosemite-theme) { - /* this is a usable workaround to detect we're on Mac OS */ - window { - background-color:red !important; - } -} - -@media not (-moz-mac-graphite-theme), not (-moz-mac-lion-theme), not (-moz-mac-yosemite-theme) { +@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), not all and (-moz-mac-lion-theme), not all and (-moz-mac-yosemite-theme) { +@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;