polishing the sidebar on large (lg on BS3) screens
This commit is contained in:
parent
37e3a2749f
commit
bc1b6bd44d
3 changed files with 10 additions and 2 deletions
|
|
@ -38,4 +38,5 @@ $turquoise : rgb(8, 224, 173);
|
||||||
$sand : rgb(245, 239, 237);
|
$sand : rgb(245, 239, 237);
|
||||||
|
|
||||||
$left-navbar-background: #f0f0f0;
|
$left-navbar-background: #f0f0f0;
|
||||||
$left-navbar-drawer-background: darken($left-navbar-background, 6%);
|
$left-navbar-drawer-background: darken($left-navbar-background, 6%);
|
||||||
|
$left-navbar-sub-background: darken($left-navbar-background, 12%); /* Only visible in large screens (BS3: visible-lg) */
|
||||||
|
|
@ -1,4 +1,10 @@
|
||||||
/* Fixed backgrounds are a common practice to avoid height issues */
|
/* Fixed backgrounds are a common practice to avoid height issues */
|
||||||
|
#left-navbar-fixed-sub-background {
|
||||||
|
background: $left-navbar-sub-background;
|
||||||
|
position: fixed;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
#left-navbar-fixed-background {
|
#left-navbar-fixed-background {
|
||||||
background: $left-navbar-background;
|
background: $left-navbar-background;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
#right-sidebar-fixed-sub-background.col-md-3.visible-lg
|
#right-sidebar-fixed-sub-background.col-md-3.visible-lg
|
||||||
#right-sidebar-fixed-background.col-md-3.col-lg-2.hidden-sm.hidden-xs
|
#right-sidebar-fixed-background.col-md-3.col-lg-2.hidden-sm.hidden-xs
|
||||||
.row
|
.row
|
||||||
#left-navbar-fixed-background.col-md-3.hidden-sm.hidden-xs
|
#left-navbar-fixed-sub-background.col-lg-1.visible-lg
|
||||||
|
#left-navbar-fixed-background.col-lg-offset-1.col-lg-2.col-md-3.hidden-sm.hidden-xs
|
||||||
.col-lg-offset-1.col-lg-2.col-md-3#leftNavBar
|
.col-lg-offset-1.col-lg-2.col-md-3#leftNavBar
|
||||||
#home_user_badge
|
#home_user_badge
|
||||||
= owner_image_link
|
= owner_image_link
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue