2015-08-25 12:50:19 -04:00
|
|
|
#hamburger-menu {
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
background-color: $secondary;
|
|
|
|
z-index: 1002;
|
|
|
|
height: 100%;
|
2015-08-25 23:44:48 -04:00
|
|
|
overflow: none;
|
2015-08-25 12:50:19 -04:00
|
|
|
transition: 0.3s ease-in-out;
|
2015-08-25 19:58:37 -04:00
|
|
|
@include transform(translateX(0));
|
2015-08-25 12:50:19 -04:00
|
|
|
|
2015-08-25 23:10:50 -04:00
|
|
|
box-shadow: 0 4px 4px 4px rgba(0,0,0, .25);
|
2015-08-25 12:50:19 -04:00
|
|
|
padding: 0.5em 0.5em 0.5em 0.5em;
|
|
|
|
width: 300px;
|
|
|
|
|
|
|
|
.close-hamburger {
|
|
|
|
float: right;
|
|
|
|
color: dark-light-choose(scale-color($header_primary, $lightness: 50%), $header_primary);
|
|
|
|
font-size: 1.5em;
|
2015-08-25 23:44:48 -04:00
|
|
|
margin-right: -10px;
|
2015-08-25 12:50:19 -04:00
|
|
|
margin-top: 0.1em;
|
2015-08-25 23:44:48 -04:00
|
|
|
padding: 0 4 4 4px;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-header {
|
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
position: absolute;
|
|
|
|
top: 40px;
|
2015-08-25 23:55:42 -04:00
|
|
|
bottom: 37px;
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|
|
|
|
|
2015-08-25 23:10:50 -04:00
|
|
|
|
2015-08-25 12:50:19 -04:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul.location-links li, li.heading {
|
|
|
|
a {
|
|
|
|
padding: 0.5em;
|
|
|
|
display: block;
|
|
|
|
&:hover {
|
|
|
|
background-color: dark-light-diff($highlight, $secondary, 50%, -55%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.category-link {
|
|
|
|
float: left;
|
|
|
|
background-color: transparent;
|
|
|
|
width: 45%;
|
|
|
|
margin: 5px 5px 0 8px;
|
|
|
|
.box {margin-top: 0;}
|
|
|
|
.badge-notification {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
background-color: transparent;
|
|
|
|
vertical-align: top;
|
|
|
|
padding: 5px 5px 2px 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// note these topic counts only appear for anons in the category hamburger drop down
|
|
|
|
b.topics-count {
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#hamburger-menu.slideright {
|
2015-08-25 19:58:37 -04:00
|
|
|
@include transform(translateX(330px));
|
2015-08-25 12:50:19 -04:00
|
|
|
}
|