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);
148 height: $sub-menu-height;
151 padding-left: $not-expanded-horizontal-margins;
152 padding-right: $not-expanded-horizontal-margins;
154 z-index: #{z('header') - 1};
156 & + .margin-content {
157 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
161 // Override some properties if the main content is expanded (no menu on the left)
167 margin-left: var(--expanded-horizontal-margin-content);
168 margin-right: var(--expanded-horizontal-margin-content);
172 padding-left: var(--expanded-horizontal-margin-content);
173 padding-right: var(--expanded-horizontal-margin-content);
177 &.lock-scroll .main-row > router-outlet + * {
178 // Lock and hide body scrollbars
181 // Lock and hide sub-menu scrollbars
190 color: pvar(--mainForegroundColor);
192 display: inline-block;
194 font-weight: $font-semibold;
195 @include disable-default-a-behaviour;
197 border-bottom: 2px solid transparent;
199 &.title-page-single {
205 border-bottom-color: pvar(--mainColor);
208 &.title-page-single {
212 &:hover, &:active, &:focus {
213 color: pvar(--mainForegroundColor);
216 &.active, &:hover, &:active, &:focus, &.title-page-single {
218 outline: 0px hidden !important;
221 @media screen and (max-width: $mobile-view) {
227 .title-page-settings {
242 @include disable-default-a-behaviour;
245 color: pvar(--mainForegroundColor);
247 border-radius: 0.25rem;
248 font-weight: $font-semibold;
252 background-color: #f0f0f0;
255 &.active, &:hover, &:active, &:focus {
267 from { transform: scale(1) rotate(0deg);}
268 to { transform: scale(1) rotate(360deg);}
271 // In tables, don't have a hover different background
273 .action-button-edit, .action-button-delete {
274 &:hover, &:active, &:focus, &[disabled], &.disabled {
275 background-color: $grey-background-color !important;
286 justify-content: center;
288 font-weight: $font-semibold;
292 @include dropdown-with-icon-item;
302 top: #{-($header-height + 20px)};
305 @media screen and (max-width: #{breakpoint(xxl)}) {
309 --expanded-horizontal-margin-content: $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 --expanded-horizontal-margin-content: $expanded-horizontal-margins/3;
335 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
341 @media screen and (max-width: $small-view) {
347 --expanded-horizontal-margin-content: 15px;
354 margin-bottom: $sub-menu-margin-bottom-small-view;
359 @include admin-sub-header-responsive(15px*2);
362 my-markdown-textarea {
364 max-width: 100% !important;
369 input[type=password],
372 .peertube-select-container {
376 .caption input[type=text] {
377 width: unset !important;
384 // overflow-databale responsive rules
385 @media screen and (min-width: #{breakpoint(lg)}) {
388 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
392 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
397 @media screen and (max-width: #{breakpoint(lg)}) {
400 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
404 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
409 @media screen and (max-width: $small-view) {
413 @include overflow-datatable(breakpoint(lg), 15px);
418 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
422 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
427 width: calc(100vw - #{$menu-width});