From: Robert Kaiser Date: Sun, 31 Aug 2014 17:27:57 +0000 (+0200) Subject: test different rules for mac detection X-Git-Tag: LCARStrek-2.29~14 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=4f962810d147544d5a34675bfba1f560e7b472e3;p=themes.git test different rules for mac detection --- diff --git a/LCARStrek/global/global.css b/LCARStrek/global/global.css index 9ff9ef88..32665b64 100644 --- a/LCARStrek/global/global.css +++ b/LCARStrek/global/global.css @@ -56,6 +56,22 @@ toolbaritem > menubar { } } +/* HACK TEST ONLY: try several mac supports rules! */ + +@supports ( :-moz-system-metric(mac-graphite-theme) ) { + /* this is a usable workaround to detect we're on Mac OS */ + window { + background-color:red !important; + } +} + +@supports ( color: -moz-mac-accentface ) { + /* this is a usable workaround to detect we're on Mac OS */ + toolbar { + border: 1px solid green !important; + } +} + /* ::::: root elements ::::: */ window,