From 2c63fd06581622625a1a789ebe5c3c4565eba9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 15 Oct 2012 16:45:22 +0200 Subject: [PATCH] Fix fullscreen mode --- file/style/be.bastelstu.wcf.chat.less | 48 +++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/file/style/be.bastelstu.wcf.chat.less b/file/style/be.bastelstu.wcf.chat.less index 908682d..6730e37 100644 --- a/file/style/be.bastelstu.wcf.chat.less +++ b/file/style/be.bastelstu.wcf.chat.less @@ -336,30 +336,6 @@ } } - html.fullscreen { - height: 100%; - overflow: hidden; - - #pageHeader, #pageFooter { - display: none; - } - - body { - height: 100%; - overflow: hidden; - - #main { - height: 100%; - margin: 0; - padding: 0; - - > div, .sidebar, #sidebarContainer { - height: 100%; - } - } - } - } - .badgeBG(@backgroundColor) when (lightness(@backgroundColor) < 50%) { background-color: lighten(@backgroundColor, lightness(@backgroundColor) / 2); } @@ -372,3 +348,27 @@ background-color: darken(@backgroundColor, lightness(@backgroundColor) / 2); } } + +html.fullscreen { + height: 100%; + overflow: hidden; + + #tplChat { + height: 100%; + overflow: hidden; + + #pageHeader, #pageFooter { + display: none; + } + + #main { + height: 100%; + margin: 0; + padding: 0; + + > div, .sidebar, #sidebarContainer { + height: 100%; + } + } + } +}