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 --menuBackgroundColor: #{$menu-background};
35 --menuForegroundColor: #{$menu-color};
36 --submenuColor: #{$sub-menu-color};
38 --inputForegroundColor: #{$input-foreground-color};
39 --inputBackgroundColor: #{$input-background-color};
40 --inputPlaceholderColor: #{$input-placeholder-color};
42 --textareaForegroundColor: #{$textarea-foreground-color};
43 --textareaBackgroundColor: #{$textarea-background-color};
45 --actionButtonColor: #{$grey-foreground-color};
46 --supportButtonBackgroundColor: #{transparent};
47 --supportButtonColor: #{var(--actionButtonColor)};
48 --supportButtonHeartColor: #{$support-button-heart};
50 font-family: $main-fonts;
51 font-weight: $font-regular;
52 color: var(--mainForegroundColor);
53 background-color: var(--mainBackgroundColor);
58 color: var(--mainBackgroundColor);
59 background-color: var(--mainHoverColor);
62 #incompatible-browser {
71 font-weight: $font-semibold;
75 /* Force blank on readonly inputs */
76 background-color: var(--inputBackgroundColor) !important;
81 color: var(--mainForegroundColor);
85 font-weight: $font-bold;
96 border-color: $red !important;
111 margin: 0 !important;
115 margin-left: $menu-width;
116 width: calc(100% - #{$menu-width});
120 margin-left: $not-expanded-horizontal-margins;
121 margin-right: $not-expanded-horizontal-margins;
126 background-color: var(--submenuColor);
129 margin-bottom: $sub-menu-margin-bottom;
132 padding-left: $not-expanded-horizontal-margins;
133 padding-right: $not-expanded-horizontal-margins;
136 // Override some properties if the main content is expanded (no menu on the left)
142 margin-left: $expanded-horizontal-margins;
143 margin-right: $expanded-horizontal-margins;
147 padding-left: $expanded-horizontal-margins;
148 padding-right: $expanded-horizontal-margins;
152 &.lock-scroll .main-row > router-outlet + * {
153 // Lock and hide body scrollbars
156 // Lock and hide sub-menu scrollbars
164 color: var(--mainForegroundColor);
166 display: inline-block;
168 font-weight: $font-semibold;
169 @include disable-default-a-behaviour;
171 &.active, &.title-page-single {
177 font-weight: $font-bold;
178 border-bottom: 2px solid var(--mainColor);
181 &.title-page-single {
185 &:hover, &:active, &:focus {
186 color: var(--mainForegroundColor);
189 @media screen and (max-width: $mobile-view) {
195 .title-page-settings {
198 font-weight: $font-regular;
201 font-weight: $font-semibold;
215 @include disable-default-a-behaviour;
218 color: var(--mainForegroundColor);
220 border-radius: 0.25rem;
223 font-weight: $font-semibold;
224 background-color: #f0f0f0;
236 from { transform: scale(1) rotate(0deg);}
237 to { transform: scale(1) rotate(360deg);}
240 // In tables, don't have a hover different background
242 .action-button-edit, .action-button-delete {
243 &:hover, &:active, &:focus, &[disabled], &.disabled {
244 background-color: $grey-background-color !important;
253 justify-content: center;
255 font-weight: $font-semibold;
259 @include dropdown-with-icon-item;
269 top: #{-($header-height + 20px)};
272 @media screen and (max-width: #{breakpoint(xxl)}) {
276 margin-left: $expanded-horizontal-margins/2;
277 margin-right: $expanded-horizontal-margins/2;
283 @media screen and (max-width: #{breakpoint(lg)}) {
284 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
288 margin-left: $expanded-horizontal-margins/3;
289 margin-right: $expanded-horizontal-margins/3;
304 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
310 @media screen and (max-width: $small-view) {
324 margin-bottom: $sub-menu-margin-bottom-small-view;
329 @include admin-sub-header-responsive(15px*2);
332 my-markdown-textarea {
334 max-width: 100% !important;
339 input[type=password],
342 .peertube-select-container {
343 width: 100% !important;
346 .caption input[type=text] {
347 width: unset !important;
354 // overflow-databale responsive rules
355 @media screen and (min-width: #{breakpoint(lg)}) {
358 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
362 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
367 @media screen and (max-width: #{breakpoint(lg)}) {
370 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
374 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
379 @media screen and (max-width: $small-view) {
383 @include overflow-datatable(breakpoint(lg), 15px);
388 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
392 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
397 width: calc(100vw - #{$menu-width});