From 4f962810d147544d5a34675bfba1f560e7b472e3 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 31 Aug 2014 19:27:57 +0200 Subject: [PATCH] test different rules for mac detection --- LCARStrek/global/global.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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, -- 2.35.3