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';
14 @import './bootstrap';
15 @import './primeng-custom';
16 @import './ng-select.scss';
18 @import './classes.scss';
21 display: none !important;
26 // now beware sass requires interpolation
27 // for css custom properties #{$var}
28 --mainColor: #{$main-color};
29 --mainColorLighter: #{$main-color-lighter};
30 --mainColorLightest: #{$main-color-lightest};
31 --mainHoverColor: #{$main-hover-color};
32 --mainBackgroundColor: #{$bg-color};
33 --mainForegroundColor: #{$fg-color};
34 --secondaryColor: #{$secondary-color};
36 --greyForegroundColor: #{$grey-foreground-color};
37 --greyBackgroundColor: #{$grey-background-color};
39 --menuBackgroundColor: #{$menu-background};
40 --menuForegroundColor: #{$menu-color};
42 --submenuBackgroundColor: #{$sub-menu-background-color};
43 --channelBackgroundColor: #{$channel-background-color};
45 --inputForegroundColor: #{$input-foreground-color};
46 --inputBackgroundColor: #{$input-background-color};
47 --inputPlaceholderColor: #{$input-placeholder-color};
49 --textareaForegroundColor: #{$textarea-foreground-color};
50 --textareaBackgroundColor: #{$textarea-background-color};
51 --markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
53 --actionButtonColor: #{$grey-foreground-color};
54 --supportButtonBackgroundColor: #{transparent};
55 --supportButtonColor: #{pvar(--actionButtonColor)};
56 --supportButtonHeartColor: #{$support-button-heart};
58 --activatedActionButtonColor: #{$activated-action-button-color};
60 --horizontalMarginContent: #{$not-expanded-horizontal-margins};
61 --videosHorizontalMarginContent: 6vw;
62 --mainColWidth: calc(100vw - #{$menu-width});
64 font-family: $main-fonts;
65 font-weight: $font-regular;
66 color: pvar(--mainForegroundColor);
67 background-color: pvar(--mainBackgroundColor);
69 // On desktop browsers, make sure vertical scroll bar is always visible
70 // Allow to disable the scrollbar instead of hide it when the content fit the body
71 // And not move the content and header horizontally sticked to right when the content is updating
76 color: pvar(--mainBackgroundColor);
77 background-color: pvar(--mainHoverColor);
81 #incompatible-browser {
89 font-weight: $font-semibold;
93 /* Force blank on readonly inputs */
94 background-color: pvar(--inputBackgroundColor) !important;
99 color: pvar(--inputForegroundColor);
104 @include disable-outline;
108 font-weight: $font-bold;
113 background-color: pvar(--greyBackgroundColor);
114 color: pvar(--greyForegroundColor);
119 display: inline-block;
120 vertical-align: middle;
130 my-input-toggle-hidden ::ng-deep input {
131 border-color: $red !important;
146 margin: 0 !important;
150 margin-left: $menu-width;
151 width: calc(100% - #{$menu-width});
155 margin-left: pvar(--horizontalMarginContent);
156 margin-right: pvar(--horizontalMarginContent);
161 background-color: pvar(--submenuBackgroundColor);
165 padding-left: pvar(--horizontalMarginContent);
166 padding-right: pvar(--horizontalMarginContent);
167 height: $sub-menu-height;
168 margin-bottom: $sub-menu-margin-bottom;
173 z-index: #{z('sub-menu') - 1};
174 max-width: pvar(--mainColWidth);
178 // Use an appropriate offset top when sub-menu fixed
179 .margin-content.offset-content {
180 padding-top: $sub-menu-height + $sub-menu-margin-bottom;
183 // Override some properties if the main content is expanded (no menu on the left)
185 --horizontalMarginContent: #{$expanded-horizontal-margins};
186 --mainColWidth: 100vw;
192 &.lock-scroll .main-row > router-outlet + * {
193 // Lock and hide body scrollbars
196 // Lock and hide sub-menu scrollbars
205 color: pvar(--mainForegroundColor);
207 display: inline-block;
209 font-weight: $font-semibold;
210 @include disable-default-a-behaviour;
212 border-bottom: 2px solid transparent;
214 &.title-page-single {
220 border-bottom-color: pvar(--mainColor);
223 &.title-page-single {
227 &:hover, &:active, &:focus {
228 color: pvar(--mainForegroundColor);
231 &.active, &:hover, &:active, &:focus, &.title-page-single {
233 outline: 0px hidden !important;
236 @media screen and (max-width: $mobile-view) {
242 .title-page-settings {
257 @include disable-default-a-behaviour;
260 color: pvar(--mainForegroundColor);
262 border-radius: 0.25rem;
263 font-weight: $font-semibold;
267 background-color: pvar(--submenuBackgroundColor);
270 &.active, &:hover, &:active, &:focus {
281 // In tables, don't have a hover different background
283 .action-button-edit, .action-button-delete {
284 &:hover, &:active, &:focus, &[disabled], &.disabled {
285 background-color: $grey-background-color !important;
295 flex-direction: column;
297 justify-content: center;
299 font-weight: $font-semibold;
303 @include dropdown-with-icon-item;
311 /* offsetTop for scrollToAnchor */
315 top: #{-($header-height + 20px)};
318 .offset-content { // if sub-menu fixed
320 top: #{-($header-height + $sub-menu-height + 20px)};
324 .form-group-description {
332 z-index: z(header) + 1 !important;
335 @media screen and (max-width: #{breakpoint(xxl)}) {
338 --horizontalMarginContent: #{$not-expanded-horizontal-margins / 2};
342 --horizontalMarginContent: #{$expanded-horizontal-margins / 2};
345 --videosHorizontalMarginContent: 30px;
349 @media screen and (max-width: #{breakpoint(lg)}) {
351 --videosHorizontalMarginContent: #{pvar(--horizontalMarginContent)};
354 /* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
357 --horizontalMarginContent: #{$expanded-horizontal-margins / 3};
370 @media screen and (min-width: $mobile-view) and (max-width: $small-view) {
376 @media screen and (max-width: $small-view) {
379 --horizontalMarginContent: 15px;
387 margin-bottom: $sub-menu-margin-bottom-small-view;
391 // Use an appropriate offset top when sub-menu fixed
392 .margin-content.offset-content {
393 padding-top: $sub-menu-height + $sub-menu-margin-bottom-small-view;
397 @include admin-sub-header-responsive;
400 my-markdown-textarea {
402 max-width: 100% !important;
407 input[type=password],
410 .peertube-select-container {
414 .caption input[type=text] {
415 width: unset !important;