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';
13 @import './loading-bar';
15 @import './bootstrap';
16 @import './primeng-custom';
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 font-family: $main-fonts;
57 font-weight: $font-regular;
58 color: pvar(--mainForegroundColor);
59 background-color: pvar(--mainBackgroundColor);
61 // On desktop browsers, make sure vertical scroll bar is always visible
62 // Allow to disable the scrollbar instead of hide it when the content fit the body
63 // And not move the content and header horizontally sticked to right when the content is updating
68 color: pvar(--mainBackgroundColor);
69 background-color: pvar(--mainHoverColor);
72 #incompatible-browser {
81 font-weight: $font-semibold;
85 /* Force blank on readonly inputs */
86 background-color: pvar(--inputBackgroundColor) !important;
91 color: pvar(--mainForegroundColor);
96 @include disable-outline;
100 font-weight: $font-bold;
111 border-color: $red !important;
126 margin: 0 !important;
130 margin-left: $menu-width;
131 width: calc(100% - #{$menu-width});
135 margin-left: $not-expanded-horizontal-margins;
136 margin-right: $not-expanded-horizontal-margins;
140 my-top-menu-dropdown + .margin-content {
141 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
145 background-color: pvar(--submenuColor);
147 height: $sub-menu-height;
150 padding-left: $not-expanded-horizontal-margins;
151 padding-right: $not-expanded-horizontal-margins;
153 z-index: #{z('header') - 1};
155 & + .margin-content {
156 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
160 // Override some properties if the main content is expanded (no menu on the left)
166 margin-left: $expanded-horizontal-margins;
167 margin-right: $expanded-horizontal-margins;
171 padding-left: $expanded-horizontal-margins;
172 padding-right: $expanded-horizontal-margins;
176 &.lock-scroll .main-row > router-outlet + * {
177 // Lock and hide body scrollbars
180 // Lock and hide sub-menu scrollbars
189 color: pvar(--mainForegroundColor);
191 display: inline-block;
193 font-weight: $font-semibold;
194 @include disable-default-a-behaviour;
196 border-bottom: 2px solid transparent;
198 &.title-page-single {
204 border-bottom-color: pvar(--mainColor);
207 &.title-page-single {
211 &:hover, &:active, &:focus {
212 color: pvar(--mainForegroundColor);
215 &.active, &:hover, &:active, &:focus, &.title-page-single {
217 outline: 0px hidden !important;
220 @media screen and (max-width: $mobile-view) {
226 .title-page-settings {
241 @include disable-default-a-behaviour;
244 color: pvar(--mainForegroundColor);
246 border-radius: 0.25rem;
247 font-weight: $font-semibold;
251 background-color: #f0f0f0;
254 &.active, &:hover, &:active, &:focus {
266 from { transform: scale(1) rotate(0deg);}
267 to { transform: scale(1) rotate(360deg);}
270 // In tables, don't have a hover different background
272 .action-button-edit, .action-button-delete {
273 &:hover, &:active, &:focus, &[disabled], &.disabled {
274 background-color: $grey-background-color !important;
285 justify-content: center;
287 font-weight: $font-semibold;
291 @include dropdown-with-icon-item;
301 top: #{-($header-height + 20px)};
304 @media screen and (max-width: #{breakpoint(xxl)}) {
308 margin-left: $expanded-horizontal-margins/2;
309 margin-right: $expanded-horizontal-margins/2;
315 @media screen and (max-width: #{breakpoint(lg)}) {
316 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
320 margin-left: $expanded-horizontal-margins/3;
321 margin-right: $expanded-horizontal-margins/3;
336 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
342 @media screen and (max-width: $small-view) {
356 margin-bottom: $sub-menu-margin-bottom-small-view;
361 @include admin-sub-header-responsive(15px*2);
364 my-markdown-textarea {
366 max-width: 100% !important;
371 input[type=password],
374 .peertube-select-container {
378 .caption input[type=text] {
379 width: unset !important;
386 // overflow-databale responsive rules
387 @media screen and (min-width: #{breakpoint(lg)}) {
390 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
394 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
399 @media screen and (max-width: #{breakpoint(lg)}) {
402 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
406 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
411 @media screen and (max-width: $small-view) {
415 @include overflow-datatable(breakpoint(lg), 15px);
420 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
424 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
429 width: calc(100vw - #{$menu-width});