From 10dad1cd7f49b23e232431ffc2e74840854e1834 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 31 Aug 2014 21:14:52 +0200 Subject: [PATCH] test different rules for mac detection --- LCARStrek/global/global.css | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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; -- 2.35.3