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';
18 display: none !important;
23 // now beware node-sass requires interpolation
24 // for css custom properties #{$var}
25 --mainColor: #{$main-color};
26 --mainColorLighter: #{$main-color-lighter};
27 --mainColorLightest: #{$main-color-lightest};
28 --mainHoverColor: #{$main-hover-color};
29 --mainBackgroundColor: #{$bg-color};
30 --mainForegroundColor: #{$fg-color};
31 --secondaryColor: #{$secondary-color};
33 --greyForegroundColor: #{$grey-foreground-color};
34 --greyBackgroundColor: #{$grey-background-color};
36 --menuBackgroundColor: #{$menu-background};
37 --menuForegroundColor: #{$menu-color};
38 --submenuColor: #{$sub-menu-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 --expanded-horizontal-margin-content: $expanded-horizontal-margins;
57 font-family: $main-fonts;
58 font-weight: $font-regular;
59 color: pvar(--mainForegroundColor);
60 background-color: pvar(--mainBackgroundColor);
62 // On desktop browsers, make sure vertical scroll bar is always visible
63 // Allow to disable the scrollbar instead of hide it when the content fit the body
64 // And not move the content and header horizontally sticked to right when the content is updating
69 color: pvar(--mainBackgroundColor);
70 background-color: pvar(--mainHoverColor);
73 #incompatible-browser {
82 font-weight: $font-semibold;
86 /* Force blank on readonly inputs */
87 background-color: pvar(--inputBackgroundColor) !important;
92 color: pvar(--mainForegroundColor);
97 @include disable-outline;
101 font-weight: $font-bold;
112 border-color: $red !important;
127 margin: 0 !important;
131 margin-left: $menu-width;
132 width: calc(100% - #{$menu-width});
136 margin-left: $not-expanded-horizontal-margins;
137 margin-right: $not-expanded-horizontal-margins;
141 my-top-menu-dropdown + .margin-content {
142 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
146 background-color: pvar(--submenuColor);
150 padding-left: $not-expanded-horizontal-margins;
151 padding-right: $not-expanded-horizontal-margins;
153 & + .margin-content {
154 padding-top: $sub-menu-margin-bottom;
158 height: $sub-menu-height;
160 z-index: #{z('header') - 1};
162 & + .margin-content {
163 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
168 // Override some properties if the main content is expanded (no menu on the left)
174 margin-left: var(--expanded-horizontal-margin-content);
175 margin-right: var(--expanded-horizontal-margin-content);
179 padding-left: var(--expanded-horizontal-margin-content);
180 padding-right: var(--expanded-horizontal-margin-content);
184 &.lock-scroll .main-row > router-outlet + * {
185 // Lock and hide body scrollbars
188 // Lock and hide sub-menu scrollbars
197 color: pvar(--mainForegroundColor);
199 display: inline-block;
201 font-weight: $font-semibold;
202 @include disable-default-a-behaviour;
204 border-bottom: 2px solid transparent;
206 &.title-page-single {
212 border-bottom-color: pvar(--mainColor);
215 &.title-page-single {
219 &:hover, &:active, &:focus {
220 color: pvar(--mainForegroundColor);
223 &.active, &:hover, &:active, &:focus, &.title-page-single {
225 outline: 0px hidden !important;
228 @media screen and (max-width: $mobile-view) {
234 .title-page-settings {
249 @include disable-default-a-behaviour;
252 color: pvar(--mainForegroundColor);
254 border-radius: 0.25rem;
255 font-weight: $font-semibold;
259 background-color: #f0f0f0;
262 &.active, &:hover, &:active, &:focus {
274 from { transform: scale(1) rotate(0deg);}
275 to { transform: scale(1) rotate(360deg);}
278 // In tables, don't have a hover different background
280 .action-button-edit, .action-button-delete {
281 &:hover, &:active, &:focus, &[disabled], &.disabled {
282 background-color: $grey-background-color !important;
292 flex-direction: column;
294 justify-content: center;
296 font-weight: $font-semibold;
300 @include dropdown-with-icon-item;
310 top: #{-($header-height + 20px)};
313 @media screen and (max-width: #{breakpoint(xxl)}) {
317 --expanded-horizontal-margin-content: $expanded-horizontal-margins/2;
323 @media screen and (max-width: #{breakpoint(lg)}) {
324 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
328 --expanded-horizontal-margin-content: $expanded-horizontal-margins/3;
343 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
349 @media screen and (max-width: $small-view) {
355 --expanded-horizontal-margin-content: 15px;
362 margin-bottom: $sub-menu-margin-bottom-small-view;
367 @include admin-sub-header-responsive(15px*2);
370 my-markdown-textarea {
372 max-width: 100% !important;
377 input[type=password],
380 .peertube-select-container {
384 .caption input[type=text] {
385 width: unset !important;
392 // overflow-databale responsive rules
393 @media screen and (min-width: #{breakpoint(lg)}) {
396 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
400 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
405 @media screen and (max-width: #{breakpoint(lg)}) {
408 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
412 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
417 @media screen and (max-width: $small-view) {
421 @include overflow-datatable(breakpoint(lg), 15px);
426 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
430 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
435 width: calc(100vw - #{$menu-width});