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;
22 scroll-behavior: smooth;
27 // now beware node-sass requires interpolation
28 // for css custom properties #{$var}
29 --mainColor: #{$main-color};
30 --mainColorLighter: #{$main-color-lighter};
31 --mainColorLightest: #{$main-color-lightest};
32 --mainHoverColor: #{$main-hover-color};
33 --mainBackgroundColor: #{$bg-color};
34 --mainForegroundColor: #{$fg-color};
35 --secondaryColor: #{$secondary-color};
37 --greyForegroundColor: #{$grey-foreground-color};
38 --greyBackgroundColor: #{$grey-background-color};
40 --menuBackgroundColor: #{$menu-background};
41 --menuForegroundColor: #{$menu-color};
42 --submenuColor: #{$sub-menu-color};
44 --inputForegroundColor: #{$input-foreground-color};
45 --inputBackgroundColor: #{$input-background-color};
46 --inputPlaceholderColor: #{$input-placeholder-color};
48 --textareaForegroundColor: #{$textarea-foreground-color};
49 --textareaBackgroundColor: #{$textarea-background-color};
50 --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
52 --actionButtonColor: #{$grey-foreground-color};
53 --supportButtonBackgroundColor: #{transparent};
54 --supportButtonColor: #{pvar(--actionButtonColor)};
55 --supportButtonHeartColor: #{$support-button-heart};
57 --activatedActionButtonColor: #{$activated-action-button-color};
59 --expanded-horizontal-margin-content: $expanded-horizontal-margins;
61 font-family: $main-fonts;
62 font-weight: $font-regular;
63 color: pvar(--mainForegroundColor);
64 background-color: pvar(--mainBackgroundColor);
66 // On desktop browsers, make sure vertical scroll bar is always visible
67 // Allow to disable the scrollbar instead of hide it when the content fit the body
68 // And not move the content and header horizontally sticked to right when the content is updating
73 color: pvar(--mainBackgroundColor);
74 background-color: pvar(--mainHoverColor);
77 #incompatible-browser {
86 font-weight: $font-semibold;
90 /* Force blank on readonly inputs */
91 background-color: pvar(--inputBackgroundColor) !important;
96 color: pvar(--mainForegroundColor);
101 @include disable-outline;
105 font-weight: $font-bold;
116 border-color: $red !important;
131 margin: 0 !important;
135 margin-left: $menu-width;
136 width: calc(100% - #{$menu-width});
140 margin-left: $not-expanded-horizontal-margins;
141 margin-right: $not-expanded-horizontal-margins;
145 my-top-menu-dropdown + .margin-content {
146 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
150 background-color: pvar(--submenuColor);
154 padding-left: $not-expanded-horizontal-margins;
155 padding-right: $not-expanded-horizontal-margins;
157 & + .margin-content {
158 padding-top: $sub-menu-margin-bottom;
162 height: $sub-menu-height;
164 z-index: #{z('header') - 1};
166 & + .margin-content {
167 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
172 // Override some properties if the main content is expanded (no menu on the left)
178 margin-left: var(--expanded-horizontal-margin-content);
179 margin-right: var(--expanded-horizontal-margin-content);
183 padding-left: var(--expanded-horizontal-margin-content);
184 padding-right: var(--expanded-horizontal-margin-content);
188 &.lock-scroll .main-row > router-outlet + * {
189 // Lock and hide body scrollbars
192 // Lock and hide sub-menu scrollbars
201 color: pvar(--mainForegroundColor);
203 display: inline-block;
205 font-weight: $font-semibold;
206 @include disable-default-a-behaviour;
208 border-bottom: 2px solid transparent;
210 &.title-page-single {
216 border-bottom-color: pvar(--mainColor);
219 &.title-page-single {
223 &:hover, &:active, &:focus {
224 color: pvar(--mainForegroundColor);
227 &.active, &:hover, &:active, &:focus, &.title-page-single {
229 outline: 0px hidden !important;
232 @media screen and (max-width: $mobile-view) {
238 .title-page-settings {
253 @include disable-default-a-behaviour;
256 color: pvar(--mainForegroundColor);
258 border-radius: 0.25rem;
259 font-weight: $font-semibold;
263 background-color: #f0f0f0;
266 &.active, &:hover, &:active, &:focus {
278 from { transform: scale(1) rotate(0deg);}
279 to { transform: scale(1) rotate(360deg);}
282 // In tables, don't have a hover different background
284 .action-button-edit, .action-button-delete {
285 &:hover, &:active, &:focus, &[disabled], &.disabled {
286 background-color: $grey-background-color !important;
296 flex-direction: column;
298 justify-content: center;
300 font-weight: $font-semibold;
304 @include dropdown-with-icon-item;
314 top: #{-($header-height + 20px)}; // offsetTop scrollToAnchor
317 @media screen and (max-width: #{breakpoint(xxl)}) {
321 --expanded-horizontal-margin-content: $expanded-horizontal-margins/2;
327 @media screen and (max-width: #{breakpoint(lg)}) {
328 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
332 --expanded-horizontal-margin-content: $expanded-horizontal-margins/3;
347 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
353 @media screen and (max-width: $small-view) {
359 --expanded-horizontal-margin-content: 15px;
366 margin-bottom: $sub-menu-margin-bottom-small-view;
371 @include admin-sub-header-responsive(15px*2);
374 my-markdown-textarea {
376 max-width: 100% !important;
381 input[type=password],
384 .peertube-select-container {
388 .caption input[type=text] {
389 width: unset !important;
396 // overflow-databale responsive rules
397 @media screen and (min-width: #{breakpoint(lg)}) {
400 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
404 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
409 @media screen and (max-width: #{breakpoint(lg)}) {
412 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
416 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
421 @media screen and (max-width: $small-view) {
425 @include overflow-datatable(breakpoint(lg), 15px);
430 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
434 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
439 width: calc(100vw - #{$menu-width});