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;
25 background-color: rgba(255, 255, 255, 0.15);
30 background-color: rgba(255, 255, 255, 0.1);
34 @include apply-svg-color(#808080);
35 @include margin-right($menu-link-icon-margin-right);
38 width: $menu-link-icon-size;
39 height: $menu-link-icon-size;
45 height: calc(100vh - #{$header-height});
49 scrollbar-color: pvar(--actionButtonColor) pvar(--menuBackgroundColor);
55 background-color: pvar(--menuBackgroundColor);
56 color: pvar(--menuForegroundColor);
59 flex-direction: column;
70 @media not all and (hover: hover) and (pointer: fine) {
92 background-color: rgba(255, 255, 255, 0.15);
98 justify-content: left;
103 @include margin-left(auto);
104 @include margin-right(15px);
109 @mixin display-hints($is-mobile: false) {
110 background-color: rgba(255, 255, 255, 0.15);
113 .dropdown-toggle-indicator {
114 display: inherit !important;
118 max-width: 88% !important;
123 @include margin-left(13px);
127 transition: all .1s ease-in-out;
132 background-color: rgba(255, 255, 255, 0.2);
133 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
137 @include display-hints;
140 /* smartphones and touchscreens */
141 @media (hover: none) and (pointer: coarse) {
142 @include display-hints($is-mobile: true);
144 /* fill space when on mobile */
145 max-width: calc(100% - 80px);
152 max-width: calc(100% - 45px) !important;
156 .dropdown-toggle-indicator {
168 .dropdown-toggle::after {
172 > .dropdown-toggle:first-child {
180 @include margin-right(10px);
189 .logged-in-display-name,
190 .logged-in-username {
194 .logged-in-display-name {
195 @include disable-default-a-behaviour;
197 font-weight: $font-semibold;
198 color: pvar(--menuForegroundColor);
201 .logged-in-username {
209 flex-direction: column;
210 align-items: flex-start;
211 border-top: 1px solid var(--greyForegroundColor);
212 line-height: $line-height-normal;
216 $additional-margin: math.div($menu-link-icon-size - $icon-size, 2);
223 // Keep aligned with other icons
224 @include margin-left($additional-margin);
234 @include apply-svg-color(var(--menuForegroundColor));
239 $border-left-width: 4px;
241 font-weight: $font-semibold;
242 border-left: $border-left-width solid var(--mainColor);
245 @include margin-left($additional-margin - $border-left-width);
251 .login-buttons-block {
252 margin: 30px 25px 35px;
264 .create-account-button {
266 background-color: rgba(255, 255, 255, 0.25);
269 background-color: rgba(255, 255, 255, 0.28);
279 @include margin-left(26px);
280 @include margin-right(30px);
282 text-transform: uppercase;
283 font-weight: $font-bold; // Bold
295 padding-bottom: 15px;
300 flex-direction: column;
301 padding: 0 $menu-lateral-padding;
313 @include margin-right(8px);
315 display: inline-block;
316 text-decoration: none;
317 color: pvar(--menuForegroundColor);
318 opacity: $footer-links-base-opacity;
326 .footer-copyleft small a {
327 @include disable-default-a-behaviour;
329 color: pvar(--menuForegroundColor);
330 opacity: $footer-links-base-opacity - .2;
334 z-index: #{z('menu') + 1} !important;
338 width: calc(100% + 40px);
340 // Prevent weird display issue on firefox when global style is not loaded yet
347 @include dropdown-with-icon-item;
354 .hover-display-toggle {
358 .hover-display-toggle[hidden] {
359 display: inherit !important;
365 text-transform: uppercase;
370 @media screen and (max-width: $mobile-view) {
372 width: 100% !important;
381 width: 100% !important;
385 width: calc(100vw - 30px);
390 &[iconName=playlists] {
391 @include margin-right(16px);
402 &[iconName=channel] {
406 &[iconName='sign-out'] {