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
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;
95 color: pvar(--inputForegroundColor);
99 @include disable-outline;
105 font-weight: $font-bold;
110 background-color: pvar(--greyBackgroundColor);
111 color: pvar(--greyForegroundColor);
116 display: inline-block;
117 vertical-align: middle;
127 my-input-toggle-hidden ::ng-deep input {
128 border-color: $red !important;
143 margin: 0 !important;
147 margin-left: $menu-width;
148 width: calc(100% - #{$menu-width});
152 margin-left: pvar(--horizontalMarginContent);
153 margin-right: pvar(--horizontalMarginContent);
158 background-color: pvar(--submenuBackgroundColor);
162 padding-left: pvar(--horizontalMarginContent);
163 padding-right: pvar(--horizontalMarginContent);
164 height: $sub-menu-height;
165 margin-bottom: $sub-menu-margin-bottom;
170 z-index: #{z('sub-menu') - 1};
171 max-width: pvar(--mainColWidth);
175 // Use an appropriate offset top when sub-menu fixed
176 .margin-content.offset-content {
177 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
180 // Override some properties if the main content is expanded (no menu on the left)
182 --horizontalMarginContent: #{$expanded-horizontal-margins};
183 --mainColWidth: 100vw;
189 &.lock-scroll .main-row > router-outlet + * { /* stylelint-disable-line selector-max-compound-selectors */
190 // Lock and hide body scrollbars
193 // Lock and hide sub-menu scrollbars
194 .sub-menu { /* stylelint-disable-line */
201 @include disable-default-a-behaviour;
204 color: pvar(--mainForegroundColor);
206 display: inline-block;
208 font-weight: $font-semibold;
209 border-bottom: 2px solid transparent;
211 &.title-page-single {
217 border-bottom-color: pvar(--mainColor);
220 &.title-page-single {
227 color: pvar(--mainForegroundColor);
234 &.title-page-single {
236 outline: 0 hidden !important;
239 @media screen and (max-width: $mobile-view) {
245 .title-page-settings {
260 @include disable-default-a-behaviour;
263 color: pvar(--mainForegroundColor);
265 border-radius: 0.25rem;
266 font-weight: $font-semibold;
270 background-color: pvar(--submenuBackgroundColor);
287 // In tables, don't have a hover different background
290 .action-button-delete {
296 background-color: $grey-background-color !important;
306 flex-direction: column;
308 justify-content: center;
310 font-weight: $font-semibold;
314 @include dropdown-with-icon-item;
322 /* offsetTop for scrollToAnchor */
326 top: #{-($header-height + 20px)};
329 .offset-content { // if sub-menu fixed
331 top: #{-($header-height + $sub-menu-height + 20px)};
335 .form-group-description {
343 z-index: z(header) + 1 !important;
346 @media screen and (max-width: #{breakpoint(xxl)}) {
348 --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2};
349 --videosHorizontalMarginContent: 30px;
352 --horizontalMarginContent: #{$expanded-horizontal-margins / 2};
357 @media screen and (max-width: #{breakpoint(lg)}) {
359 --videosHorizontalMarginContent: #{pvar(--horizontalMarginContent)};
362 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
365 --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;
395 margin-bottom: $sub-menu-margin-bottom-small-view;
399 // Use an appropriate offset top when sub-menu fixed
400 .margin-content.offset-content {
401 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
405 @include admin-sub-header-responsive;
408 my-markdown-textarea {
410 max-width: 100% !important;
415 input[type=password],
418 .peertube-select-container {
422 .caption input[type=text] {
423 width: unset !important;