From 861be9975f09030ab7ac8ba61fbbb25ec4bb20ed Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 31 Aug 2014 21:22:30 +0200 Subject: [PATCH] test rule for non-mac detection --- LCARStrek/global/global.css | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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, -- 2.35.3