angular-cn/public/resources/css/module/_side-nav.scss

69 lines
1.3 KiB
SCSS
Raw Normal View History

2015-02-26 09:45:32 -05:00
.side-nav {
background: $mist;
box-shadow: 3px 0px 6px rgba($coal, .3);
width: 224px;
a {
text-decoration: none;
display: block;
}
.side-nav-search {
background: $tin;
padding: 0px ($unit * 1);
2015-02-26 09:45:32 -05:00
height: $unit * 6;
border-bottom: 1px solid $fog;
input {
border: none;
border-radius: 200px;
width: 100%;
box-sizing: border-box;
height: 30px;
2015-02-26 09:45:32 -05:00
padding: 0px $unit;
margin: $unit 0px;
2015-02-26 09:45:32 -05:00
}
}
.side-nav-primary {
list-style-type: none;
margin: 0px;
padding: 0px;
> li {
margin: 0px;
padding: 0px;
border-bottom: 1px solid $fog;
> a {
2015-03-01 23:02:34 -05:00
line-height: ($unit * 6) - 1;
2015-03-01 19:39:17 -05:00
padding: 0px ($unit * 2) 0px ($unit * 6);
color: $metal;
font-size: 14px;
text-transform: uppercase;
2015-02-28 00:38:49 -05:00
text-align: left;
font-weight: 400;
2015-03-01 19:39:17 -05:00
position: relative;
&.is-selected {
background: $fog;
color: $regal;
.side-nav-icon {
color: $regal;
}
}
}
.side-nav-icon {
position: absolute;
top: 0px;
left: 16px;
z-index: $layer-1;
font-size: 19px;
color: $cloud;
line-height: 47px;
2015-02-26 09:45:32 -05:00
}
}
}
}