2 @use '_variables' as *;
5 $menu-link-icon-size: 22px;
6 $menu-link-icon-margin-right: 18px;
7 $footer-links-base-opacity: .8;
10 @include disable-default-a-behaviour;
11 @include padding-left($menu-lateral-padding);
12 @include padding-right(20px);
17 color: pvar(--menuForegroundColor);
20 word-break: break-word;
21 transition: background-color .1s ease-in-out;
22 line-height: $line-height-normal;
26 background-color: rgba(255, 255, 255, 0.15);
31 background-color: rgba(255, 255, 255, 0.1);
35 @include apply-svg-color(#808080);
36 @include margin-right($menu-link-icon-margin-right);
39 width: $menu-link-icon-size;
40 height: $menu-link-icon-size;
46 height: calc(100vh - #{$header-height});
50 scrollbar-color: pvar(--actionButtonColor) pvar(--menuBackgroundColor);
56 background-color: pvar(--menuBackgroundColor);
57 color: pvar(--menuForegroundColor);
60 flex-direction: column;
71 @media not all and (hover: hover) and (pointer: fine) {
93 background-color: rgba(255, 255, 255, 0.15);
99 justify-content: left;
104 @include margin-left(auto);
105 @include margin-right(15px);
110 @mixin display-hints($is-mobile: false) {
111 background-color: rgba(255, 255, 255, 0.15);
114 .dropdown-toggle-indicator {
115 display: inherit !important;
120 @include margin-left(13px);
125 transition: all .1s ease-in-out;
130 background-color: rgba(255, 255, 255, 0.2);
131 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
135 @include display-hints;
138 /* smartphones and touchscreens */
139 @media (hover: none) and (pointer: coarse) {
140 @include display-hints($is-mobile: true);
150 // Disable bootstrap toggle
155 .dropdown-toggle-indicator {
169 @include margin-right(10px);
177 .logged-in-display-name,
178 .logged-in-username {
182 .logged-in-display-name {
183 @include disable-default-a-behaviour;
185 font-weight: $font-semibold;
186 color: pvar(--menuForegroundColor);
189 .logged-in-username {
197 flex-direction: column;
198 align-items: flex-start;
199 border-top: 1px solid var(--greyForegroundColor);
200 line-height: $line-height-normal;
204 $additional-margin: math.div($menu-link-icon-size - $icon-size, 2);
211 // Keep aligned with other icons
212 @include margin-left($additional-margin);
222 @include apply-svg-color(var(--menuForegroundColor));
227 $border-left-width: 4px;
229 font-weight: $font-semibold;
230 border-left: $border-left-width solid var(--mainColor);
233 @include margin-left($additional-margin - $border-left-width);
239 .login-buttons-block {
240 margin: 30px 25px 35px;
253 .create-account-button {
255 background-color: rgba(255, 255, 255, 0.25);
258 background-color: rgba(255, 255, 255, 0.28);
268 @include margin-left(26px);
269 @include margin-right(30px);
271 text-transform: uppercase;
272 font-weight: $font-bold; // Bold
284 padding-bottom: 15px;
288 padding: 0 $menu-lateral-padding;
299 @include margin-right(8px);
300 @include disable-default-a-behaviour;
302 color: pvar(--menuForegroundColor);
303 opacity: $footer-links-base-opacity;
307 font-weight: $font-semibold;
310 opacity: $footer-links-base-opacity + .2;
316 @include disable-default-a-behaviour;
318 color: pvar(--menuForegroundColor);
319 opacity: $footer-links-base-opacity - .2;
323 opacity: $footer-links-base-opacity;
328 z-index: #{z('menu') + 1} !important;
332 width: calc(100% + 40px);
334 // Prevent weird display issue on firefox when global style is not loaded yet
341 @include dropdown-with-icon-item;
348 .hover-display-toggle {
352 .hover-display-toggle[hidden] {
353 display: inherit !important;
359 text-transform: uppercase;
364 @media screen and (max-width: $mobile-view) {
366 width: 100% !important;
375 width: 100% !important;
379 width: calc(100vw - 30px);
388 @include margin-right(16px);