1 $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
3 @import '_bootstrap-variables';
10 @import './primeng-custom';
11 @import './ng-select.scss';
13 @import './classes.scss';
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
71 color: pvar(--mainBackgroundColor);
72 background-color: pvar(--mainHoverColor);
76 #incompatible-browser {
84 font-weight: $font-semibold;
88 /* Force blank on readonly inputs */
89 background-color: pvar(--inputBackgroundColor) !important;
94 color: pvar(--inputForegroundColor);
99 @include disable-outline;
103 font-weight: $font-bold;
108 background-color: pvar(--greyBackgroundColor);
109 color: pvar(--greyForegroundColor);
114 display: inline-block;
115 vertical-align: middle;
125 my-input-toggle-hidden ::ng-deep input {
126 border-color: $red !important;
141 margin: 0 !important;
145 margin-left: $menu-width;
146 width: calc(100% - #{$menu-width});
150 margin-left: pvar(--horizontalMarginContent);
151 margin-right: pvar(--horizontalMarginContent);
156 background-color: pvar(--submenuBackgroundColor);
160 padding-left: pvar(--horizontalMarginContent);
161 padding-right: pvar(--horizontalMarginContent);
162 height: $sub-menu-height;
163 margin-bottom: $sub-menu-margin-bottom;
168 z-index: #{z('sub-menu') - 1};
169 max-width: pvar(--mainColWidth);
173 // Use an appropriate offset top when sub-menu fixed
174 .margin-content.offset-content {
175 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
178 // Override some properties if the main content is expanded (no menu on the left)
180 --horizontalMarginContent: #{$expanded-horizontal-margins};
181 --mainColWidth: 100vw;
187 &.lock-scroll .main-row > router-outlet + * {
188 // Lock and hide body scrollbars
191 // Lock and hide sub-menu scrollbars
200 color: pvar(--mainForegroundColor);
202 display: inline-block;
204 font-weight: $font-semibold;
205 @include disable-default-a-behaviour;
207 border-bottom: 2px solid transparent;
209 &.title-page-single {
215 border-bottom-color: pvar(--mainColor);
218 &.title-page-single {
222 &:hover, &:active, &:focus {
223 color: pvar(--mainForegroundColor);
226 &.active, &:hover, &:active, &:focus, &.title-page-single {
228 outline: 0px hidden !important;
231 @media screen and (max-width: $mobile-view) {
237 .title-page-settings {
252 @include disable-default-a-behaviour;
255 color: pvar(--mainForegroundColor);
257 border-radius: 0.25rem;
258 font-weight: $font-semibold;
262 background-color: pvar(--submenuBackgroundColor);
265 &.active, &:hover, &:active, &:focus {
276 // In tables, don't have a hover different background
278 .action-button-edit, .action-button-delete {
279 &:hover, &:active, &:focus, &[disabled], &.disabled {
280 background-color: $grey-background-color !important;
290 flex-direction: column;
292 justify-content: center;
294 font-weight: $font-semibold;
298 @include dropdown-with-icon-item;
306 /* offsetTop for scrollToAnchor */
310 top: #{-($header-height + 20px)};
313 .offset-content { // if sub-menu fixed
315 top: #{-($header-height + $sub-menu-height + 20px)};
319 .form-group-description {
327 z-index: z(header) + 1 !important;
330 @media screen and (max-width: #{breakpoint(xxl)}) {
333 --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2};
337 --horizontalMarginContent: #{$expanded-horizontal-margins / 2};
340 --videosHorizontalMarginContent: 30px;
344 @media screen and (max-width: #{breakpoint(lg)}) {
346 --videosHorizontalMarginContent: #{pvar(--horizontalMarginContent)};
349 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
352 --horizontalMarginContent: #{$expanded-horizontal-margins / 3};
365 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
371 @media screen and (max-width: $small-view) {
374 --horizontalMarginContent: 15px;
382 margin-bottom: $sub-menu-margin-bottom-small-view;
386 // Use an appropriate offset top when sub-menu fixed
387 .margin-content.offset-content {
388 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
392 @include admin-sub-header-responsive;
395 my-markdown-textarea {
397 max-width: 100% !important;
402 input[type=password],
405 .peertube-select-container {
409 .caption input[type=text] {
410 width: unset !important;