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;
20 background-color: rgba(255, 255, 255, 0.15);
23 &:hover, &.focus-visible {
24 background-color: rgba(255, 255, 255, 0.10);
28 @include apply-svg-color(#808080);
31 width: $menu-link-icon-size;
32 height: $menu-link-icon-size;
33 margin-right: $menu-link-icon-margin-right;
39 height: calc(100vh - #{$header-height});
43 scrollbar-color: pvar(--actionButtonColor) pvar(--menuBackgroundColor);
49 background-color: pvar(--menuBackgroundColor);
50 color: pvar(--menuForegroundColor);
53 flex-direction: column;
63 @media not all and (hover: hover) and (pointer: fine) {
85 background-color: rgba(255, 255, 255, 0.15);
91 justify-content: left;
97 border-radius: $main-radius;
98 transition: all .1s ease-in-out;
106 background-color: rgba(255, 255, 255, 0.20);
107 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
110 @mixin display-hints($is-mobile: false) {
111 background-color: rgba(255, 255, 255, 0.15);
114 .dropdown-toggle-indicator {
115 display: inherit !important;
117 .dropdown-toggle:first-child {
118 padding-right: 30px !important;
124 @include display-hints;
127 /* smartphones and touchscreens */
128 @media (hover: none) and (pointer: coarse) {
129 @include display-hints($is-mobile: true);
131 /* fill space when on mobile */
132 max-width: calc(100% - 80px);
137 max-width: calc(100% - 45px) !important;
142 .dropdown-toggle-indicator {
162 .dropdown-toggle:first-child {
163 display: inline-flex;
169 @include avatar(34px);
179 .logged-in-display-name,
180 .logged-in-username {
184 .logged-in-display-name {
186 font-weight: $font-semibold;
187 color: pvar(--menuForegroundColor);
189 @include disable-default-a-behaviour;
192 .logged-in-username {
208 flex-direction: column;
209 align-items: flex-start;
210 border-top: 1px solid var(--greyForegroundColor);
214 @include disable-default-a-behaviour;
217 $additional-margin: ($menu-link-icon-size - $icon-size) / 2;
227 // Keep aligned with other icons
228 margin-left: $additional-margin;
230 &[iconName="channel"] {
239 @include apply-svg-color(var(--menuForegroundColor));
244 $border-left-width: 4px;
246 font-weight: $font-semibold;
247 border-left: $border-left-width solid var(--mainColor);
250 margin-left: $additional-margin - $border-left-width;
257 .login-buttons-block {
258 margin: 30px 25px 35px 25px;
261 @include peertube-button-link;
262 @include orange-button;
269 .create-account-button {
270 @include peertube-button-link;
276 background-color: rgba(255, 255, 255, 0.25);
279 background-color: rgba(255, 255, 255, 0.28);
290 text-transform: uppercase;
291 font-weight: $font-bold; // Bold
303 @include disable-default-a-behaviour;
308 &[iconName="playlists"] {
315 &[iconName="videos"] {
325 padding-bottom: 15px;
329 flex-direction: column;
330 padding: 0 $menu-lateral-padding;
333 $footer-links-base-opacity: .8;
341 a, span[role=button] {
342 display: inline-block;
343 text-decoration: none;
344 color: pvar(--menuForegroundColor);
345 opacity: $footer-links-base-opacity;
352 &.inline-global-icon {
353 display: inline-flex;
359 @include apply-svg-color(pvar(--menuForegroundColor));
370 .footer-copyleft small a {
371 @include disable-default-a-behaviour;
373 color: pvar(--menuForegroundColor);
374 opacity: $footer-links-base-opacity - .2;
379 z-index: #{z('menu') + 1} !important;
383 width: calc(100% + 40px);
387 @include dropdown-with-icon-item;
393 i.glyphicon-menu-right {
399 &[iconName="sign-out"] {
407 my-global-icon.not-displayed {
412 my-global-icon.hover-display-toggle.not-displayed {
415 my-global-icon.hover-display-toggle {
419 &.settings-sensitive {
420 my-global-icon ::ng-deep svg {
421 margin-top: 2px !important;
428 text-transform: uppercase;
433 @media screen and (max-width: $mobile-view) {
435 width: 100% !important;
443 width: 100% !important;
447 width: calc(100vw - 30px);
450 .dropdown-item:hover, .dropdown-item:active {
451 &.settings-sensitive my-global-icon ::ng-deep svg {
452 margin-top: 0px !important;