From a35b220e835ac6b8815bb1a37228f56e0e855d7b Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 26 Aug 2015 15:36:04 -0400 Subject: [PATCH] less cleanup + use @body-bg --- less/mobile.less | 49 +++++++++++------------------------------------- 1 file changed, 11 insertions(+), 38 deletions(-) diff --git a/less/mobile.less b/less/mobile.less index ea6effc..621360e 100644 --- a/less/mobile.less +++ b/less/mobile.less @@ -1,30 +1,20 @@ @media (max-width: 980px) { + html { + height: 100%; + overflow-y: hidden; + } + body { height: 100%; padding-top: 0; + overflow-y: scroll; + overflow-x: hidden; } - .header { - position: fixed; - top: 0px; - z-index: 5; - - #main-page-title { - bottom: -31px; - font-size: 20px; - color: #FFF; - left: 52px; - font-weight: 400; - } - - #user_label { - right: 0px; - bottom: 7px; - } - - #main-menu { - display: none; - } + #panel { + background: @body-bg; + min-height: 100%; + padding-top: 80px; } #menu { @@ -77,12 +67,6 @@ } } - #panel { - background: white; - min-height: 100%; - padding-top: 80px; - } - .slideout-menu { position: fixed; left: auto; @@ -96,7 +80,6 @@ display: none; } - .slideout-panel { position: relative; z-index: 1; @@ -112,19 +95,9 @@ .slideout-open .slideout-menu { display: block; } - - html { - height: 100%; - overflow-y: hidden; - } .slideout-open { overflow-y: hidden; height: 100%; } - - body { - overflow-y: scroll; - overflow-x: hidden; - } } \ No newline at end of file