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);
91 @include disable-outline;
95 font-weight: $font-bold;
106 border-color: $red !important;
121 margin: 0 !important;
125 margin-left: $menu-width;
126 width: calc(100% - #{$menu-width});
130 margin-left: $not-expanded-horizontal-margins;
131 margin-right: $not-expanded-horizontal-margins;
136 background-color: pvar(--submenuColor);
139 margin-bottom: $sub-menu-margin-bottom;
142 padding-left: $not-expanded-horizontal-margins;
143 padding-right: $not-expanded-horizontal-margins;
146 // Override some properties if the main content is expanded (no menu on the left)
152 margin-left: $expanded-horizontal-margins;
153 margin-right: $expanded-horizontal-margins;
157 padding-left: $expanded-horizontal-margins;
158 padding-right: $expanded-horizontal-margins;
162 &.lock-scroll .main-row > router-outlet + * {
163 // Lock and hide body scrollbars
166 // Lock and hide sub-menu scrollbars
174 color: pvar(--mainForegroundColor);
176 display: inline-block;
178 font-weight: $font-semibold;
179 @include disable-default-a-behaviour;
181 &.active, &.title-page-single {
187 font-weight: $font-bold;
188 border-bottom: 2px solid pvar(--mainColor);
191 &.title-page-single {
195 &:hover, &:active, &:focus {
196 color: pvar(--mainForegroundColor);
199 @media screen and (max-width: $mobile-view) {
205 .title-page-settings {
208 font-weight: $font-regular;
211 font-weight: $font-semibold;
225 @include disable-default-a-behaviour;
228 color: pvar(--mainForegroundColor);
230 border-radius: 0.25rem;
233 font-weight: $font-semibold;
234 background-color: #f0f0f0;
246 from { transform: scale(1) rotate(0deg);}
247 to { transform: scale(1) rotate(360deg);}
250 // In tables, don't have a hover different background
252 .action-button-edit, .action-button-delete {
253 &:hover, &:active, &:focus, &[disabled], &.disabled {
254 background-color: $grey-background-color !important;
265 justify-content: center;
267 font-weight: $font-semibold;
271 @include dropdown-with-icon-item;
281 top: #{-($header-height + 20px)};
284 @media screen and (max-width: #{breakpoint(xxl)}) {
288 margin-left: $expanded-horizontal-margins/2;
289 margin-right: $expanded-horizontal-margins/2;
295 @media screen and (max-width: #{breakpoint(lg)}) {
296 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
300 margin-left: $expanded-horizontal-margins/3;
301 margin-right: $expanded-horizontal-margins/3;
316 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
322 @media screen and (max-width: $small-view) {
336 margin-bottom: $sub-menu-margin-bottom-small-view;
341 @include admin-sub-header-responsive(15px*2);
344 my-markdown-textarea {
346 max-width: 100% !important;
351 input[type=password],
354 .peertube-select-container {
355 width: 100% !important;
358 .caption input[type=text] {
359 width: unset !important;
366 // overflow-databale responsive rules
367 @media screen and (min-width: #{breakpoint(lg)}) {
370 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
374 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
379 @media screen and (max-width: #{breakpoint(lg)}) {
382 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
386 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
391 @media screen and (max-width: $small-view) {
395 @include overflow-datatable(breakpoint(lg), 15px);
400 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
404 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
409 width: calc(100vw - #{$menu-width});