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};
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 font-family: $main-fonts;
56 font-weight: $font-regular;
57 color: pvar(--mainForegroundColor);
58 background-color: pvar(--mainBackgroundColor);
63 color: pvar(--mainBackgroundColor);
64 background-color: pvar(--mainHoverColor);
67 #incompatible-browser {
76 font-weight: $font-semibold;
80 /* Force blank on readonly inputs */
81 background-color: pvar(--inputBackgroundColor) !important;
86 color: pvar(--mainForegroundColor);
90 font-weight: $font-bold;
101 border-color: $red !important;
116 margin: 0 !important;
120 margin-left: $menu-width;
121 width: calc(100% - #{$menu-width});
125 margin-left: $not-expanded-horizontal-margins;
126 margin-right: $not-expanded-horizontal-margins;
131 background-color: pvar(--submenuColor);
134 margin-bottom: $sub-menu-margin-bottom;
137 padding-left: $not-expanded-horizontal-margins;
138 padding-right: $not-expanded-horizontal-margins;
141 // Override some properties if the main content is expanded (no menu on the left)
147 margin-left: $expanded-horizontal-margins;
148 margin-right: $expanded-horizontal-margins;
152 padding-left: $expanded-horizontal-margins;
153 padding-right: $expanded-horizontal-margins;
157 &.lock-scroll .main-row > router-outlet + * {
158 // Lock and hide body scrollbars
161 // Lock and hide sub-menu scrollbars
169 color: pvar(--mainForegroundColor);
171 display: inline-block;
173 font-weight: $font-semibold;
174 @include disable-default-a-behaviour;
176 &.active, &.title-page-single {
182 font-weight: $font-bold;
183 border-bottom: 2px solid pvar(--mainColor);
186 &.title-page-single {
190 &:hover, &:active, &:focus {
191 color: pvar(--mainForegroundColor);
194 @media screen and (max-width: $mobile-view) {
200 .title-page-settings {
203 font-weight: $font-regular;
206 font-weight: $font-semibold;
220 @include disable-default-a-behaviour;
223 color: pvar(--mainForegroundColor);
225 border-radius: 0.25rem;
228 font-weight: $font-semibold;
229 background-color: #f0f0f0;
241 from { transform: scale(1) rotate(0deg);}
242 to { transform: scale(1) rotate(360deg);}
245 // In tables, don't have a hover different background
247 .action-button-edit, .action-button-delete {
248 &:hover, &:active, &:focus, &[disabled], &.disabled {
249 background-color: $grey-background-color !important;
258 justify-content: center;
260 font-weight: $font-semibold;
264 @include dropdown-with-icon-item;
274 top: #{-($header-height + 20px)};
277 @media screen and (max-width: #{breakpoint(xxl)}) {
281 margin-left: $expanded-horizontal-margins/2;
282 margin-right: $expanded-horizontal-margins/2;
288 @media screen and (max-width: #{breakpoint(lg)}) {
289 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
293 margin-left: $expanded-horizontal-margins/3;
294 margin-right: $expanded-horizontal-margins/3;
309 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
315 @media screen and (max-width: $small-view) {
329 margin-bottom: $sub-menu-margin-bottom-small-view;
334 @include admin-sub-header-responsive(15px*2);
337 my-markdown-textarea {
339 max-width: 100% !important;
344 input[type=password],
347 .peertube-select-container {
348 width: 100% !important;
351 .caption input[type=text] {
352 width: unset !important;
359 // overflow-databale responsive rules
360 @media screen and (min-width: #{breakpoint(lg)}) {
363 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
367 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
372 @media screen and (max-width: #{breakpoint(lg)}) {
375 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
379 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
384 @media screen and (max-width: $small-view) {
388 @include overflow-datatable(breakpoint(lg), 15px);
393 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
397 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
402 width: calc(100vw - #{$menu-width});