Skip to content
Snippets Groups Projects
Commit 7b804e23 authored by Douwe Maan's avatar Douwe Maan
Browse files

Have sidebar labels disappear behind content instead of hide immediately.

parent 9c022973
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -69,6 +69,7 @@ header {
float: left;
height: $header-height;
width: $sidebar_width;
overflow: hidden;
transition-duration: .3s;
 
a {
Loading
Loading
@@ -169,10 +170,6 @@ header {
@mixin collapsed-header {
.header-logo {
width: $sidebar_collapsed_width;
h3 {
display: none;
}
}
 
.header-content {
Loading
Loading
Loading
Loading
@@ -29,42 +29,44 @@
&.navbar-collapse {
padding: 0px !important;
}
}
.nav-sidebar li a .count {
float: right;
background: #eee;
padding: 0px 8px;
@include border-radius(6px);
}
 
.nav-sidebar li {
&.separate-item {
padding-top: 10px;
margin-top: 10px;
}
a {
color: $gray;
display: block;
text-decoration: none;
padding: 8px 15px;
font-size: 14px;
line-height: 20px;
padding-left: 16px;
li {
width: $sidebar_width;
 
&:hover {
text-decoration: none;
&.separate-item {
padding-top: 10px;
margin-top: 10px;
}
 
&:active, &:focus {
a {
color: $gray;
display: block;
text-decoration: none;
}
padding: 8px 15px;
font-size: 14px;
line-height: 20px;
padding-left: 16px;
&:hover {
text-decoration: none;
}
 
i {
width: 20px;
color: $gray-light;
margin-right: 23px;
&:active, &:focus {
text-decoration: none;
}
i {
width: 20px;
color: $gray-light;
margin-right: 23px;
}
.count {
float: right;
background: #eee;
padding: 0px 8px;
@include border-radius(6px);
}
}
}
}
Loading
Loading
@@ -116,11 +118,6 @@
padding: 8px 15px;
text-align: left;
padding-left: 16px;
& > span {
display: none;
}
}
}
 
Loading
Loading
@@ -130,9 +127,7 @@
}
 
.sidebar-user {
.username {
display: none;
}
width: $sidebar_collapsed_width;
}
}
}
Loading
Loading
@@ -182,12 +177,13 @@
.sidebar-user {
position: absolute;
bottom: 0;
width: 100%;
width: $sidebar_width;
padding: 10px;
overflow: hidden;
transition-duration: .3s;
 
.username {
margin-top: 5px;
width: 230px;
width: $sidebar_width - 2 * 10px;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment