4 $menu-link-icon-size: 22px;
5 $menu-link-icon-margin-right: 18px;
10 padding-left: $menu-lateral-padding;
11 color: pvar(--menuForegroundColor);
15 word-break: break-word;
17 transition: background-color .1s ease-in-out;
18 line-height: $line-height-normal;
21 background-color: rgba(255, 255, 255, 0.15);
24 &:hover, &.focus-visible {
25 background-color: rgba(255, 255, 255, 0.10);
29 @include apply-svg-color(#808080);
32 width: $menu-link-icon-size;
33 height: $menu-link-icon-size;
34 margin-right: $menu-link-icon-margin-right;
40 height: calc(100vh - #{$header-height});
44 scrollbar-color: pvar(--actionButtonColor) pvar(--menuBackgroundColor);
50 background-color: pvar(--menuBackgroundColor);
51 color: pvar(--menuForegroundColor);
54 flex-direction: column;
64 @media not all and (hover: hover) and (pointer: fine) {
86 background-color: rgba(255, 255, 255, 0.15);
92 justify-content: left;
99 border-radius: $main-radius;
100 transition: all .1s ease-in-out;
108 background-color: rgba(255, 255, 255, 0.20);
109 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
112 @mixin display-hints($is-mobile: false) {
113 background-color: rgba(255, 255, 255, 0.15);
116 .dropdown-toggle-indicator {
117 display: inherit !important;
119 .dropdown-toggle:first-child {
120 padding-right: 30px !important;
126 @include display-hints;
129 /* smartphones and touchscreens */
130 @media (hover: none) and (pointer: coarse) {
131 @include display-hints($is-mobile: true);
133 /* fill space when on mobile */
134 max-width: calc(100% - 80px);
139 max-width: calc(100% - 45px) !important;
144 .dropdown-toggle-indicator {
164 .dropdown-toggle:first-child {
168 border-radius: $main-radius;
172 @include avatar(34px);
182 .logged-in-display-name,
183 .logged-in-username {
187 .logged-in-display-name {
189 font-weight: $font-semibold;
190 color: pvar(--menuForegroundColor);
192 @include disable-default-a-behaviour;
195 .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 @include disable-default-a-behaviour;
221 $additional-margin: ($menu-link-icon-size - $icon-size) / 2;
231 // Keep aligned with other icons
232 margin-left: $additional-margin;
234 &[iconName="channel"] {
243 @include apply-svg-color(var(--menuForegroundColor));
248 $border-left-width: 4px;
250 font-weight: $font-semibold;
251 border-left: $border-left-width solid var(--mainColor);
254 margin-left: $additional-margin - $border-left-width;
261 .login-buttons-block {
262 margin: 30px 25px 35px 25px;
265 @include peertube-button-link;
266 @include orange-button;
273 .create-account-button {
274 @include peertube-button-link;
280 background-color: rgba(255, 255, 255, 0.25);
283 background-color: rgba(255, 255, 255, 0.28);
294 text-transform: uppercase;
295 font-weight: $font-bold; // Bold
307 @include disable-default-a-behaviour;
312 &[iconName="playlists"] {
319 &[iconName="videos"] {
329 padding-bottom: 15px;
333 flex-direction: column;
334 padding: 0 $menu-lateral-padding;
337 $footer-links-base-opacity: .8;
345 a, span[role=button] {
346 display: inline-block;
347 text-decoration: none;
348 color: pvar(--menuForegroundColor);
349 opacity: $footer-links-base-opacity;
356 &.inline-global-icon {
357 display: inline-flex;
363 @include apply-svg-color(pvar(--menuForegroundColor));
374 .footer-copyleft small a {
375 @include disable-default-a-behaviour;
377 color: pvar(--menuForegroundColor);
378 opacity: $footer-links-base-opacity - .2;
383 z-index: #{z('menu') + 1} !important;
387 width: calc(100% + 40px);
391 @include dropdown-with-icon-item;
397 i.glyphicon-menu-right {
403 &[iconName="sign-out"] {
411 my-global-icon.not-displayed {
416 my-global-icon.hover-display-toggle.not-displayed {
419 my-global-icon.hover-display-toggle {
423 &.settings-sensitive {
424 my-global-icon ::ng-deep svg {
425 margin-top: 2px !important;
432 text-transform: uppercase;
437 @media screen and (max-width: $mobile-view) {
439 width: 100% !important;
447 width: 100% !important;
451 width: calc(100vw - 30px);
454 .dropdown-item:hover, .dropdown-item:active {
455 &.settings-sensitive my-global-icon ::ng-deep svg {
456 margin-top: 0px !important;