From 1f2ad2ebff07db6c4e8069329958a8dcbf5a1d82 Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Sun, 25 Aug 2013 20:17:01 +0200 Subject: [PATCH] Updates styles. --- src/_h5ai/client/css/inc/dropbox.less | 5 ----- src/_h5ai/client/css/inc/general.less | 22 ++++++++++++---------- 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/src/_h5ai/client/css/inc/dropbox.less b/src/_h5ai/client/css/inc/dropbox.less index 0a534cc5..ed8dfefa 100644 --- a/src/_h5ai/client/css/inc/dropbox.less +++ b/src/_h5ai/client/css/inc/dropbox.less @@ -1,9 +1,4 @@ -html { - min-height: 100%; -} - - #content { border: 1px dashed #fff; border-radius: 8px; diff --git a/src/_h5ai/client/css/inc/general.less b/src/_h5ai/client/css/inc/general.less index aa80c092..92cdd2ce 100644 --- a/src/_h5ai/client/css/inc/general.less +++ b/src/_h5ai/client/css/inc/general.less @@ -20,19 +20,28 @@ @col-sb-thumb: rgba(0,0,0,0.15); @col-sb-thumb-active: rgba(0,0,0,0.25); - @border-widget: 1px solid @col-border; @border-widget-sep: 1px solid @col-widget-sep; - @font-family: Ubuntu, sans-serif; @font-family-mono: "Ubuntu Mono", monospace; -html { overflow-y: auto; } ::-moz-selection { background: #68A9FF; color: #fff; text-shadow: none; } ::selection { background: #68A9FF; color: #fff; text-shadow: none; } +html { + min-height: 100%; + overflow: auto; + + &.js .noJsMsg { + display: none; + } + &.browser .noBrowserMsg { + display: none; + } +} + body { font-family: @font-family; font-size: 13px; @@ -40,10 +49,3 @@ body { background-color: @col-back; margin: 30px; } - -html.js .noJsMsg { - display: none; -} -html.browser .noBrowserMsg { - display: none; -}