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;
113 border-color: $red !important;
128 margin: 0 !important;
132 margin-left: $menu-width;
133 width: calc(100% - #{$menu-width});
137 margin-left: $not-expanded-horizontal-margins;
138 margin-right: $not-expanded-horizontal-margins;
143 background-color: pvar(--submenuColor);
147 padding-left: $not-expanded-horizontal-margins;
148 padding-right: $not-expanded-horizontal-margins;
149 height: $sub-menu-height;
150 margin-bottom: $sub-menu-margin-bottom;
154 z-index: #{z('header') - 1};
158 // Use an appropriate offset top when sub-menu fixed
159 .margin-content.offset-content {
160 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
163 // Override some properties if the main content is expanded (no menu on the left)
169 margin-left: var(--expanded-horizontal-margin-content);
170 margin-right: var(--expanded-horizontal-margin-content);
174 padding-left: var(--expanded-horizontal-margin-content);
175 padding-right: var(--expanded-horizontal-margin-content);
179 &.lock-scroll .main-row > router-outlet + * {
180 // Lock and hide body scrollbars
183 // Lock and hide sub-menu scrollbars
192 color: pvar(--mainForegroundColor);
194 display: inline-block;
196 font-weight: $font-semibold;
197 @include disable-default-a-behaviour;
199 border-bottom: 2px solid transparent;
201 &.title-page-single {
207 border-bottom-color: pvar(--mainColor);
210 &.title-page-single {
214 &:hover, &:active, &:focus {
215 color: pvar(--mainForegroundColor);
218 &.active, &:hover, &:active, &:focus, &.title-page-single {
220 outline: 0px hidden !important;
223 @media screen and (max-width: $mobile-view) {
229 .title-page-settings {
244 @include disable-default-a-behaviour;
247 color: pvar(--mainForegroundColor);
249 border-radius: 0.25rem;
250 font-weight: $font-semibold;
254 background-color: #f0f0f0;
257 &.active, &:hover, &:active, &:focus {
269 from { transform: scale(1) rotate(0deg);}
270 to { transform: scale(1) rotate(360deg);}
273 // In tables, don't have a hover different background
275 .action-button-edit, .action-button-delete {
276 &:hover, &:active, &:focus, &[disabled], &.disabled {
277 background-color: $grey-background-color !important;
287 flex-direction: column;
289 justify-content: center;
291 font-weight: $font-semibold;
295 @include dropdown-with-icon-item;
303 /* offsetTop for scrollToAnchor */
307 top: #{-($header-height + 20px)};
310 .offset-content { // if sub-menu fixed
312 top: #{-($header-height + $sub-menu-height + 20px)};
316 @media screen and (max-width: #{breakpoint(xxl)}) {
320 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/2};
326 @media screen and (max-width: #{breakpoint(lg)}) {
327 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
331 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/3};
346 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
352 @media screen and (max-width: $small-view) {
358 --expanded-horizontal-margin-content: 15px;
365 margin-bottom: $sub-menu-margin-bottom-small-view;
369 // Use an appropriate offset top when sub-menu fixed
370 .margin-content.offset-content {
371 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
375 @include admin-sub-header-responsive(15px*2);
378 my-markdown-textarea {
380 max-width: 100% !important;
385 input[type=password],
388 .peertube-select-container {
392 .caption input[type=text] {
393 width: unset !important;
400 // overflow-databale responsive rules
401 @media screen and (min-width: #{breakpoint(lg)}) {
404 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
408 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
413 @media screen and (max-width: #{breakpoint(lg)}) {
416 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
420 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
425 @media screen and (max-width: $small-view) {
429 @include overflow-datatable(breakpoint(lg), 15px);
434 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
438 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
443 width: calc(100vw - #{$menu-width});