Merge branch 'dz-sidebar-shadow' into 'master'
Add side shadow for unpinned sidebar See merge request !5167
This commit is contained in:
commit
3239c5f666
|
@ -3,6 +3,12 @@
|
||||||
padding-bottom: 25px;
|
padding-bottom: 25px;
|
||||||
transition: padding $sidebar-transition-duration;
|
transition: padding $sidebar-transition-duration;
|
||||||
|
|
||||||
|
&.page-sidebar-pinned {
|
||||||
|
.sidebar-wrapper {
|
||||||
|
@include box-shadow(none);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar-wrapper {
|
.sidebar-wrapper {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -11,6 +17,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: width $sidebar-transition-duration;
|
transition: width $sidebar-transition-duration;
|
||||||
|
@include box-shadow(2px 0 16px 0 #bbb);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue