From 985b34ac728be57e591d0c4cb0bf78f8a4151678 Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Thu, 1 Nov 2012 14:55:56 +0000 Subject: [PATCH] add css rules for fullscreen --- source/Ox.UI/themes/classic/css/classic.css | 10 ++++++++++ source/Ox.UI/themes/modern/css/modern.css | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/source/Ox.UI/themes/classic/css/classic.css b/source/Ox.UI/themes/classic/css/classic.css index f6b97837..4839a526 100644 --- a/source/Ox.UI/themes/classic/css/classic.css +++ b/source/Ox.UI/themes/classic/css/classic.css @@ -1,3 +1,13 @@ +html:fullscreen { + background: rgb(240, 240, 240); +} +html:-moz-full-screen { + background: rgb(240, 240, 240); +} +html:-webkit-full-screen { + background: rgb(240, 240, 240); +} + body.OxThemeClassic { background: rgb(240, 240, 240); } diff --git a/source/Ox.UI/themes/modern/css/modern.css b/source/Ox.UI/themes/modern/css/modern.css index a1adde85..9e82fc12 100644 --- a/source/Ox.UI/themes/modern/css/modern.css +++ b/source/Ox.UI/themes/modern/css/modern.css @@ -1,5 +1,15 @@ /* fixme: it wouldn't hurt if focus was blue */ +html:fullscreen { + background: rgb(16, 16, 16); +} +html:-moz-full-screen { + background: rgb(16, 16, 16); +} +html:-webkit-full-screen { + background: rgb(16, 16, 16); +} + body.OxThemeModern { background: rgb(16, 16, 16); }