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);
21 word-break: break-word;
22 transition: background-color .1s ease-in-out;
23 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;
119 max-width: 88% !important;
124 @include margin-left(13px);
128 transition: all .1s ease-in-out;
133 background-color: rgba(255, 255, 255, 0.2);
134 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
138 @include display-hints;
141 /* smartphones and touchscreens */
142 @media (hover: none) and (pointer: coarse) {
143 @include display-hints($is-mobile: true);
145 /* fill space when on mobile */
146 max-width: calc(100% - 80px);
153 max-width: calc(100% - 45px) !important;
157 .dropdown-toggle-indicator {
169 .dropdown-toggle::after {
173 > .dropdown-toggle:first-child {
181 @include margin-right(10px);
190 .logged-in-display-name,
191 .logged-in-username {
195 .logged-in-display-name {
196 @include disable-default-a-behaviour;
199 font-weight: $font-semibold;
200 color: pvar(--menuForegroundColor);
203 .logged-in-username {
211 flex-direction: column;
212 align-items: flex-start;
213 border-top: 1px solid var(--greyForegroundColor);
214 line-height: $line-height-normal;
218 $additional-margin: math.div($menu-link-icon-size - $icon-size, 2);
225 // Keep aligned with other icons
226 @include margin-left($additional-margin);
236 @include apply-svg-color(var(--menuForegroundColor));
241 $border-left-width: 4px;
243 font-weight: $font-semibold;
244 border-left: $border-left-width solid var(--mainColor);
247 @include margin-left($additional-margin - $border-left-width);
253 .login-buttons-block {
254 margin: 30px 25px 35px;
266 .create-account-button {
268 background-color: rgba(255, 255, 255, 0.25);
271 background-color: rgba(255, 255, 255, 0.28);
281 @include margin-left(26px);
282 @include margin-right(30px);
284 text-transform: uppercase;
285 font-weight: $font-bold; // Bold
297 padding-bottom: 15px;
302 flex-direction: column;
303 padding: 0 $menu-lateral-padding;
315 @include margin-right(8px);
317 display: inline-block;
318 text-decoration: none;
319 color: pvar(--menuForegroundColor);
320 opacity: $footer-links-base-opacity;
328 .footer-copyleft small a {
329 @include disable-default-a-behaviour;
331 color: pvar(--menuForegroundColor);
332 opacity: $footer-links-base-opacity - .2;
336 z-index: #{z('menu') + 1} !important;
340 width: calc(100% + 40px);
342 // Prevent weird display issue on firefox when global style is not loaded yet
349 @include dropdown-with-icon-item;
356 .hover-display-toggle {
360 .hover-display-toggle[hidden] {
361 display: inherit !important;
367 text-transform: uppercase;
372 @media screen and (max-width: $mobile-view) {
374 width: 100% !important;
383 width: 100% !important;
387 width: calc(100vw - 30px);
392 &[iconName=playlists] {
393 @include margin-right(16px);
404 &[iconName=channel] {
408 &[iconName='sign-out'] {