4 $menu-link-icon-size: 22px;
5 $menu-link-icon-margin-right: 18px;
6 $footer-links-base-opacity: .8;
11 padding-left: $menu-lateral-padding;
12 color: pvar(--menuForegroundColor);
16 word-break: break-word;
18 transition: background-color .1s ease-in-out;
19 line-height: $line-height-normal;
22 background-color: rgba(255, 255, 255, 0.15);
25 &:hover, &.focus-visible {
26 background-color: rgba(255, 255, 255, 0.10);
30 @include apply-svg-color(#808080);
33 width: $menu-link-icon-size;
34 height: $menu-link-icon-size;
35 margin-right: $menu-link-icon-margin-right;
41 height: calc(100vh - #{$header-height});
45 scrollbar-color: pvar(--actionButtonColor) pvar(--menuBackgroundColor);
51 background-color: pvar(--menuBackgroundColor);
52 color: pvar(--menuForegroundColor);
55 flex-direction: column;
65 @media not all and (hover: hover) and (pointer: fine) {
87 background-color: rgba(255, 255, 255, 0.15);
93 justify-content: left;
107 border-radius: $main-radius;
108 transition: all .1s ease-in-out;
116 background-color: rgba(255, 255, 255, 0.20);
117 box-shadow: inset 0 3px 5px rgba(0, 0, 0, .325);
120 @mixin display-hints($is-mobile: false) {
121 background-color: rgba(255, 255, 255, 0.15);
124 .dropdown-toggle-indicator {
125 display: inherit !important;
127 .dropdown-toggle:first-child {
128 padding-right: 30px !important;
134 @include display-hints;
137 /* smartphones and touchscreens */
138 @media (hover: none) and (pointer: coarse) {
139 @include display-hints($is-mobile: true);
141 /* fill space when on mobile */
142 max-width: calc(100% - 80px);
147 max-width: calc(100% - 45px) !important;
152 .dropdown-toggle-indicator {
172 .dropdown-toggle:first-child {
176 border-radius: $main-radius;
189 .logged-in-display-name,
190 .logged-in-username {
194 .logged-in-display-name {
196 font-weight: $font-semibold;
197 color: pvar(--menuForegroundColor);
199 @include disable-default-a-behaviour;
202 .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;
260 .login-buttons-block {
261 margin: 30px 25px 35px 25px;
264 @include peertube-button-link;
265 @include orange-button;
272 .create-account-button {
273 @include peertube-button-link;
279 background-color: rgba(255, 255, 255, 0.25);
282 background-color: rgba(255, 255, 255, 0.28);
293 text-transform: uppercase;
294 font-weight: $font-bold; // Bold
306 @include disable-default-a-behaviour;
311 &[iconName="playlists"] {
318 &[iconName="videos"] {
328 padding-bottom: 15px;
332 flex-direction: column;
333 padding: 0 $menu-lateral-padding;
343 a, span[role=button] {
344 display: inline-block;
345 text-decoration: none;
346 color: pvar(--menuForegroundColor);
347 opacity: $footer-links-base-opacity;
354 &.inline-global-icon {
355 display: inline-flex;
361 @include apply-svg-color(pvar(--menuForegroundColor));
372 .footer-copyleft small a {
373 @include disable-default-a-behaviour;
375 color: pvar(--menuForegroundColor);
376 opacity: $footer-links-base-opacity - .2;
380 z-index: #{z('menu') + 1} !important;
384 width: calc(100% + 40px);
388 @include dropdown-with-icon-item;
394 i.glyphicon-menu-right {
400 &[iconName="sign-out"] {
408 my-global-icon.not-displayed {
413 my-global-icon.hover-display-toggle.not-displayed {
416 my-global-icon.hover-display-toggle {
420 &.settings-sensitive {
421 my-global-icon ::ng-deep svg {
422 margin-top: 2px !important;
429 text-transform: uppercase;
434 @media screen and (max-width: $mobile-view) {
436 width: 100% !important;
444 width: 100% !important;
448 width: calc(100vw - 30px);
451 .dropdown-item:hover, .dropdown-item:active {
452 &.settings-sensitive my-global-icon ::ng-deep svg {
453 margin-top: 0px !important;