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);
60 // On desktop browsers, make sure vertical scroll bar is always visible
61 // Allow to disable the scrollbar instead of hide it when the content fit the body
62 // And not move the content and header horizontally sticked to right when the content is updating
67 color: pvar(--mainBackgroundColor);
68 background-color: pvar(--mainHoverColor);
71 #incompatible-browser {
80 font-weight: $font-semibold;
84 /* Force blank on readonly inputs */
85 background-color: pvar(--inputBackgroundColor) !important;
90 color: pvar(--mainForegroundColor);
95 @include disable-outline;
99 font-weight: $font-bold;
110 border-color: $red !important;
125 margin: 0 !important;
129 margin-left: $menu-width;
130 width: calc(100% - #{$menu-width});
134 margin-left: $not-expanded-horizontal-margins;
135 margin-right: $not-expanded-horizontal-margins;
140 background-color: pvar(--submenuColor);
143 margin-bottom: $sub-menu-margin-bottom;
146 padding-left: $not-expanded-horizontal-margins;
147 padding-right: $not-expanded-horizontal-margins;
150 // Override some properties if the main content is expanded (no menu on the left)
156 margin-left: $expanded-horizontal-margins;
157 margin-right: $expanded-horizontal-margins;
161 padding-left: $expanded-horizontal-margins;
162 padding-right: $expanded-horizontal-margins;
166 &.lock-scroll .main-row > router-outlet + * {
167 // Lock and hide body scrollbars
170 // Lock and hide sub-menu scrollbars
178 color: pvar(--mainForegroundColor);
180 display: inline-block;
182 font-weight: $font-semibold;
183 @include disable-default-a-behaviour;
185 &.active, &.title-page-single {
191 font-weight: $font-bold;
192 border-bottom: 2px solid pvar(--mainColor);
195 &.title-page-single {
199 &:hover, &:active, &:focus {
200 color: pvar(--mainForegroundColor);
203 @media screen and (max-width: $mobile-view) {
209 .title-page-settings {
212 font-weight: $font-regular;
215 font-weight: $font-semibold;
229 @include disable-default-a-behaviour;
232 color: pvar(--mainForegroundColor);
234 border-radius: 0.25rem;
237 font-weight: $font-semibold;
238 background-color: #f0f0f0;
250 from { transform: scale(1) rotate(0deg);}
251 to { transform: scale(1) rotate(360deg);}
254 // In tables, don't have a hover different background
256 .action-button-edit, .action-button-delete {
257 &:hover, &:active, &:focus, &[disabled], &.disabled {
258 background-color: $grey-background-color !important;
269 justify-content: center;
271 font-weight: $font-semibold;
275 @include dropdown-with-icon-item;
285 top: #{-($header-height + 20px)};
288 @media screen and (max-width: #{breakpoint(xxl)}) {
292 margin-left: $expanded-horizontal-margins/2;
293 margin-right: $expanded-horizontal-margins/2;
299 @media screen and (max-width: #{breakpoint(lg)}) {
300 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
304 margin-left: $expanded-horizontal-margins/3;
305 margin-right: $expanded-horizontal-margins/3;
320 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
326 @media screen and (max-width: $small-view) {
340 margin-bottom: $sub-menu-margin-bottom-small-view;
345 @include admin-sub-header-responsive(15px*2);
348 my-markdown-textarea {
350 max-width: 100% !important;
355 input[type=password],
358 .peertube-select-container {
359 width: 100% !important;
362 .caption input[type=text] {
363 width: unset !important;
370 // overflow-databale responsive rules
371 @media screen and (min-width: #{breakpoint(lg)}) {
374 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
378 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
383 @media screen and (max-width: #{breakpoint(lg)}) {
386 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
390 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
395 @media screen and (max-width: $small-view) {
399 @include overflow-datatable(breakpoint(lg), 15px);
404 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
408 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
413 width: calc(100vw - #{$menu-width});