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 --inputBackgroundColor: #{$input-background-color};
39 --inputPlaceholderColor: #{$input-placeholder-color};
41 --textareaBackgroundColor: #{$textarea-background-color};
43 --actionButtonColor: #{$grey-foreground-color};
44 --supportButtonBackgroundColor: #{transparent};
45 --supportButtonColor: #{var(--actionButtonColor)};
46 --supportButtonHeartColor: #{$support-button-heart};
48 font-family: $main-fonts;
49 font-weight: $font-regular;
50 color: var(--mainForegroundColor);
51 background-color: var(--mainBackgroundColor);
56 color: var(--mainBackgroundColor);
57 background-color: var(--mainHoverColor);
60 #incompatible-browser {
69 font-weight: $font-semibold;
73 /* Force blank on readonly inputs */
74 background-color: var(--inputBackgroundColor) !important;
79 color: var(--mainForegroundColor);
83 font-weight: $font-bold;
94 border-color: $red !important;
109 margin: 0 !important;
113 margin-left: $menu-width;
114 width: calc(100% - #{$menu-width});
118 margin-left: $not-expanded-horizontal-margins;
119 margin-right: $not-expanded-horizontal-margins;
124 background-color: var(--submenuColor);
127 margin-bottom: $sub-menu-margin-bottom;
130 padding-left: $not-expanded-horizontal-margins;
131 padding-right: $not-expanded-horizontal-margins;
134 // Override some properties if the main content is expanded (no menu on the left)
140 margin-left: $expanded-horizontal-margins;
141 margin-right: $expanded-horizontal-margins;
145 padding-left: $expanded-horizontal-margins;
146 padding-right: $expanded-horizontal-margins;
150 &.lock-scroll .main-row > router-outlet + * {
151 // Lock and hide body scrollbars
154 // Lock and hide sub-menu scrollbars
162 color: var(--mainForegroundColor);
164 display: inline-block;
166 font-weight: $font-semibold;
167 @include disable-default-a-behaviour;
169 &.active, &.title-page-single {
175 font-weight: $font-bold;
176 border-bottom: 2px solid var(--mainColor);
179 &.title-page-single {
183 &:hover, &:active, &:focus {
184 color: var(--mainForegroundColor);
187 @media screen and (max-width: $mobile-view) {
193 .title-page-settings {
196 font-weight: $font-regular;
199 font-weight: $font-semibold;
213 @include disable-default-a-behaviour;
216 color: var(--mainForegroundColor);
218 border-radius: 0.25rem;
221 font-weight: $font-semibold;
222 background-color: #f0f0f0;
234 from { transform: scale(1) rotate(0deg);}
235 to { transform: scale(1) rotate(360deg);}
238 // In tables, don't have a hover different background
240 .action-button-edit, .action-button-delete {
241 &:hover, &:active, &:focus, &[disabled], &.disabled {
242 background-color: $grey-background-color !important;
251 justify-content: center;
253 font-weight: $font-semibold;
257 @include dropdown-with-icon-item;
267 top: #{-($header-height + 20px)};
270 @media screen and (max-width: #{breakpoint(xxl)}) {
274 margin-left: $expanded-horizontal-margins/2;
275 margin-right: $expanded-horizontal-margins/2;
281 @media screen and (max-width: #{breakpoint(lg)}) {
282 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
286 margin-left: $expanded-horizontal-margins/3;
287 margin-right: $expanded-horizontal-margins/3;
302 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
308 @media screen and (max-width: $small-view) {
322 margin-bottom: $sub-menu-margin-bottom-small-view;
326 @include admin-sub-header-responsive(15px*2);
329 my-markdown-textarea {
331 max-width: 100% !important;
336 input[type=password],
339 .peertube-select-container {
340 width: 100% !important;
346 // overflow-databale responsive rules
347 @media screen and (max-width: #{breakpoint(xxl)}) {
350 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2);
354 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2);
359 @media screen and (max-width: #{breakpoint(lg)}) {
362 @include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
366 @include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2);
371 @media screen and (max-width: $small-view) {
375 @include overflow-datatable(breakpoint(lg), 15px);
380 @media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
384 @include admin-sub-header-responsive($menu-width/2 + $expanded-horizontal-margins/3);