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};
44 --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
46 --actionButtonColor: #{$grey-foreground-color};
47 --supportButtonBackgroundColor: #{transparent};
48 --supportButtonColor: #{var(--actionButtonColor)};
49 --supportButtonHeartColor: #{$support-button-heart};
51 --activatedActionButtonColor: #{$activated-action-button-color};
53 font-family: $main-fonts;
54 font-weight: $font-regular;
55 color: var(--mainForegroundColor);
56 background-color: var(--mainBackgroundColor);
61 color: var(--mainBackgroundColor);
62 background-color: var(--mainHoverColor);
65 #incompatible-browser {
74 font-weight: $font-semibold;
78 /* Force blank on readonly inputs */
79 background-color: var(--inputBackgroundColor) !important;
84 color: var(--mainForegroundColor);
88 font-weight: $font-bold;
99 border-color: $red !important;
114 margin: 0 !important;
118 margin-left: $menu-width;
119 width: calc(100% - #{$menu-width});
123 margin-left: $not-expanded-horizontal-margins;
124 margin-right: $not-expanded-horizontal-margins;
129 background-color: var(--submenuColor);
132 margin-bottom: $sub-menu-margin-bottom;
135 padding-left: $not-expanded-horizontal-margins;
136 padding-right: $not-expanded-horizontal-margins;
139 // Override some properties if the main content is expanded (no menu on the left)
145 margin-left: $expanded-horizontal-margins;
146 margin-right: $expanded-horizontal-margins;
150 padding-left: $expanded-horizontal-margins;
151 padding-right: $expanded-horizontal-margins;
155 &.lock-scroll .main-row > router-outlet + * {
156 // Lock and hide body scrollbars
159 // Lock and hide sub-menu scrollbars
167 color: var(--mainForegroundColor);
169 display: inline-block;
171 font-weight: $font-semibold;
172 @include disable-default-a-behaviour;
174 &.active, &.title-page-single {
180 font-weight: $font-bold;
181 border-bottom: 2px solid var(--mainColor);
184 &.title-page-single {
188 &:hover, &:active, &:focus {
189 color: var(--mainForegroundColor);
192 @media screen and (max-width: $mobile-view) {
198 .title-page-settings {
201 font-weight: $font-regular;
204 font-weight: $font-semibold;
218 @include disable-default-a-behaviour;
221 color: var(--mainForegroundColor);
223 border-radius: 0.25rem;
226 font-weight: $font-semibold;
227 background-color: #f0f0f0;
239 from { transform: scale(1) rotate(0deg);}
240 to { transform: scale(1) rotate(360deg);}
243 // In tables, don't have a hover different background
245 .action-button-edit, .action-button-delete {
246 &:hover, &:active, &:focus, &[disabled], &.disabled {
247 background-color: $grey-background-color !important;
256 justify-content: center;
258 font-weight: $font-semibold;
262 @include dropdown-with-icon-item;
272 top: #{-($header-height + 20px)};
275 @media screen and (max-width: #{breakpoint(xxl)}) {
279 margin-left: $expanded-horizontal-margins/2;
280 margin-right: $expanded-horizontal-margins/2;
286 @media screen and (max-width: #{breakpoint(lg)}) {
287 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
291 margin-left: $expanded-horizontal-margins/3;
292 margin-right: $expanded-horizontal-margins/3;
307 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
313 @media screen and (max-width: $small-view) {
327 margin-bottom: $sub-menu-margin-bottom-small-view;
332 @include admin-sub-header-responsive(15px*2);
335 my-markdown-textarea {
337 max-width: 100% !important;
342 input[type=password],
345 .peertube-select-container {
346 width: 100% !important;
349 .caption input[type=text] {
350 width: unset !important;
357 // overflow-databale responsive rules
358 @media screen and (min-width: #{breakpoint(lg)}) {
361 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
365 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
370 @media screen and (max-width: #{breakpoint(lg)}) {
373 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
377 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
382 @media screen and (max-width: $small-view) {
386 @include overflow-datatable(breakpoint(lg), 15px);
391 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
395 @include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
400 width: calc(100vw - #{$menu-width});