From 4353332c1b0330917585f31c23dec90f3aa33ccc Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 2 Mar 2016 10:53:33 +0100 Subject: [PATCH] some clean --- browser/scss/style.scss | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/browser/scss/style.scss b/browser/scss/style.scss index 0636f4f6..2d9bbf1c 100644 --- a/browser/scss/style.scss +++ b/browser/scss/style.scss @@ -30,24 +30,9 @@ $nav-height:60rem; - - - - - - $sidepanel-size:300rem; -@mixin layer { - position: absolute; - top:0; - left:0; - right: 0; - bottom:0; -} - - ///////////// @@ -66,7 +51,6 @@ a { display: block; } -$scrollbar-margin:1rem; ::-webkit-scrollbar { width: 20rem; height:20rem; @@ -77,10 +61,10 @@ $scrollbar-margin:1rem; ::-webkit-scrollbar-track-piece { background: $color-bg; &:vertical { - border-left:$scrollbar-margin solid $color-border; + border-left:1rem solid $color-border; } &:horizontal { - border-top:$scrollbar-margin solid $color-border; + border-top:1rem solid $color-border; } } ::-webkit-scrollbar-corner { @@ -89,10 +73,10 @@ $scrollbar-margin:1rem; ::-webkit-scrollbar-thumb { background:$color-raised; &:vertical { - border-left:$scrollbar-margin solid $color-border; + border-left:1rem solid $color-border; } &:horizontal { - border-top:$scrollbar-margin solid $color-border; + border-top:1rem solid $color-border; } } @@ -176,7 +160,11 @@ body { #lobby { background: $color-bg; - @include layer(); + position: absolute; + top:0; + left:0; + right: 0; + bottom:0; z-index: 2; border:1rem solid $color-border; display: flex; @@ -221,7 +209,11 @@ body { #container { background: $color-bg; - @include layer(); + position: absolute; + top:0; + left:0; + right: 0; + bottom:0; overflow:hidden; transition:right .2s; &.sidepanel-open {