// fix nav collapsed and clipping on page loading

This commit is contained in:
Kevin Granger
2013-10-17 15:39:53 +02:00
parent cbf2e6b65b
commit 7ae123227e
4 changed files with 59 additions and 87 deletions
@@ -1,5 +1,5 @@
#nav-sidebar
float: left
position: fixed
width: 240px
height: 100%!important
overflow-y: auto
@@ -35,7 +35,6 @@
i
color: black
background-color: white
&.active
a.title:hover
color: contrast-color($main-color, white, #333, 10%)
@@ -97,7 +96,6 @@
background-color: transparent
@extend .icon-angle-down
@include text-shadow(lighten($main-color,10%) 1px 1px 0)
&:hover
color: white
@include text-shadow(darken($main-color,20%) -1px -1px 0)
@@ -234,6 +232,7 @@
.page-sidebar-closed
#nav-sidebar
overflow: visible
width: 50px
@include transition-property(width)
@include transition-duration(0.4s)
@@ -1,27 +0,0 @@
$green: #2aca76
$blue: #53b5e6
$red: #ea8557
$purple: #9973C2
$mint: #16a085
.ladda-button
&[disabled],
&[data-loading]
border-color: rgba( 0, 0, 0, 0.07 )
cursor: default
background-color: #999
&:hover
cursor: default
background-color: #999
&[data-size=xs]
padding: 4px 8px
.ladda-label
font-size: 0.7em
&[data-size=s]
padding: 6px 10px
.ladda-label
font-size: 0.9em
&[data-size=l] .ladda-label
font-size: 1.2em
&[data-size=xl] .ladda-label
font-size: 1.5em