1 $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
3 @import '_bootstrap-variables';
9 @import '~video.js/dist/video-js.css';
11 $assets-path: '../../assets/';
12 @import './player/index';
14 @import './bootstrap';
15 @import './primeng-custom';
16 @import './ng-select.scss';
19 display: none !important;
24 // now beware node-sass requires interpolation
25 // for css custom properties #{$var}
26 --mainColor: #{$main-color};
27 --mainColorLighter: #{$main-color-lighter};
28 --mainColorLightest: #{$main-color-lightest};
29 --mainHoverColor: #{$main-hover-color};
30 --mainBackgroundColor: #{$bg-color};
31 --mainForegroundColor: #{$fg-color};
32 --secondaryColor: #{$secondary-color};
34 --greyForegroundColor: #{$grey-foreground-color};
35 --greyBackgroundColor: #{$grey-background-color};
37 --menuBackgroundColor: #{$menu-background};
38 --menuForegroundColor: #{$menu-color};
39 --submenuColor: #{$sub-menu-color};
41 --inputForegroundColor: #{$input-foreground-color};
42 --inputBackgroundColor: #{$input-background-color};
43 --inputPlaceholderColor: #{$input-placeholder-color};
45 --textareaForegroundColor: #{$textarea-foreground-color};
46 --textareaBackgroundColor: #{$textarea-background-color};
47 --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
49 --actionButtonColor: #{$grey-foreground-color};
50 --supportButtonBackgroundColor: #{transparent};
51 --supportButtonColor: #{pvar(--actionButtonColor)};
52 --supportButtonHeartColor: #{$support-button-heart};
54 --activatedActionButtonColor: #{$activated-action-button-color};
56 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins};
58 font-family: $main-fonts;
59 font-weight: $font-regular;
60 color: pvar(--mainForegroundColor);
61 background-color: pvar(--mainBackgroundColor);
63 // On desktop browsers, make sure vertical scroll bar is always visible
64 // Allow to disable the scrollbar instead of hide it when the content fit the body
65 // And not move the content and header horizontally sticked to right when the content is updating
70 color: pvar(--mainBackgroundColor);
71 background-color: pvar(--mainHoverColor);
74 #incompatible-browser {
83 font-weight: $font-semibold;
87 /* Force blank on readonly inputs */
88 background-color: pvar(--inputBackgroundColor) !important;
93 color: pvar(--mainForegroundColor);
98 @include disable-outline;
102 font-weight: $font-bold;
107 background-color: pvar(--greyBackgroundColor);
112 display: inline-block;
113 vertical-align: middle;
123 border-color: $red !important;
138 margin: 0 !important;
142 margin-left: $menu-width;
143 width: calc(100% - #{$menu-width});
147 margin-left: $not-expanded-horizontal-margins;
148 margin-right: $not-expanded-horizontal-margins;
153 background-color: pvar(--submenuColor);
157 padding-left: $not-expanded-horizontal-margins;
158 padding-right: $not-expanded-horizontal-margins;
159 height: $sub-menu-height;
160 margin-bottom: $sub-menu-margin-bottom;
164 z-index: #{z('sub-menu') - 1};
168 // Use an appropriate offset top when sub-menu fixed
169 .margin-content.offset-content {
170 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
173 // Override some properties if the main content is expanded (no menu on the left)
179 margin-left: var(--expanded-horizontal-margin-content);
180 margin-right: var(--expanded-horizontal-margin-content);
184 padding-left: var(--expanded-horizontal-margin-content);
185 padding-right: var(--expanded-horizontal-margin-content);
189 &.lock-scroll .main-row > router-outlet + * {
190 // Lock and hide body scrollbars
193 // Lock and hide sub-menu scrollbars
202 color: pvar(--mainForegroundColor);
204 display: inline-block;
206 font-weight: $font-semibold;
207 @include disable-default-a-behaviour;
209 border-bottom: 2px solid transparent;
211 &.title-page-single {
217 border-bottom-color: pvar(--mainColor);
220 &.title-page-single {
224 &:hover, &:active, &:focus {
225 color: pvar(--mainForegroundColor);
228 &.active, &:hover, &:active, &:focus, &.title-page-single {
230 outline: 0px hidden !important;
233 @media screen and (max-width: $mobile-view) {
239 .title-page-settings {
254 @include disable-default-a-behaviour;
257 color: pvar(--mainForegroundColor);
259 border-radius: 0.25rem;
260 font-weight: $font-semibold;
264 background-color: #f0f0f0;
267 &.active, &:hover, &:active, &:focus {
279 from { transform: scale(1) rotate(0deg);}
280 to { transform: scale(1) rotate(360deg);}
283 // In tables, don't have a hover different background
285 .action-button-edit, .action-button-delete {
286 &:hover, &:active, &:focus, &[disabled], &.disabled {
287 background-color: $grey-background-color !important;
297 flex-direction: column;
299 justify-content: center;
301 font-weight: $font-semibold;
305 @include dropdown-with-icon-item;
313 /* offsetTop for scrollToAnchor */
317 top: #{-($header-height + 20px)};
320 .offset-content { // if sub-menu fixed
322 top: #{-($header-height + $sub-menu-height + 20px)};
326 .form-group-description {
334 z-index: z(header) + 1 !important;
337 @media screen and (max-width: #{breakpoint(xxl)}) {
341 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/2};
347 @media screen and (max-width: #{breakpoint(lg)}) {
348 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
352 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/3};
367 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
373 @media screen and (max-width: $small-view) {
379 --expanded-horizontal-margin-content: 15px;
386 margin-bottom: $sub-menu-margin-bottom-small-view;
390 // Use an appropriate offset top when sub-menu fixed
391 .margin-content.offset-content {
392 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
396 @include admin-sub-header-responsive(15px*2);
399 my-markdown-textarea {
401 max-width: 100% !important;
406 input[type=password],
409 .peertube-select-container {
413 .caption input[type=text] {
414 width: unset !important;
421 // overflow-databale responsive rules
422 @media screen and (min-width: #{breakpoint(lg)}) {
425 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
429 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
434 @media screen and (max-width: #{breakpoint(lg)}) {
437 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
441 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
446 @media screen and (max-width: $small-view) {
450 @include overflow-datatable(breakpoint(lg), 15px);
455 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
459 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
464 width: calc(100vw - #{$menu-width});