summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-09 14:48:36 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-07-09 14:48:36 +0300
commit454e6c7b8c227f97d3158564273504067be05eab (patch)
treef3be560e990ecc646fba558fb35f9289fd9107b5
parent440345bd977caac1b604085feca4b46b4c1eea01 (diff)
downloadgitlab-ce-454e6c7b8c227f97d3158564273504067be05eab.tar.gz
Add side shadow for unpinned sidebar
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/framework/sidebar.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/sidebar.scss b/app/assets/stylesheets/framework/sidebar.scss
index 188823054fd..78eefa538c3 100644
--- a/app/assets/stylesheets/framework/sidebar.scss
+++ b/app/assets/stylesheets/framework/sidebar.scss
@@ -3,6 +3,12 @@
padding-bottom: 25px;
transition: padding $sidebar-transition-duration;
+ &.page-sidebar-pinned {
+ .sidebar-wrapper {
+ @include box-shadow(none);
+ }
+ }
+
.sidebar-wrapper {
position: fixed;
top: 0;
@@ -11,6 +17,7 @@
height: 100%;
overflow: hidden;
transition: width $sidebar-transition-duration;
+ @include box-shadow(2px 0px 16px 0px #bbb);
}
}