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 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);
108 color: pvar(--greyForegroundColor);
113 display: inline-block;
114 vertical-align: middle;
124 my-input-toggle-hidden ::ng-deep input {
125 border-color: $red !important;
140 margin: 0 !important;
144 margin-left: $menu-width;
145 width: calc(100% - #{$menu-width});
149 margin-left: $not-expanded-horizontal-margins;
150 margin-right: $not-expanded-horizontal-margins;
155 background-color: pvar(--submenuColor);
159 padding-left: $not-expanded-horizontal-margins;
160 padding-right: $not-expanded-horizontal-margins;
161 height: $sub-menu-height;
162 margin-bottom: $sub-menu-margin-bottom;
166 z-index: #{z('sub-menu') - 1};
170 // Use an appropriate offset top when sub-menu fixed
171 .margin-content.offset-content {
172 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
175 // Override some properties if the main content is expanded (no menu on the left)
181 margin-left: var(--expanded-horizontal-margin-content);
182 margin-right: var(--expanded-horizontal-margin-content);
186 padding-left: var(--expanded-horizontal-margin-content);
187 padding-right: var(--expanded-horizontal-margin-content);
191 &.lock-scroll .main-row > router-outlet + * {
192 // Lock and hide body scrollbars
195 // Lock and hide sub-menu scrollbars
204 color: pvar(--mainForegroundColor);
206 display: inline-block;
208 font-weight: $font-semibold;
209 @include disable-default-a-behaviour;
211 border-bottom: 2px solid transparent;
213 &.title-page-single {
219 border-bottom-color: pvar(--mainColor);
222 &.title-page-single {
226 &:hover, &:active, &:focus {
227 color: pvar(--mainForegroundColor);
230 &.active, &:hover, &:active, &:focus, &.title-page-single {
232 outline: 0px hidden !important;
235 @media screen and (max-width: $mobile-view) {
241 .title-page-settings {
256 @include disable-default-a-behaviour;
259 color: pvar(--mainForegroundColor);
261 border-radius: 0.25rem;
262 font-weight: $font-semibold;
266 background-color: pvar(--submenuColor);
269 &.active, &:hover, &:active, &:focus {
281 from { transform: scale(1) rotate(0deg);}
282 to { transform: scale(1) rotate(360deg);}
285 // In tables, don't have a hover different background
287 .action-button-edit, .action-button-delete {
288 &:hover, &:active, &:focus, &[disabled], &.disabled {
289 background-color: $grey-background-color !important;
299 flex-direction: column;
301 justify-content: center;
303 font-weight: $font-semibold;
307 @include dropdown-with-icon-item;
315 /* offsetTop for scrollToAnchor */
319 top: #{-($header-height + 20px)};
322 .offset-content { // if sub-menu fixed
324 top: #{-($header-height + $sub-menu-height + 20px)};
328 .form-group-description {
336 z-index: z(header) + 1 !important;
339 @media screen and (max-width: #{breakpoint(xxl)}) {
343 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/2};
349 @media screen and (max-width: #{breakpoint(lg)}) {
350 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
354 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/3};
369 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
375 @media screen and (max-width: $small-view) {
381 --expanded-horizontal-margin-content: 15px;
388 margin-bottom: $sub-menu-margin-bottom-small-view;
392 // Use an appropriate offset top when sub-menu fixed
393 .margin-content.offset-content {
394 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
398 @include admin-sub-header-responsive(15px*2);
401 my-markdown-textarea {
403 max-width: 100% !important;
408 input[type=password],
411 .peertube-select-container {
415 .caption input[type=text] {
416 width: unset !important;
423 // overflow-databale responsive rules
424 @media screen and (min-width: #{breakpoint(lg)}) {
427 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
431 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
436 @media screen and (max-width: #{breakpoint(lg)}) {
439 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
443 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
448 @media screen and (max-width: $small-view) {
452 @include overflow-datatable(breakpoint(lg), 15px);
457 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
461 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
466 width: calc(100vw - #{$menu-width});