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 border-color: $red !important;
139 margin: 0 !important;
143 margin-left: $menu-width;
144 width: calc(100% - #{$menu-width});
148 margin-left: $not-expanded-horizontal-margins;
149 margin-right: $not-expanded-horizontal-margins;
154 background-color: pvar(--submenuColor);
158 padding-left: $not-expanded-horizontal-margins;
159 padding-right: $not-expanded-horizontal-margins;
160 height: $sub-menu-height;
161 margin-bottom: $sub-menu-margin-bottom;
165 z-index: #{z('sub-menu') - 1};
169 // Use an appropriate offset top when sub-menu fixed
170 .margin-content.offset-content {
171 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
174 // Override some properties if the main content is expanded (no menu on the left)
180 margin-left: var(--expanded-horizontal-margin-content);
181 margin-right: var(--expanded-horizontal-margin-content);
185 padding-left: var(--expanded-horizontal-margin-content);
186 padding-right: var(--expanded-horizontal-margin-content);
190 &.lock-scroll .main-row > router-outlet + * {
191 // Lock and hide body scrollbars
194 // Lock and hide sub-menu scrollbars
203 color: pvar(--mainForegroundColor);
205 display: inline-block;
207 font-weight: $font-semibold;
208 @include disable-default-a-behaviour;
210 border-bottom: 2px solid transparent;
212 &.title-page-single {
218 border-bottom-color: pvar(--mainColor);
221 &.title-page-single {
225 &:hover, &:active, &:focus {
226 color: pvar(--mainForegroundColor);
229 &.active, &:hover, &:active, &:focus, &.title-page-single {
231 outline: 0px hidden !important;
234 @media screen and (max-width: $mobile-view) {
240 .title-page-settings {
255 @include disable-default-a-behaviour;
258 color: pvar(--mainForegroundColor);
260 border-radius: 0.25rem;
261 font-weight: $font-semibold;
265 background-color: pvar(--submenuColor);
268 &.active, &:hover, &:active, &:focus {
280 from { transform: scale(1) rotate(0deg);}
281 to { transform: scale(1) rotate(360deg);}
284 // In tables, don't have a hover different background
286 .action-button-edit, .action-button-delete {
287 &:hover, &:active, &:focus, &[disabled], &.disabled {
288 background-color: $grey-background-color !important;
298 flex-direction: column;
300 justify-content: center;
302 font-weight: $font-semibold;
306 @include dropdown-with-icon-item;
314 /* offsetTop for scrollToAnchor */
318 top: #{-($header-height + 20px)};
321 .offset-content { // if sub-menu fixed
323 top: #{-($header-height + $sub-menu-height + 20px)};
327 .form-group-description {
335 z-index: z(header) + 1 !important;
338 @media screen and (max-width: #{breakpoint(xxl)}) {
342 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/2};
348 @media screen and (max-width: #{breakpoint(lg)}) {
349 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
353 --expanded-horizontal-margin-content: #{$expanded-horizontal-margins/3};
368 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
374 @media screen and (max-width: $small-view) {
380 --expanded-horizontal-margin-content: 15px;
387 margin-bottom: $sub-menu-margin-bottom-small-view;
391 // Use an appropriate offset top when sub-menu fixed
392 .margin-content.offset-content {
393 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
397 @include admin-sub-header-responsive(15px*2);
400 my-markdown-textarea {
402 max-width: 100% !important;
407 input[type=password],
410 .peertube-select-container {
414 .caption input[type=text] {
415 width: unset !important;
422 // overflow-databale responsive rules
423 @media screen and (min-width: #{breakpoint(lg)}) {
426 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
430 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
435 @media screen and (max-width: #{breakpoint(lg)}) {
438 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
442 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
447 @media screen and (max-width: $small-view) {
451 @include overflow-datatable(breakpoint(lg), 15px);
456 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
460 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
465 width: calc(100vw - #{$menu-width});