1 $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
3 @import '_bootstrap-variables';
10 @import './primeng-custom';
11 @import './ng-select';
16 display: none !important;
21 // now beware sass requires interpolation
22 // for css custom properties #{$var}
23 --mainColor: #{$main-color};
24 --mainColorLighter: #{$main-color-lighter};
25 --mainColorLightest: #{$main-color-lightest};
26 --mainHoverColor: #{$main-hover-color};
27 --mainBackgroundColor: #{$bg-color};
28 --mainForegroundColor: #{$fg-color};
29 --secondaryColor: #{$secondary-color};
31 --greyForegroundColor: #{$grey-foreground-color};
32 --greyBackgroundColor: #{$grey-background-color};
34 --menuBackgroundColor: #{$menu-background};
35 --menuForegroundColor: #{$menu-color};
37 --submenuBackgroundColor: #{$sub-menu-background-color};
38 --channelBackgroundColor: #{$channel-background-color};
40 --inputForegroundColor: #{$input-foreground-color};
41 --inputBackgroundColor: #{$input-background-color};
42 --inputPlaceholderColor: #{$input-placeholder-color};
44 --textareaForegroundColor: #{$textarea-foreground-color};
45 --textareaBackgroundColor: #{$textarea-background-color};
46 --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
48 --actionButtonColor: #{$grey-foreground-color};
49 --supportButtonBackgroundColor: #{transparent};
50 --supportButtonColor: #{pvar(--actionButtonColor)};
51 --supportButtonHeartColor: #{$support-button-heart};
53 --activatedActionButtonColor: #{$activated-action-button-color};
55 --horizontalMarginContent: #{$not-expanded-horizontal-margins};
56 --videosHorizontalMarginContent: 6vw;
57 --mainColWidth: calc(100vw - #{$menu-width});
59 font-family: $main-fonts;
60 font-weight: $font-regular;
61 color: pvar(--mainForegroundColor);
62 background-color: pvar(--mainBackgroundColor);
64 // On desktop browsers, make sure vertical scroll bar is always visible
65 // Allow to disable the scrollbar instead of hide it when the content fit the body
66 // And not move the content and header horizontally sticked to right when the content is updating
69 // Fix "reboot" style that set text-align: left
74 color: pvar(--mainBackgroundColor);
75 background-color: pvar(--mainHoverColor);
79 #incompatible-browser {
87 font-weight: $font-semibold;
91 /* Force blank on readonly inputs */
92 background-color: pvar(--inputBackgroundColor) !important;
98 color: pvar(--inputForegroundColor);
102 @include disable-outline;
108 font-weight: $font-bold;
113 background-color: pvar(--greyBackgroundColor);
114 color: pvar(--greyForegroundColor);
119 display: inline-block;
120 vertical-align: middle;
130 my-input-toggle-hidden ::ng-deep input {
131 border-color: $red !important;
145 margin: 0 !important;
149 @include margin-left($menu-width);
151 width: calc(100% - #{$menu-width});
155 margin: 0 pvar(--horizontalMarginContent);
160 background-color: pvar(--submenuBackgroundColor);
164 padding: 0 pvar(--horizontalMarginContent);
165 height: $sub-menu-height;
166 margin-bottom: $sub-menu-margin-bottom;
171 z-index: #{z('sub-menu') - 1};
172 max-width: pvar(--mainColWidth);
176 // Use an appropriate offset top when sub-menu fixed
177 .margin-content.offset-content {
178 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
181 // Override some properties if the main content is expanded (no menu on the left)
183 --horizontalMarginContent: #{$expanded-horizontal-margins};
184 --mainColWidth: 100vw;
186 @include margin-left(0);
190 &.lock-scroll .main-row > router-outlet + * { /* stylelint-disable-line selector-max-compound-selectors */
191 // Lock and hide body scrollbars
194 // Lock and hide sub-menu scrollbars
195 .sub-menu { /* stylelint-disable-line */
202 @include disable-default-a-behaviour;
203 @include margin-right(55px);
206 color: pvar(--mainForegroundColor);
208 display: inline-block;
209 font-weight: $font-semibold;
210 border-bottom: 2px solid transparent;
212 &.title-page-single {
218 border-bottom-color: pvar(--mainColor);
221 &.title-page-single {
228 color: pvar(--mainForegroundColor);
235 &.title-page-single {
237 outline: 0 hidden !important;
240 @media screen and (max-width: $mobile-view) {
241 @include margin-left(15px);
246 .title-page-settings {
261 @include disable-default-a-behaviour;
264 color: pvar(--mainForegroundColor);
266 border-radius: 0.25rem;
267 font-weight: $font-semibold;
271 background-color: pvar(--submenuBackgroundColor);
288 // In tables, don't have a hover different background
291 .action-button-delete {
297 background-color: $grey-background-color !important;
307 flex-direction: column;
309 justify-content: center;
311 font-weight: $font-semibold;
315 @include dropdown-with-icon-item;
323 /* offsetTop for scrollToAnchor */
327 top: #{-($header-height + 20px)};
330 .offset-content { // if sub-menu fixed
332 top: #{-($header-height + $sub-menu-height + 20px)};
336 .form-group-description {
344 z-index: z(header) + 1 !important;
347 @media screen and (max-width: #{breakpoint(xxl)}) {
349 --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2};
350 --videosHorizontalMarginContent: 30px;
353 --horizontalMarginContent: #{$expanded-horizontal-margins / 2};
358 @media screen and (max-width: #{breakpoint(lg)}) {
360 --videosHorizontalMarginContent: #{pvar(--horizontalMarginContent)};
363 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
366 --horizontalMarginContent: #{$expanded-horizontal-margins / 3};
378 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
384 @media screen and (max-width: $small-view) {
387 --horizontalMarginContent: 15px;
389 @include margin-left(0);
394 margin-bottom: $sub-menu-margin-bottom-small-view;
398 // Use an appropriate offset top when sub-menu fixed
399 .margin-content.offset-content {
400 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
404 flex-direction: column;
407 @include margin-right(0 !important);
422 @include margin-left(5px);
427 my-markdown-textarea {
429 max-width: 100% !important;
434 input[type=password],
437 .peertube-select-container {
441 .caption input[type=text] {
442 width: unset !important;