From: Robert Kaiser Date: Sun, 31 Aug 2014 19:22:30 +0000 (+0200) Subject: test rule for non-mac detection X-Git-Tag: LCARStrek-2.29~11 X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=commitdiff_plain;h=861be9975f09030ab7ac8ba61fbbb25ec4bb20ed;hp=10dad1cd7f49b23e232431ffc2e74840854e1834 test rule for non-mac detection --- diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index fb53947f..537e261b 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -58,28 +58,13 @@ toolbaritem > menubar { /* 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) { +@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; } } -@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,