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;
139 my-top-menu-dropdown + .margin-content {
140 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
144 background-color: pvar(--submenuColor);
146 height: $sub-menu-height;
149 padding-left: $not-expanded-horizontal-margins;
150 padding-right: $not-expanded-horizontal-margins;
152 z-index: #{z('header') - 1};
154 & + .margin-content {
155 margin-top: $sub-menu-margin-bottom;
159 // Override some properties if the main content is expanded (no menu on the left)
165 margin-left: $expanded-horizontal-margins;
166 margin-right: $expanded-horizontal-margins;
170 padding-left: $expanded-horizontal-margins;
171 padding-right: $expanded-horizontal-margins;
175 &.lock-scroll .main-row > router-outlet + * {
176 // Lock and hide body scrollbars
179 // Lock and hide sub-menu scrollbars
188 color: pvar(--mainForegroundColor);
190 display: inline-block;
192 font-weight: $font-semibold;
193 @include disable-default-a-behaviour;
195 border-bottom: 2px solid transparent;
197 &.title-page-single {
203 border-bottom-color: pvar(--mainColor);
206 &.title-page-single {
210 &:hover, &:active, &:focus {
211 color: pvar(--mainForegroundColor);
214 &.active, &:hover, &:active, &:focus, &.title-page-single {
216 outline: 0px hidden !important;
219 @media screen and (max-width: $mobile-view) {
225 .title-page-settings {
240 @include disable-default-a-behaviour;
243 color: pvar(--mainForegroundColor);
245 border-radius: 0.25rem;
246 font-weight: $font-semibold;
250 background-color: #f0f0f0;
253 &.active, &:hover, &:active, &:focus {
265 from { transform: scale(1) rotate(0deg);}
266 to { transform: scale(1) rotate(360deg);}
269 // In tables, don't have a hover different background
271 .action-button-edit, .action-button-delete {
272 &:hover, &:active, &:focus, &[disabled], &.disabled {
273 background-color: $grey-background-color !important;
284 justify-content: center;
286 font-weight: $font-semibold;
290 @include dropdown-with-icon-item;
300 top: #{-($header-height + 20px)};
303 @media screen and (max-width: #{breakpoint(xxl)}) {
307 margin-left: $expanded-horizontal-margins/2;
308 margin-right: $expanded-horizontal-margins/2;
314 @media screen and (max-width: #{breakpoint(lg)}) {
315 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
319 margin-left: $expanded-horizontal-margins/3;
320 margin-right: $expanded-horizontal-margins/3;
335 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
341 @media screen and (max-width: $small-view) {
355 margin-bottom: $sub-menu-margin-bottom-small-view;
360 @include admin-sub-header-responsive(15px*2);
363 my-markdown-textarea {
365 max-width: 100% !important;
370 input[type=password],
373 .peertube-select-container {
374 width: 100% !important;
377 .caption input[type=text] {
378 width: unset !important;
385 // overflow-databale responsive rules
386 @media screen and (min-width: #{breakpoint(lg)}) {
389 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
393 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
398 @media screen and (max-width: #{breakpoint(lg)}) {
401 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
405 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
410 @media screen and (max-width: $small-view) {
414 @include overflow-datatable(breakpoint(lg), 15px);
419 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
423 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
428 width: calc(100vw - #{$menu-width});