2017-04-09 15:48:37 +00:00
|
|
|
.has-collapsable-nav {
|
|
|
|
background-color: mc('blue-grey', '50');
|
2017-04-10 01:13:53 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: stretch;
|
2017-04-09 15:48:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.collapsable-nav {
|
|
|
|
width: 300px;
|
2017-04-10 01:13:53 +00:00
|
|
|
background-color: mc('blue-grey', '900');
|
2017-04-09 15:48:37 +00:00
|
|
|
color: #FFF;
|
|
|
|
min-height: 80vh;
|
|
|
|
transition: all .6s ease;
|
2017-04-10 01:13:53 +00:00
|
|
|
border-left: 1px solid darken(mc('blue-grey', '900'), 5%);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
}
|
2017-04-09 15:48:37 +00:00
|
|
|
|
|
|
|
&.has-children {
|
|
|
|
width: 50px;
|
2017-04-10 01:13:53 +00:00
|
|
|
background-color: mc($primary, '500');
|
|
|
|
border-left: 1px solid mc($primary, '700');
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
border-left: 1px solid darken(mc('blue-grey', '900'), 5%);
|
|
|
|
}
|
2017-04-09 15:48:37 +00:00
|
|
|
|
|
|
|
li {
|
2017-04-10 01:13:53 +00:00
|
|
|
border-top: none;
|
2017-04-09 15:48:37 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2017-04-10 01:13:53 +00:00
|
|
|
|
2017-04-09 15:48:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: flex;
|
2017-04-10 01:13:53 +00:00
|
|
|
border-top: 1px solid darken(mc('blue-grey', '900'), 5%);
|
|
|
|
|
|
|
|
&.is-title {
|
|
|
|
background-color: mc('blue-grey', '800');
|
|
|
|
padding: 8px 15px;
|
|
|
|
color: mc('blue-grey', '300');
|
|
|
|
font-size: 13px;
|
|
|
|
letter-spacing: 1px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
box-shadow: 0 0 5px rgba(0,0,0,0.3);
|
|
|
|
margin-right:1px;
|
|
|
|
}
|
2017-04-09 15:48:37 +00:00
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
display: flex;
|
|
|
|
height: 50px;
|
|
|
|
width: 300px;
|
|
|
|
min-width: 80vh;
|
|
|
|
@include prefix(transform, rotate(90deg) translate(0, -50px));
|
|
|
|
transform-origin: 0 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
height: 50px;
|
2017-04-24 00:45:27 +00:00
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-04-09 15:48:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: flex;
|
2017-04-24 00:45:27 +00:00
|
|
|
flex: 1 1 auto;
|
|
|
|
min-height: 40px;
|
2017-04-09 15:48:37 +00:00
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
|
|
|
padding: 0 15px;
|
|
|
|
color: #FFF;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: all .4s ease;
|
|
|
|
background-color: rgba(0,0,0,0);
|
|
|
|
|
2017-04-24 00:45:27 +00:00
|
|
|
&.is-pagelink {
|
|
|
|
flex: 0 1 70px;
|
|
|
|
justify-content: center;
|
2017-04-09 15:48:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0,0,0,.1);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2017-04-24 00:45:27 +00:00
|
|
|
i {
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
padding: 5px 0;
|
|
|
|
}
|
|
|
|
|
2017-04-09 15:48:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2017-07-09 01:01:07 +00:00
|
|
|
|
|
|
|
/* THEME OVERRIDE - START */
|
|
|
|
|
|
|
|
@each $color, $colorvalue in $material-colors {
|
|
|
|
.is-primary-#{$color} .collapsable-nav {
|
|
|
|
&.has-children {
|
|
|
|
background-color: mc($color, '500');
|
|
|
|
border-left-color: mc($color, '700');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* THEME OVERRIDE - END */
|