2018-09-25 19:18:06 +02:00
|
|
|
@import "mixins";
|
|
|
|
@import "theme";
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Styling for the main navigation menu on the left-hand-side
|
|
|
|
*/
|
|
|
|
|
|
|
|
.mainmenu {
|
2021-09-05 01:09:30 +02:00
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 10%;
|
|
|
|
position: fixed;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
|
|
|
|
border: 0;
|
|
|
|
border-bottom: 1px solid #000;
|
|
|
|
border-radius: 0;
|
|
|
|
background-color: #333;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Default buttons */
|
|
|
|
.mainmenu > li a,
|
|
|
|
.mainmenu > li button {
|
2021-09-05 01:09:30 +02:00
|
|
|
display: block;
|
|
|
|
color: #e6e6e6;
|
|
|
|
background-color: #555;
|
|
|
|
padding: 12px 8px;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu.classic > li a,
|
|
|
|
.mainmenu.classic > li button {
|
2021-09-05 01:09:30 +02:00
|
|
|
padding: 16px;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
2018-11-20 06:54:03 +01:00
|
|
|
.mainmenu.compact > li a,
|
|
|
|
.mainmenu.compact > li button {
|
2021-09-05 01:09:30 +02:00
|
|
|
display: block;
|
|
|
|
color: #e6e6e6;
|
|
|
|
background-color: #555;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
padding: 4px;
|
2018-11-20 06:54:03 +01:00
|
|
|
}
|
|
|
|
|
2018-09-25 19:18:06 +02:00
|
|
|
/* Hovering makes them lighter */
|
|
|
|
.mainmenu > li a:hover,
|
|
|
|
.mainmenu > li a:hover:not(.active),
|
|
|
|
.mainmenu > li a:focus {
|
2021-09-05 01:09:30 +02:00
|
|
|
background-color: #777;
|
|
|
|
color: #fff;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu > li button:hover,
|
|
|
|
.mainmenu > li button:hover:not(.active) {
|
2021-09-05 01:09:30 +02:00
|
|
|
background-color: #777;
|
|
|
|
color: #fff;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Panel headers can become active, and they are "lighter" than the rest */
|
|
|
|
.mainmenu > li a.active,
|
|
|
|
.mainmenu > li button.active {
|
2021-09-05 01:09:30 +02:00
|
|
|
background-color: #777;
|
|
|
|
color: #fff;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu > li a.active:hover,
|
|
|
|
.mainmenu > li button.active:hover {
|
2021-09-05 01:09:30 +02:00
|
|
|
background-color: #aaa;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#hacking-menu-header-li,
|
|
|
|
#character-menu-header-li,
|
|
|
|
#world-menu-header-li,
|
|
|
|
#help-menu-header-li {
|
2021-09-05 01:09:30 +02:00
|
|
|
position: relative;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Accordion Outline */
|
2018-11-20 06:54:03 +01:00
|
|
|
.mainmenu-accordion-header,
|
|
|
|
.mainmenu-accordion-header-compact {
|
2021-09-05 01:09:30 +02:00
|
|
|
outline: 2px solid #fff !important;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu-accordion-header-classic {
|
2021-09-05 01:09:30 +02:00
|
|
|
border: 2px solid #fff;
|
|
|
|
padding: 16px !important;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Plus and minus signs */
|
2018-11-20 06:54:03 +01:00
|
|
|
.mainmenu-accordion-header:after,
|
|
|
|
.mainmenu-accordion-header-compact:after {
|
2021-09-05 01:09:30 +02:00
|
|
|
content: "\02795";
|
|
|
|
float: right;
|
|
|
|
font-size: $defaultFontSize * 0.8125;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 25%;
|
|
|
|
right: 3px;
|
|
|
|
color: transparent;
|
|
|
|
text-shadow: 0 0 0 #fff;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu-accordion-header-classic:after {
|
2021-09-05 01:09:30 +02:00
|
|
|
content: "\02795";
|
|
|
|
float: right;
|
|
|
|
font-size: $defaultFontSize * 0.8125;
|
|
|
|
color: #fff;
|
|
|
|
margin-left: 5px;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mainmenu-accordion-header.opened,
|
2018-11-20 06:54:03 +01:00
|
|
|
.mainmenu-accordion-header-classic.opened,
|
|
|
|
.mainmenu-accordion-header-compact.opened {
|
2021-09-05 01:09:30 +02:00
|
|
|
background-color: #222 !important;
|
2018-09-25 19:18:06 +02:00
|
|
|
|
2021-09-05 01:09:30 +02:00
|
|
|
&:after {
|
|
|
|
content: "\2796";
|
|
|
|
}
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Slide down transition */
|
|
|
|
.mainmenu-accordion-panel {
|
2021-09-05 01:09:30 +02:00
|
|
|
max-height: 0;
|
|
|
|
opacity: 1;
|
|
|
|
transition: max-height 0.2s ease-out;
|
2018-09-25 19:18:06 +02:00
|
|
|
}
|