2015-08-27 03:51:56 +08:00
|
|
|
.menu-panel.slide-in {
|
2015-08-26 00:50:19 +08:00
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
height: 100%;
|
2015-08-27 03:51:56 +08:00
|
|
|
.panel-body {
|
2015-08-27 02:42:42 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 40px;
|
|
|
|
bottom: 37px;
|
2015-08-27 04:55:01 +08:00
|
|
|
width: 96%;
|
2015-08-27 02:42:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
.menu-panel.drop-down {
|
2015-08-27 05:21:20 +08:00
|
|
|
position: absolute;
|
2015-08-27 02:42:42 +08:00
|
|
|
}
|
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
.menu-panel {
|
2015-08-27 02:50:15 +08:00
|
|
|
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
|
|
|
box-shadow: 0 2px 2px rgba(0,0,0, .25);
|
2015-08-27 02:42:42 +08:00
|
|
|
background-color: $secondary;
|
|
|
|
z-index: 1100;
|
|
|
|
overflow: none;
|
2015-08-26 00:50:19 +08:00
|
|
|
padding: 0.5em 0.5em 0.5em 0.5em;
|
|
|
|
width: 300px;
|
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
.close-panel {
|
2015-08-26 00:50:19 +08:00
|
|
|
float: right;
|
|
|
|
color: dark-light-choose(scale-color($header_primary, $lightness: 50%), $header_primary);
|
|
|
|
font-size: 1.5em;
|
2015-08-26 11:44:48 +08:00
|
|
|
margin-right: -10px;
|
2015-08-26 00:50:19 +08:00
|
|
|
margin-top: 0.1em;
|
2015-08-26 11:44:48 +08:00
|
|
|
padding: 0 4 4 4px;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
.panel-header {
|
2015-08-26 11:44:48 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
|
2015-08-26 00:50:19 +08:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
.panel-body {
|
|
|
|
overflow-y: auto;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
2015-08-27 04:55:01 +08:00
|
|
|
|
2015-08-27 03:51:56 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.hamburger-panel {
|
2015-08-26 00:50:19 +08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2015-08-27 02:42:42 +08:00
|
|
|
|
2015-08-27 04:55:01 +08:00
|
|
|
.search-menu {
|
|
|
|
|
|
|
|
.search-context .show-help {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.heading {
|
|
|
|
padding: 5px 0 5px 5px;
|
|
|
|
.filter {
|
|
|
|
padding: 0 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type='text'] {
|
|
|
|
width: 93%;
|
|
|
|
height: 22px;
|
|
|
|
margin: 5px;
|
|
|
|
padding: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-context {
|
|
|
|
padding: 0 5px;
|
|
|
|
label { margin-bottom: 0; }
|
|
|
|
}
|
|
|
|
|
|
|
|
.searching {
|
|
|
|
position: absolute;
|
|
|
|
top: 0.1em;
|
|
|
|
right: 1.25em;
|
|
|
|
.spinner {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-width: 2px;
|
|
|
|
margin: 20px 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// I am ghetto using this to display "Show More".. be warned
|
|
|
|
.no-results {
|
|
|
|
padding: 5px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.filter {
|
|
|
|
padding: 0;
|
|
|
|
&:hover {background: transparent;}
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-link {
|
|
|
|
.badge-category-parent {
|
|
|
|
line-height: 0.8em;
|
|
|
|
}
|
|
|
|
.topic-title {
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.topic-statuses {
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
|
|
|
|
margin: 0;
|
|
|
|
.fa {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li:not(.category):not(.heading) {
|
|
|
|
font-size: 0.929em;
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
padding: 5px;
|
|
|
|
transition: all linear .15s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover a:not(.badge-notification) {
|
|
|
|
background-color: dark-light-diff($highlight, $secondary, 50%, -55%);
|
|
|
|
}
|
|
|
|
|
|
|
|
button {margin-left: 5px;}
|
|
|
|
}
|
|
|
|
}
|