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);
142 height: $sub-menu-height;
145 padding-left: $not-expanded-horizontal-margins;
146 padding-right: $not-expanded-horizontal-margins;
151 // Override some properties if the main content is expanded (no menu on the left)
157 margin-left: $expanded-horizontal-margins;
158 margin-right: $expanded-horizontal-margins;
162 padding-left: $expanded-horizontal-margins;
163 padding-right: $expanded-horizontal-margins;
167 &.lock-scroll .main-row > router-outlet + * {
168 // Lock and hide body scrollbars
171 // Lock and hide sub-menu scrollbars
180 color: pvar(--mainForegroundColor);
182 display: inline-block;
184 font-weight: $font-semibold;
185 @include disable-default-a-behaviour;
187 border-bottom: 2px solid transparent;
189 &.title-page-single {
195 border-bottom-color: pvar(--mainColor);
198 &.title-page-single {
202 &:hover, &:active, &:focus {
203 color: pvar(--mainForegroundColor);
206 &.active, &:hover, &:active, &:focus, &.title-page-single {
208 outline: 0px hidden !important;
211 @media screen and (max-width: $mobile-view) {
217 .title-page-settings {
232 @include disable-default-a-behaviour;
235 color: pvar(--mainForegroundColor);
237 border-radius: 0.25rem;
238 font-weight: $font-semibold;
242 background-color: #f0f0f0;
245 &.active, &:hover, &:active, &:focus {
257 from { transform: scale(1) rotate(0deg);}
258 to { transform: scale(1) rotate(360deg);}
261 // In tables, don't have a hover different background
263 .action-button-edit, .action-button-delete {
264 &:hover, &:active, &:focus, &[disabled], &.disabled {
265 background-color: $grey-background-color !important;
276 justify-content: center;
278 font-weight: $font-semibold;
282 @include dropdown-with-icon-item;
292 top: #{-($header-height + 20px)};
295 @media screen and (max-width: #{breakpoint(xxl)}) {
299 margin-left: $expanded-horizontal-margins/2;
300 margin-right: $expanded-horizontal-margins/2;
306 @media screen and (max-width: #{breakpoint(lg)}) {
307 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
311 margin-left: $expanded-horizontal-margins/3;
312 margin-right: $expanded-horizontal-margins/3;
327 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
333 @media screen and (max-width: $small-view) {
347 margin-bottom: $sub-menu-margin-bottom-small-view;
352 @include admin-sub-header-responsive(15px*2);
355 my-markdown-textarea {
357 max-width: 100% !important;
362 input[type=password],
365 .peertube-select-container {
366 width: 100% !important;
369 .caption input[type=text] {
370 width: unset !important;
377 // overflow-databale responsive rules
378 @media screen and (min-width: #{breakpoint(lg)}) {
381 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
385 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
390 @media screen and (max-width: #{breakpoint(lg)}) {
393 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
397 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
402 @media screen and (max-width: $small-view) {
406 @include overflow-datatable(breakpoint(lg), 15px);
411 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
415 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
420 width: calc(100vw - #{$menu-width});