2018-09-28 10:07:05 +02:00
|
|
|
$icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
|
2017-12-11 17:36:46 +01:00
|
|
|
|
2020-02-04 16:44:53 +01:00
|
|
|
@import '_bootstrap-variables';
|
2018-09-05 15:32:15 +02:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
|
2018-06-06 19:21:02 +02:00
|
|
|
@import '_fonts';
|
2017-12-11 17:36:46 +01:00
|
|
|
|
2017-09-14 11:57:49 +02:00
|
|
|
@import '~video.js/dist/video-js.css';
|
2017-12-12 14:57:46 +01:00
|
|
|
|
2018-06-11 15:25:46 +02:00
|
|
|
$assets-path: '../assets/';
|
2018-09-17 15:00:46 +02:00
|
|
|
@import './player/index';
|
2017-12-12 14:57:46 +01:00
|
|
|
@import './loading-bar';
|
2016-11-08 20:49:43 +01:00
|
|
|
|
2019-06-12 12:40:24 +02:00
|
|
|
@import './bootstrap';
|
2018-06-15 16:52:15 +02:00
|
|
|
@import './primeng-custom';
|
|
|
|
|
2017-04-21 11:06:33 +02:00
|
|
|
[hidden] {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2016-07-19 16:45:07 +02:00
|
|
|
|
2017-12-01 09:20:19 +01:00
|
|
|
body {
|
2018-09-05 15:32:15 +02:00
|
|
|
/*** theme ***/
|
|
|
|
// now beware node-sass requires interpolation
|
|
|
|
// for css custom properties #{$var}
|
2020-03-11 13:50:53 +01:00
|
|
|
--mainColor: #{$main-color};
|
|
|
|
--mainColorLighter: #{$main-color-lighter};
|
2020-04-02 11:39:14 +02:00
|
|
|
--mainColorLightest: #{$main-color-lightest};
|
2020-03-11 13:50:53 +01:00
|
|
|
--mainHoverColor: #{$main-hover-color};
|
2018-09-05 15:32:15 +02:00
|
|
|
--mainBackgroundColor: #{$bg-color};
|
|
|
|
--mainForegroundColor: #{$fg-color};
|
2020-03-11 13:50:53 +01:00
|
|
|
--secondaryColor: #{$secondary-color};
|
2019-12-03 20:10:27 +01:00
|
|
|
|
2020-05-22 11:21:55 +02:00
|
|
|
--greyForegroundColor: #{$grey-foreground-color};
|
|
|
|
|
2018-09-11 22:55:41 +02:00
|
|
|
--menuBackgroundColor: #{$menu-background};
|
|
|
|
--menuForegroundColor: #{$menu-color};
|
2018-09-05 15:32:15 +02:00
|
|
|
--submenuColor: #{$sub-menu-color};
|
2019-12-03 20:10:27 +01:00
|
|
|
|
2020-05-20 11:39:31 +02:00
|
|
|
--inputForegroundColor: #{$input-foreground-color};
|
2020-01-29 16:00:28 +01:00
|
|
|
--inputBackgroundColor: #{$input-background-color};
|
2018-09-05 15:32:15 +02:00
|
|
|
--inputPlaceholderColor: #{$input-placeholder-color};
|
|
|
|
|
2020-05-20 11:39:31 +02:00
|
|
|
--textareaForegroundColor: #{$textarea-foreground-color};
|
2020-04-28 14:53:43 +02:00
|
|
|
--textareaBackgroundColor: #{$textarea-background-color};
|
2020-05-20 13:52:12 +02:00
|
|
|
--markdownTextareaBackgroundColor: #{$markdown-textarea-background-color};
|
2020-04-28 14:53:43 +02:00
|
|
|
|
2019-12-24 14:04:37 +01:00
|
|
|
--actionButtonColor: #{$grey-foreground-color};
|
|
|
|
--supportButtonBackgroundColor: #{transparent};
|
|
|
|
--supportButtonColor: #{var(--actionButtonColor)};
|
|
|
|
--supportButtonHeartColor: #{$support-button-heart};
|
2019-12-03 20:10:27 +01:00
|
|
|
|
2020-05-22 11:15:31 +02:00
|
|
|
--activatedActionButtonColor: #{$activated-action-button-color};
|
|
|
|
|
2018-02-22 18:32:31 +01:00
|
|
|
font-family: $main-fonts;
|
2017-12-01 09:20:19 +01:00
|
|
|
font-weight: $font-regular;
|
2018-09-04 01:28:04 +02:00
|
|
|
color: var(--mainForegroundColor);
|
2019-11-29 14:23:28 +01:00
|
|
|
background-color: var(--mainBackgroundColor);
|
2018-08-09 09:22:10 +02:00
|
|
|
font-size: 14px;
|
2017-12-01 09:20:19 +01:00
|
|
|
}
|
|
|
|
|
2020-02-03 14:04:42 +01:00
|
|
|
::selection {
|
|
|
|
color: var(--mainBackgroundColor);
|
|
|
|
background-color: var(--mainHoverColor);
|
|
|
|
}
|
|
|
|
|
2018-03-08 12:01:55 +01:00
|
|
|
#incompatible-browser {
|
|
|
|
display: none;
|
|
|
|
text-align: center;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 45%;
|
|
|
|
}
|
|
|
|
|
2018-02-20 16:13:05 +01:00
|
|
|
strong {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
}
|
|
|
|
|
2017-04-21 11:06:33 +02:00
|
|
|
input.readonly {
|
|
|
|
/* Force blank on readonly inputs */
|
2020-01-29 16:00:28 +01:00
|
|
|
background-color: var(--inputBackgroundColor) !important;
|
2015-12-05 12:14:55 +01:00
|
|
|
}
|
|
|
|
|
2018-08-09 14:55:06 +02:00
|
|
|
input, textarea {
|
|
|
|
outline: none;
|
2018-09-09 14:43:30 +02:00
|
|
|
color: var(--mainForegroundColor);
|
2018-08-09 14:55:06 +02:00
|
|
|
}
|
|
|
|
|
2017-12-05 16:48:26 +01:00
|
|
|
label {
|
|
|
|
font-weight: $font-bold;
|
|
|
|
font-size: 15px;
|
2017-04-21 16:40:45 +02:00
|
|
|
}
|
|
|
|
|
2017-12-06 09:19:25 +01:00
|
|
|
.form-error {
|
|
|
|
display: block;
|
2018-08-28 17:39:29 +02:00
|
|
|
color: $red;
|
2017-12-06 09:19:25 +01:00
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-error {
|
2018-08-28 17:39:29 +02:00
|
|
|
border-color: $red !important;
|
2017-12-06 09:19:25 +01:00
|
|
|
}
|
|
|
|
|
2018-08-30 11:15:22 +02:00
|
|
|
.fullWidth {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: initial;
|
|
|
|
}
|
|
|
|
|
2017-04-21 11:06:33 +02:00
|
|
|
.glyphicon-black {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2020-03-13 15:30:23 +01:00
|
|
|
.row {
|
2020-04-03 14:13:24 +02:00
|
|
|
margin: 0 !important;
|
2020-03-13 15:30:23 +01:00
|
|
|
}
|
|
|
|
|
2017-04-21 11:06:33 +02:00
|
|
|
.main-col {
|
2017-12-01 17:38:26 +01:00
|
|
|
margin-left: $menu-width;
|
2020-03-13 15:30:23 +01:00
|
|
|
width: calc(100% - #{$menu-width});
|
2020-04-02 11:39:14 +02:00
|
|
|
outline: none;
|
2017-12-01 14:46:22 +01:00
|
|
|
|
2017-12-01 17:38:26 +01:00
|
|
|
.margin-content {
|
2017-12-04 10:40:02 +01:00
|
|
|
margin-left: $not-expanded-horizontal-margins;
|
|
|
|
margin-right: $not-expanded-horizontal-margins;
|
2018-08-09 09:22:10 +02:00
|
|
|
flex-grow: 1;
|
2017-12-01 17:38:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.sub-menu {
|
2018-09-04 01:28:04 +02:00
|
|
|
background-color: var(--submenuColor);
|
2017-12-01 17:38:26 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 81px;
|
2019-03-14 14:05:36 +01:00
|
|
|
margin-bottom: $sub-menu-margin-bottom;
|
2017-12-01 17:38:26 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-12-04 10:40:02 +01:00
|
|
|
padding-left: $not-expanded-horizontal-margins;
|
2018-08-21 16:18:59 +02:00
|
|
|
padding-right: $not-expanded-horizontal-margins;
|
2017-12-01 17:38:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// Override some properties if the main content is expanded (no menu on the left)
|
|
|
|
&.expanded {
|
|
|
|
margin-left: 0;
|
2020-03-13 15:30:23 +01:00
|
|
|
width: 100%;
|
2017-12-01 17:38:26 +01:00
|
|
|
|
|
|
|
.margin-content {
|
|
|
|
margin-left: $expanded-horizontal-margins;
|
|
|
|
margin-right: $expanded-horizontal-margins;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-menu {
|
|
|
|
padding-left: $expanded-horizontal-margins;
|
2018-08-21 16:18:59 +02:00
|
|
|
padding-right: $expanded-horizontal-margins;
|
2017-12-01 17:38:26 +01:00
|
|
|
}
|
2016-08-12 16:52:10 +02:00
|
|
|
}
|
2020-04-28 14:53:43 +02:00
|
|
|
|
|
|
|
&.lock-scroll .main-row > router-outlet + * {
|
|
|
|
// Lock and hide body scrollbars
|
|
|
|
position: fixed;
|
|
|
|
|
|
|
|
// Lock and hide sub-menu scrollbars
|
|
|
|
.sub-menu {
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
}
|
2017-04-21 11:06:33 +02:00
|
|
|
}
|
2016-08-12 16:52:10 +02:00
|
|
|
|
2017-12-07 10:33:16 +01:00
|
|
|
.title-page {
|
2018-09-04 01:28:04 +02:00
|
|
|
color: var(--mainForegroundColor);
|
2017-12-07 10:33:16 +01:00
|
|
|
font-size: 16px;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 55px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
&.active, &.title-page-single {
|
|
|
|
margin-top: 30px;
|
|
|
|
margin-bottom: 25px;
|
|
|
|
}
|
2017-12-08 08:39:15 +01:00
|
|
|
|
2019-12-17 13:10:27 +01:00
|
|
|
&.active {
|
2019-12-18 23:39:07 +01:00
|
|
|
font-weight: $font-bold;
|
2019-12-17 13:10:27 +01:00
|
|
|
border-bottom: 2px solid var(--mainColor);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.title-page-single {
|
|
|
|
font-size: 125%;
|
|
|
|
}
|
|
|
|
|
2017-12-08 08:39:15 +01:00
|
|
|
&:hover, &:active, &:focus {
|
2018-09-04 01:28:04 +02:00
|
|
|
color: var(--mainForegroundColor);
|
2017-12-08 10:41:49 +01:00
|
|
|
}
|
2018-05-09 09:23:27 +02:00
|
|
|
|
2020-02-03 22:33:28 +01:00
|
|
|
@media screen and (max-width: $mobile-view) {
|
2019-04-11 11:18:19 +02:00
|
|
|
margin-right: 15px;
|
2018-05-09 09:23:27 +02:00
|
|
|
}
|
2017-12-08 08:39:15 +01:00
|
|
|
}
|
2017-12-08 10:41:49 +01:00
|
|
|
|
2020-03-08 17:33:40 +01:00
|
|
|
.title-page-about,
|
|
|
|
.title-page-settings {
|
2020-03-13 20:38:50 +01:00
|
|
|
white-space: nowrap;
|
2020-03-08 17:33:40 +01:00
|
|
|
font-size: 115%;
|
|
|
|
font-weight: $font-regular;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-08 14:34:17 +01:00
|
|
|
.admin-sub-header {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
|
2018-04-26 16:11:38 +02:00
|
|
|
.form-sub-title {
|
2017-12-08 14:34:17 +01:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-08-14 16:01:54 +02:00
|
|
|
|
|
|
|
.admin-sub-nav a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
font-size: 16px;
|
2018-09-04 01:28:04 +02:00
|
|
|
color: var(--mainForegroundColor);
|
2018-08-14 16:01:54 +02:00
|
|
|
padding: 5px 15px;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
background-color: #f0f0f0;
|
2018-09-04 01:28:04 +02:00
|
|
|
color: #000;
|
2018-08-14 16:01:54 +02:00
|
|
|
}
|
|
|
|
}
|
2017-12-08 14:34:17 +01:00
|
|
|
}
|
|
|
|
|
2018-04-26 16:11:38 +02:00
|
|
|
.form-sub-title {
|
2017-12-08 10:41:49 +01:00
|
|
|
font-size: 20px;
|
|
|
|
font-weight: bold;
|
2017-12-07 10:33:16 +01:00
|
|
|
}
|
|
|
|
|
2017-09-14 23:03:43 +02:00
|
|
|
@keyframes spin {
|
|
|
|
from { transform: scale(1) rotate(0deg);}
|
|
|
|
to { transform: scale(1) rotate(360deg);}
|
|
|
|
}
|
|
|
|
|
2017-12-21 15:24:49 +01:00
|
|
|
// In tables, don't have a hover different background
|
|
|
|
table {
|
|
|
|
.action-button-edit, .action-button-delete {
|
|
|
|
&:hover, &:active, &:focus, &[disabled], &.disabled {
|
2019-01-16 16:05:40 +01:00
|
|
|
background-color: $grey-background-color !important;
|
2017-12-21 15:24:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-30 14:58:00 +02:00
|
|
|
.no-results {
|
|
|
|
height: 40vh;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
}
|
|
|
|
|
2020-02-12 16:58:01 +01:00
|
|
|
.dropdown-item {
|
|
|
|
@include dropdown-with-icon-item;
|
|
|
|
|
|
|
|
my-global-icon {
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-11 19:38:17 +01:00
|
|
|
.anchor {
|
|
|
|
position: relative;
|
|
|
|
top: #{-($header-height + 20px)};
|
|
|
|
}
|
|
|
|
|
2020-05-01 10:45:07 +02:00
|
|
|
@media screen and (max-width: #{breakpoint(xxl)}) {
|
2018-09-03 15:01:52 +02:00
|
|
|
.main-col {
|
|
|
|
&.expanded {
|
|
|
|
.margin-content {
|
|
|
|
margin-left: $expanded-horizontal-margins/2;
|
|
|
|
margin-right: $expanded-horizontal-margins/2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-01 10:45:07 +02:00
|
|
|
@media screen and (max-width: #{breakpoint(lg)}) {
|
2020-04-30 17:14:03 +02:00
|
|
|
/* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
|
2018-01-31 11:38:05 +01:00
|
|
|
.main-col {
|
2020-04-30 17:14:03 +02:00
|
|
|
&, &.expanded {
|
|
|
|
.margin-content {
|
|
|
|
margin-left: $expanded-horizontal-margins/3;
|
|
|
|
margin-right: $expanded-horizontal-margins/3;
|
|
|
|
}
|
2018-01-31 11:58:11 +01:00
|
|
|
|
2020-04-30 17:14:03 +02:00
|
|
|
.sub-menu {
|
|
|
|
padding-left: 50px;
|
|
|
|
padding-right: 50px;
|
2018-08-21 16:18:59 +02:00
|
|
|
|
2020-04-30 17:14:03 +02:00
|
|
|
.title-page {
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
2018-01-31 11:58:11 +01:00
|
|
|
}
|
2018-01-31 11:38:05 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-29 00:32:46 +02:00
|
|
|
@media screen and (min-width: $mobile-view) and (max-width: $small-view) {
|
2020-04-28 23:41:05 +02:00
|
|
|
.main-col {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-09-05 11:20:44 +02:00
|
|
|
@media screen and (max-width: $small-view) {
|
2017-12-11 10:02:17 +01:00
|
|
|
.main-col {
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
&, &.expanded {
|
|
|
|
.margin-content {
|
2018-01-31 10:42:01 +01:00
|
|
|
margin-left: 15px;
|
|
|
|
margin-right: 15px;
|
2017-12-11 10:02:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.sub-menu {
|
2019-04-11 11:18:19 +02:00
|
|
|
width: 100vw;
|
2018-01-31 11:58:11 +01:00
|
|
|
padding-left: 15px;
|
2018-08-21 16:18:59 +02:00
|
|
|
padding-right: 15px;
|
2020-04-27 14:57:50 +02:00
|
|
|
margin-bottom: $sub-menu-margin-bottom-small-view;
|
2020-05-11 11:12:58 +02:00
|
|
|
overflow-x: auto;
|
2017-12-11 10:02:17 +01:00
|
|
|
}
|
|
|
|
|
2020-05-01 00:51:09 +02:00
|
|
|
.admin-sub-header {
|
|
|
|
@include admin-sub-header-responsive(15px*2);
|
|
|
|
}
|
|
|
|
|
2020-04-28 14:53:43 +02:00
|
|
|
my-markdown-textarea {
|
|
|
|
.root {
|
|
|
|
max-width: 100% !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-04-27 14:57:50 +02:00
|
|
|
input[type=text],
|
|
|
|
input[type=password],
|
|
|
|
input[type=email],
|
2020-04-29 17:44:21 +02:00
|
|
|
textarea,
|
|
|
|
.peertube-select-container {
|
2017-12-11 10:02:17 +01:00
|
|
|
width: 100% !important;
|
|
|
|
}
|
2020-05-03 23:01:57 +02:00
|
|
|
|
|
|
|
.caption input[type=text] {
|
|
|
|
width: unset !important;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-12-11 10:02:17 +01:00
|
|
|
}
|
|
|
|
}
|
2019-01-16 16:05:40 +01:00
|
|
|
}
|
2020-05-01 00:51:09 +02:00
|
|
|
|
2020-05-01 10:45:07 +02:00
|
|
|
// overflow-databale responsive rules
|
2020-05-01 23:24:05 +02:00
|
|
|
@media screen and (min-width: #{breakpoint(lg)}) {
|
2020-05-01 10:45:07 +02:00
|
|
|
.main-col {
|
|
|
|
&.expanded {
|
2020-05-01 23:24:05 +02:00
|
|
|
@include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/2, $mobile-paginator: false);
|
2020-05-01 10:45:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.expanded) {
|
2020-05-01 23:24:05 +02:00
|
|
|
@include overflow-datatable(breakpoint(lg), $not-expanded-horizontal-margins + $menu-width/2, $mobile-paginator: false);
|
2020-05-01 10:45:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: #{breakpoint(lg)}) {
|
|
|
|
.main-col {
|
|
|
|
&.expanded {
|
|
|
|
@include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.expanded) {
|
2020-05-01 23:24:05 +02:00
|
|
|
@include overflow-datatable(breakpoint(lg), $expanded-horizontal-margins/3 + $menu-width/2);
|
2020-05-01 10:45:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $small-view) {
|
|
|
|
.main-col {
|
|
|
|
&:not(.expanded),
|
|
|
|
&.expanded {
|
|
|
|
@include overflow-datatable(breakpoint(lg), 15px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-05-01 00:51:09 +02:00
|
|
|
@media screen and (min-width: $small-view) and (max-width: #{$small-view + $menu-width}) {
|
|
|
|
.main-col {
|
|
|
|
&:not(.expanded) {
|
|
|
|
.admin-sub-header {
|
2020-05-01 23:24:05 +02:00
|
|
|
@include admin-sub-header-responsive($expanded-horizontal-margins/3 + $menu-width/2);
|
2020-05-01 00:51:09 +02:00
|
|
|
}
|
2020-05-11 11:12:58 +02:00
|
|
|
|
|
|
|
.sub-menu {
|
|
|
|
overflow-x: auto;
|
|
|
|
width: calc(100vw - #{$menu-width});
|
|
|
|
}
|
2020-05-01 00:51:09 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|