2019-01-29 15:20:00 +01:00
|
|
|
/** Imports the material-design-theming */
|
2018-07-26 16:40:34 +02:00
|
|
|
@import '~@angular/material/theming';
|
|
|
|
@include mat-core();
|
|
|
|
|
2019-01-29 15:20:00 +01:00
|
|
|
/** Import brand theme */
|
2019-04-08 10:57:43 +02:00
|
|
|
@import './assets/styles/openslides-general-theme.scss';
|
2018-11-05 17:40:32 +01:00
|
|
|
@import './assets/styles/openslides-theme.scss';
|
2019-01-29 15:20:00 +01:00
|
|
|
@import './assets/styles/openslides-dark-theme.scss';
|
|
|
|
@import './assets/styles/openslides-green-theme.scss';
|
2019-04-08 10:57:43 +02:00
|
|
|
@import './assets/styles/openslides-developer-theme.scss';
|
2019-01-29 15:20:00 +01:00
|
|
|
|
2019-03-21 18:40:41 +01:00
|
|
|
/** Import the component-related style sheets here */
|
2019-01-29 15:20:00 +01:00
|
|
|
@import './app/site/site.component.scss-theme.scss';
|
|
|
|
@import './assets/styles/global-components-style.scss';
|
2019-02-22 09:05:53 +01:00
|
|
|
@import './app/shared/components/projector-button/projector-button.component.scss';
|
2019-03-25 13:34:10 +01:00
|
|
|
@import './app/site/agenda/components/list-of-speakers/list-of-speakers.component.scss-theme.scss';
|
2019-03-21 11:20:00 +01:00
|
|
|
@import './app/shared/components/sorting-tree/sorting-tree.component.scss';
|
2019-06-17 14:27:47 +02:00
|
|
|
@import './app/site/common/components/global-spinner/global-spinner.component.scss';
|
2019-05-09 16:18:14 +02:00
|
|
|
@import './app/shared/components/tile/tile.component.scss';
|
|
|
|
@import './app/shared/components/block-tile/block-tile.component.scss';
|
2019-06-04 09:37:01 +02:00
|
|
|
@import './app/shared/components/icon-container/icon-container.component.scss';
|
2019-06-04 11:10:05 +02:00
|
|
|
@import './app/site/common/components/start/start.component.scss';
|
2019-07-12 13:09:07 +02:00
|
|
|
@import './app/site/mediafiles/components/mediafile-list/mediafile-list.component.scss-theme.scss';
|
2019-07-11 14:06:01 +02:00
|
|
|
@import './app/site/common/components/super-search/super-search.component.scss';
|
|
|
|
@import './app/shared/components/rounded-input/rounded-input.component.scss';
|
2019-08-21 15:05:03 +02:00
|
|
|
@import './app/shared/components/meta-text-block/meta-text-block.component.scss';
|
2019-01-22 11:59:16 +01:00
|
|
|
|
|
|
|
/** fonts */
|
|
|
|
@import './assets/styles/fonts.scss';
|
2019-02-12 13:30:02 +01:00
|
|
|
@import '~material-icon-font/dist/Material-Icons.css';
|
2019-01-22 11:59:16 +01:00
|
|
|
|
2019-06-14 11:18:54 +02:00
|
|
|
/** NGrid */
|
|
|
|
@import '~@pebula/ngrid/theming';
|
2019-07-23 15:59:24 +02:00
|
|
|
$narrow-spacing: (
|
|
|
|
spacing: $pbl-spacing-theme-narrow
|
|
|
|
);
|
2019-06-14 11:18:54 +02:00
|
|
|
|
2019-01-29 15:20:00 +01:00
|
|
|
/** Mix the component-related style-rules */
|
2018-07-26 16:40:34 +02:00
|
|
|
@mixin openslides-components-theme($theme) {
|
2018-09-03 17:57:20 +02:00
|
|
|
@include os-site-theme($theme);
|
2019-01-29 15:20:00 +01:00
|
|
|
@include os-components-style($theme);
|
2019-02-22 09:05:53 +01:00
|
|
|
@include os-projector-button-style($theme);
|
2019-03-21 18:40:41 +01:00
|
|
|
@include os-list-of-speakers-style($theme);
|
2019-03-21 11:20:00 +01:00
|
|
|
@include os-sorting-tree-style($theme);
|
2019-04-08 10:57:43 +02:00
|
|
|
@include os-global-spinner-theme($theme);
|
2019-05-09 16:18:14 +02:00
|
|
|
@include os-tile-style($theme);
|
2019-07-12 13:09:07 +02:00
|
|
|
@include os-mediafile-list-theme($theme);
|
2019-07-11 14:06:01 +02:00
|
|
|
@include os-super-search-style($theme);
|
|
|
|
@include os-rounded-input-style($theme);
|
2019-08-21 15:05:03 +02:00
|
|
|
@include os-meta-text-block-style($theme);
|
2018-07-26 16:40:34 +02:00
|
|
|
}
|
|
|
|
|
2019-02-26 11:38:29 +01:00
|
|
|
/** Load projector specific SCSS values */
|
|
|
|
@import './assets/styles/projector.scss';
|
|
|
|
|
2019-09-18 12:48:41 +02:00
|
|
|
/** Load global scss variables and device mixing */
|
|
|
|
@import './assets/styles/variables.scss';
|
|
|
|
|
2019-04-08 10:57:43 +02:00
|
|
|
.general-theme {
|
|
|
|
@include os-global-spinner-theme($openslides-general-theme);
|
|
|
|
}
|
|
|
|
|
2019-01-29 15:20:00 +01:00
|
|
|
/** Define the classes to switch between themes */
|
|
|
|
.openslides-theme {
|
|
|
|
@include angular-material-theme($openslides-theme);
|
|
|
|
@include openslides-components-theme($openslides-theme);
|
2019-06-14 11:18:54 +02:00
|
|
|
$ngrid-material-theme: pbl-light-theme($openslides-theme);
|
|
|
|
@include pbl-ngrid-theme(map-merge($ngrid-material-theme, $narrow-spacing));
|
|
|
|
|
2019-04-08 10:57:43 +02:00
|
|
|
.logo-container {
|
|
|
|
img.dark {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
img.default {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-05-09 17:04:36 +02:00
|
|
|
.openslides-dark-theme,
|
|
|
|
.openslides-developer-dark-theme {
|
2019-04-08 10:57:43 +02:00
|
|
|
.logo-container {
|
|
|
|
img.dark {
|
|
|
|
display: inherit;
|
|
|
|
}
|
|
|
|
img.default {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2019-01-29 15:20:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.openslides-dark-theme {
|
|
|
|
@include angular-material-theme($openslides-dark-theme);
|
|
|
|
@include openslides-components-theme($openslides-dark-theme);
|
2019-07-23 15:59:24 +02:00
|
|
|
$ngrid-material-theme: pbl-dark-theme($openslides-dark-theme);
|
|
|
|
@include pbl-ngrid-theme(map-merge($ngrid-material-theme, $narrow-spacing));
|
2019-01-29 15:20:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.openslides-green-theme {
|
|
|
|
@include angular-material-theme($openslides-green-theme);
|
|
|
|
@include openslides-components-theme($openslides-green-theme);
|
2019-07-23 15:59:24 +02:00
|
|
|
$ngrid-material-theme: pbl-light-theme($openslides-green-theme);
|
|
|
|
@include pbl-ngrid-theme(map-merge($ngrid-material-theme, $narrow-spacing));
|
2019-01-29 15:20:00 +01:00
|
|
|
}
|
|
|
|
|
2019-04-08 10:57:43 +02:00
|
|
|
.openslides-developer-dark-theme {
|
|
|
|
@include angular-material-theme($openslides-developer-theme);
|
|
|
|
@include openslides-components-theme($openslides-developer-theme);
|
2019-07-23 15:59:24 +02:00
|
|
|
$ngrid-material-theme: pbl-dark-theme($openslides-developer-theme);
|
|
|
|
@include pbl-ngrid-theme(map-merge($ngrid-material-theme, $narrow-spacing));
|
2019-04-08 10:57:43 +02:00
|
|
|
|
|
|
|
* {
|
|
|
|
font-family: monospace !important;
|
|
|
|
color: mat-color(map-get($openslides-developer-theme, accent));
|
|
|
|
}
|
|
|
|
|
|
|
|
os-site {
|
2019-05-09 17:04:36 +02:00
|
|
|
.active mat-icon,
|
|
|
|
.active span {
|
2019-04-08 10:57:43 +02:00
|
|
|
color: mat-color(map-get($openslides-developer-theme, accent));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-table-header {
|
|
|
|
background: #000;
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-toolbar.sticky-toolbar {
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
2019-09-18 12:48:41 +02:00
|
|
|
height: 64px;
|
2019-04-08 10:57:43 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.mat-drawer-inner-container {
|
|
|
|
background: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-drawer-inner-container > * {
|
|
|
|
background: #000 !important;
|
|
|
|
z-index: 3;
|
|
|
|
|
|
|
|
.os-site.nav-toolbar {
|
|
|
|
background: #000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-drawer-content > * {
|
|
|
|
background: #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
mat-icon {
|
|
|
|
font-family: 'Material Icons' !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-mini-fab.projector-active {
|
|
|
|
background-color: mat-color(map-get($openslides-developer-theme, warn));
|
|
|
|
}
|
|
|
|
|
|
|
|
.mce-ico {
|
|
|
|
font-family: 'tinymce', Arial !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-14 11:18:54 +02:00
|
|
|
.pbl-ngrid-cell {
|
|
|
|
.fill {
|
2019-10-09 14:59:43 +02:00
|
|
|
position: relative;
|
2019-06-14 11:18:54 +02:00
|
|
|
display: inherit;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
// try to put all children in the in the vertical middle
|
|
|
|
* {
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-06-17 12:50:53 +02:00
|
|
|
.checkbox-ripple-padding {
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
2019-06-14 11:18:54 +02:00
|
|
|
.clickable {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.detail-link {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-23 15:59:24 +02:00
|
|
|
.pbl-ngrid-no-data {
|
|
|
|
position: absolute;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
top: 5%;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 100px; /* Need a specific value to work */
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2019-01-29 15:20:00 +01:00
|
|
|
/** Define the general style-rules */
|
2018-07-26 16:40:34 +02:00
|
|
|
* {
|
2019-01-22 11:59:16 +01:00
|
|
|
font-family: OSFont, Fira Sans, Roboto, Arial, Helvetica, sans-serif;
|
2018-07-26 16:40:34 +02:00
|
|
|
}
|
2019-03-20 12:45:34 +01:00
|
|
|
.mat-toolbar h2,
|
|
|
|
.mat-dialog-title {
|
2019-04-08 10:57:43 +02:00
|
|
|
font-family: OSFont, Fira Sans, Roboto, Arial, Helvetica, sans-serif;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
|
2018-10-11 14:03:44 +02:00
|
|
|
mat-icon {
|
2019-04-08 10:57:43 +02:00
|
|
|
font-family: 'Material Icons' !important;
|
2018-10-11 14:03:44 +02:00
|
|
|
}
|
2018-06-25 17:03:52 +02:00
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
body {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2018-10-11 15:21:30 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
2019-01-17 10:53:16 +01:00
|
|
|
h3,
|
2019-01-26 20:37:49 +01:00
|
|
|
.title-font,
|
|
|
|
.slidetitle h1,
|
|
|
|
.slidetitle h2 {
|
2019-01-22 11:59:16 +01:00
|
|
|
font-family: OSFont Condensed, Fira Sans Condensed, Roboto-condensed, Arial, Helvetica, sans-serif;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
line-height: 1.2;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 36px;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 0;
|
2018-10-11 15:21:30 +02:00
|
|
|
}
|
2019-01-29 15:20:00 +01:00
|
|
|
|
2018-11-09 09:24:38 +01:00
|
|
|
h4 {
|
|
|
|
font-weight: 400;
|
2019-10-05 09:59:40 +02:00
|
|
|
font-size: 100%;
|
2018-11-09 09:24:38 +01:00
|
|
|
margin-bottom: 5px;
|
2019-01-24 16:25:50 +01:00
|
|
|
|
|
|
|
.mat-icon-button mat-icon {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2018-11-09 09:24:38 +01:00
|
|
|
}
|
2018-10-11 15:21:30 +02:00
|
|
|
|
2018-11-23 13:59:14 +01:00
|
|
|
.small {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
img {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
strong,
|
2019-06-30 09:30:11 +02:00
|
|
|
b,
|
|
|
|
.bold {
|
2019-01-09 08:31:13 +01:00
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2018-08-09 16:03:24 +02:00
|
|
|
.generic-mini-button {
|
|
|
|
bottom: -28px;
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2018-09-04 11:35:50 +02:00
|
|
|
|
2018-09-18 18:27:14 +02:00
|
|
|
.save-button {
|
|
|
|
// needs to be important or will be overwritten locally
|
|
|
|
background-color: rgb(77, 243, 86) !important;
|
|
|
|
}
|
|
|
|
|
2018-09-18 15:51:57 +02:00
|
|
|
.text-success {
|
|
|
|
color: rgb(77, 243, 86);
|
|
|
|
}
|
|
|
|
|
2018-10-05 16:34:08 +02:00
|
|
|
// transform text to uppercase. Use on span, p, h, (...)
|
|
|
|
.upper {
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2018-09-18 18:27:14 +02:00
|
|
|
.red-warning-text {
|
|
|
|
color: red;
|
2018-10-05 16:34:08 +02:00
|
|
|
mat-icon {
|
|
|
|
color: red !important;
|
|
|
|
}
|
2018-09-18 18:27:14 +02:00
|
|
|
}
|
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.green-text {
|
|
|
|
// TODO better name/theming
|
|
|
|
color: #5a5;
|
2018-12-04 19:31:24 +01:00
|
|
|
}
|
|
|
|
|
2018-09-18 18:27:14 +02:00
|
|
|
.icon-text-distance {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2018-10-16 12:41:46 +02:00
|
|
|
.no-content {
|
|
|
|
text-align: center;
|
|
|
|
color: gray;
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
mat-card {
|
2019-01-11 18:55:09 +01:00
|
|
|
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37) !important;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
2018-07-31 15:46:55 +02:00
|
|
|
.os-card {
|
2019-01-09 08:31:13 +01:00
|
|
|
max-width: 770px;
|
|
|
|
margin-top: 20px !important;
|
2019-05-09 17:04:36 +02:00
|
|
|
margin-bottom: 20px !important;
|
2019-01-09 08:31:13 +01:00
|
|
|
margin-left: auto !important;
|
|
|
|
margin-right: auto !important;
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
.mat-select-arrow-wrapper {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.os-form-card {
|
2019-08-27 12:22:41 +02:00
|
|
|
max-width: 770px;
|
2019-01-09 08:31:13 +01:00
|
|
|
margin-top: 20px !important;
|
|
|
|
margin-left: auto !important;
|
|
|
|
margin-right: auto !important;
|
|
|
|
font-size: 16px;
|
2019-05-22 22:31:07 +02:00
|
|
|
padding: 27px;
|
2019-01-09 08:31:13 +01:00
|
|
|
|
|
|
|
.mat-form-field {
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-25 11:37:12 +01:00
|
|
|
.os-form-card-mobile {
|
2019-05-22 22:31:07 +02:00
|
|
|
margin-top: 20px !important;
|
|
|
|
margin-bottom: 20px !important;
|
|
|
|
|
2019-02-08 11:31:11 +01:00
|
|
|
.mat-form-field,
|
|
|
|
.mat-select {
|
2019-01-25 11:37:12 +01:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2019-03-01 14:28:49 +01:00
|
|
|
.projector-card .mat-form-field-infix {
|
2019-05-17 14:10:33 +02:00
|
|
|
width: 290px;
|
2019-03-01 14:28:49 +01:00
|
|
|
}
|
2019-01-25 11:37:12 +01:00
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
// Shared table definitions
|
2019-06-17 12:50:53 +02:00
|
|
|
// TODO: Might be deprecated since we now have Virtual Scrolling Tables
|
2019-01-09 08:31:13 +01:00
|
|
|
%os-table {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
/** size of the mat row */
|
|
|
|
mat-row {
|
2019-02-21 17:03:46 +01:00
|
|
|
position: relative;
|
2019-02-14 08:54:35 +01:00
|
|
|
min-height: 60px;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
mat-row.lg {
|
2019-02-14 08:54:35 +01:00
|
|
|
height: 110px;
|
|
|
|
min-height: 90px;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
mat-row:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: rgba(0, 0, 0, 0.025);
|
|
|
|
}
|
|
|
|
mat-row.selected {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: rgba(0, 0, 0, 0.055);
|
|
|
|
}
|
2018-07-31 15:46:55 +02:00
|
|
|
}
|
|
|
|
|
2018-10-22 16:44:18 +02:00
|
|
|
@keyframes fadeIn {
|
2019-01-11 18:55:09 +01:00
|
|
|
0% {
|
|
|
|
width: 0%;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
width: 100%;
|
|
|
|
margin-left: -100%;
|
|
|
|
}
|
2018-10-22 16:44:18 +02:00
|
|
|
}
|
|
|
|
|
2018-09-18 18:27:14 +02:00
|
|
|
//custom table header for search button, filtering and more. Used in ListViews
|
|
|
|
.custom-table-header {
|
|
|
|
width: 100%;
|
2019-08-02 10:02:30 +02:00
|
|
|
height: 64px;
|
|
|
|
line-height: 64px;
|
2018-09-18 18:27:14 +02:00
|
|
|
text-align: right;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
2018-10-22 16:44:18 +02:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
button {
|
|
|
|
border-radius: 0%;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
position: relative;
|
|
|
|
max-width: 400px;
|
|
|
|
z-index: 2;
|
|
|
|
padding-right: 5px;
|
|
|
|
margin-right: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
mat-icon {
|
|
|
|
vertical-align: text-bottom;
|
2019-01-29 15:20:00 +01:00
|
|
|
margin-right: 2px;
|
2018-10-22 16:44:18 +02:00
|
|
|
}
|
2018-09-18 18:27:14 +02:00
|
|
|
}
|
|
|
|
|
2018-09-11 16:38:23 +02:00
|
|
|
.os-listview-table {
|
2018-12-06 12:28:05 +01:00
|
|
|
@extend %os-table;
|
2018-09-11 16:38:23 +02:00
|
|
|
|
2019-01-26 20:37:49 +01:00
|
|
|
/* multi select column */
|
|
|
|
.mat-column-selector {
|
|
|
|
flex: 0 0 60px;
|
|
|
|
}
|
|
|
|
/* projector button column */
|
|
|
|
.mat-column-projector {
|
|
|
|
flex: 0 0 40px;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2018-09-11 16:38:23 +02:00
|
|
|
/** hide mat header row */
|
|
|
|
.mat-header-row {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-12-06 12:28:05 +01:00
|
|
|
}
|
2018-09-11 16:38:23 +02:00
|
|
|
|
2018-12-06 12:28:05 +01:00
|
|
|
.os-headed-listview-table {
|
|
|
|
@extend %os-table;
|
2018-09-11 16:38:23 +02:00
|
|
|
}
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
/* TODO: find a better way to get more vertical space in (empty/small) tables for maximize filter dialog */
|
|
|
|
mat-paginator {
|
|
|
|
min-height: 800px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* hide scrollbars caused by hidden filter dialog outside of the viewport */
|
|
|
|
.mat-drawer-content {
|
|
|
|
overflow-x: hidden !important;
|
|
|
|
}
|
|
|
|
|
2018-07-31 15:46:55 +02:00
|
|
|
.card-plus-distance {
|
|
|
|
margin-top: 40px;
|
2018-06-25 17:03:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/**title of an app page*/
|
|
|
|
.app-name {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**content of an app page*/
|
|
|
|
.app-content {
|
|
|
|
margin: 20px;
|
|
|
|
margin-top: 50px;
|
|
|
|
}
|
|
|
|
|
2019-03-04 18:28:21 +01:00
|
|
|
/**even distribution of elements in a row*/
|
|
|
|
.flex-spaced {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
2018-06-25 17:03:52 +02:00
|
|
|
/**use to push content to the right side*/
|
|
|
|
.spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2018-07-31 15:46:55 +02:00
|
|
|
|
2018-09-24 17:12:31 +02:00
|
|
|
mat-expansion-panel {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
2018-11-09 09:24:38 +01:00
|
|
|
|
2019-01-24 16:25:50 +01:00
|
|
|
/* This destroys the projector button in list views using extension panels. */
|
|
|
|
/*mat-panel-title mat-icon {
|
2018-11-09 09:24:38 +01:00
|
|
|
padding-right: 30px;
|
2019-01-24 16:25:50 +01:00
|
|
|
}*/
|
2018-11-16 16:09:15 +01:00
|
|
|
|
2018-11-05 17:40:32 +01:00
|
|
|
.hidden-cell {
|
|
|
|
flex: 0;
|
|
|
|
width: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2019-04-25 13:15:24 +02:00
|
|
|
.file-drop-zone-style {
|
|
|
|
border: 2px dotted #0782d0 !important;
|
2018-11-16 16:09:15 +01:00
|
|
|
height: 100px;
|
2019-04-25 13:15:24 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.file-drop-content-style {
|
|
|
|
height: 100px;
|
|
|
|
|
|
|
|
.ngx-file-drop__drop-zone-label {
|
|
|
|
color: #0782d0;
|
|
|
|
line-height: 100px;
|
|
|
|
}
|
2018-11-16 16:09:15 +01:00
|
|
|
}
|
2018-11-16 10:25:17 +01:00
|
|
|
|
|
|
|
.os-tree {
|
|
|
|
.node-content-wrapper {
|
|
|
|
border: 1px black;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
tree-loading-component {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-11-23 13:59:14 +01:00
|
|
|
|
|
|
|
.mat-chip,
|
|
|
|
.mat-basic-chip {
|
|
|
|
font-size: 12px;
|
|
|
|
min-height: 22px !important;
|
|
|
|
border-radius: 5px !important;
|
2019-06-04 10:05:23 +02:00
|
|
|
padding: 0px 8px !important;
|
|
|
|
margin: 0;
|
2019-02-14 08:54:35 +01:00
|
|
|
line-height: 2;
|
2019-06-04 10:05:23 +02:00
|
|
|
display: inline-flex;
|
2018-11-23 13:59:14 +01:00
|
|
|
}
|
|
|
|
|
2018-12-06 12:28:05 +01:00
|
|
|
// to display quantities. Use in span or div
|
|
|
|
.os-amount-chip {
|
|
|
|
border-radius: 50%;
|
2019-06-13 12:09:13 +02:00
|
|
|
min-width: 20px;
|
2018-12-06 12:28:05 +01:00
|
|
|
height: 20px;
|
|
|
|
line-height: 20px;
|
|
|
|
padding: 3px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2018-11-23 13:59:14 +01:00
|
|
|
.mat-chip:focus,
|
|
|
|
.mat-basic-chip:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
button.mat-menu-item.selected {
|
|
|
|
font-weight: bold !important;
|
|
|
|
}
|
|
|
|
|
2019-01-17 14:07:54 +01:00
|
|
|
.mat-menu-item .mat-icon {
|
|
|
|
margin-right: 8px !important;
|
|
|
|
}
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
/** helper classes for margin/padding */
|
2019-05-22 22:31:07 +02:00
|
|
|
.spacer-top-3 {
|
|
|
|
margin-top: 3px !important;
|
|
|
|
}
|
2019-05-21 16:00:37 +02:00
|
|
|
.spacer-top-5 {
|
|
|
|
margin-top: 5px !important;
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
.spacer-top-10 {
|
2019-01-17 14:07:54 +01:00
|
|
|
margin-top: 10px !important;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
.spacer-top-20 {
|
2019-01-17 14:07:54 +01:00
|
|
|
margin-top: 20px !important;
|
|
|
|
}
|
|
|
|
.spacer-bottom-10 {
|
|
|
|
margin-bottom: 10px !important;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
.spacer-bottom-20 {
|
2019-01-17 14:07:54 +01:00
|
|
|
margin-bottom: 20px !important;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
2019-03-21 18:40:41 +01:00
|
|
|
.spacer-bottom-40 {
|
|
|
|
margin-bottom: 40px !important;
|
|
|
|
}
|
2019-02-08 18:26:37 +01:00
|
|
|
.spacer-left-10 {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
2019-06-12 14:32:08 +02:00
|
|
|
.spacer-left-20 {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2019-03-08 10:38:22 +01:00
|
|
|
.spacer-left-50 {
|
|
|
|
margin-left: 50px !important;
|
2019-02-28 21:39:05 +01:00
|
|
|
}
|
2019-02-08 18:26:37 +01:00
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
.button24 {
|
|
|
|
background-color: white;
|
|
|
|
width: 24px !important;
|
|
|
|
height: 24px !important;
|
|
|
|
}
|
|
|
|
.icon24 {
|
|
|
|
font-size: 16px;
|
|
|
|
margin-top: -8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-mini-fab.large {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
|
|
|
|
|
|
|
.mat-icon {
|
2019-01-11 18:55:09 +01:00
|
|
|
font-size: 24px;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
line-height: 24px;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
}
|
2019-01-17 14:07:54 +01:00
|
|
|
.title {
|
2019-01-09 08:31:13 +01:00
|
|
|
padding-top: 20px;
|
|
|
|
padding-bottom: 20px;
|
|
|
|
}
|
|
|
|
.mat-radio-button {
|
|
|
|
padding-right: 20px;
|
|
|
|
}
|
|
|
|
|
2019-01-17 14:07:54 +01:00
|
|
|
.content-container {
|
2019-09-18 12:48:41 +02:00
|
|
|
margin: 0 15px;
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
2019-01-17 14:07:54 +01:00
|
|
|
}
|
|
|
|
|
2019-04-25 12:57:11 +02:00
|
|
|
/**
|
|
|
|
* cdk-virtual-scroll-viewport requires a hight, otherwise it would always be 0
|
|
|
|
* Depending in mobile-mode and desktop mode we need to subtract different values
|
|
|
|
* from 100vh
|
|
|
|
*/
|
|
|
|
.virtual-scroll-full-page {
|
2019-07-11 18:03:13 +02:00
|
|
|
height: calc(100vh - 64px);
|
2019-04-25 12:57:11 +02:00
|
|
|
}
|
|
|
|
|
2019-09-18 12:48:41 +02:00
|
|
|
.virtual-scroll-with-head-bar {
|
|
|
|
height: calc(100vh - 129px);
|
|
|
|
}
|
|
|
|
|
2019-07-12 13:09:07 +02:00
|
|
|
/** css hacks https://codepen.io/edge0703/pen/iHJuA */
|
|
|
|
.innerTable {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 150%;
|
2019-09-10 11:18:55 +02:00
|
|
|
width: -webkit-fill-available;
|
2019-07-12 13:09:07 +02:00
|
|
|
}
|
2019-06-14 11:18:54 +02:00
|
|
|
|
2019-07-19 14:35:24 +02:00
|
|
|
.ngrid-hide-head {
|
2019-06-14 11:18:54 +02:00
|
|
|
// For some reason, hiding the table header adds an empty meta bar.
|
|
|
|
.pbl-ngrid-container {
|
|
|
|
> div {
|
2019-07-19 14:35:24 +02:00
|
|
|
height: 0;
|
2019-06-14 11:18:54 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-17 14:07:54 +01:00
|
|
|
/** media queries */
|
2019-09-18 12:48:41 +02:00
|
|
|
@include desktop {
|
2019-01-17 14:07:54 +01:00
|
|
|
.content-container {
|
|
|
|
margin: 0 25px;
|
2019-09-18 12:48:41 +02:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
}
|
2019-01-17 14:07:54 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-09 08:31:13 +01:00
|
|
|
/** more helper classes **/
|
|
|
|
.center {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-02-28 21:39:05 +01:00
|
|
|
.pointer:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.pointer.selected {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2018-11-23 13:59:14 +01:00
|
|
|
/** Colors **/
|
|
|
|
.lightblue {
|
|
|
|
background-color: rgb(33, 150, 243) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.darkblue {
|
|
|
|
background-color: rgb(63, 81, 181) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.green,
|
|
|
|
.success {
|
|
|
|
background-color: rgb(76, 175, 80) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.red,
|
|
|
|
.error {
|
|
|
|
background-color: rgb(255, 82, 82) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.yellow,
|
|
|
|
.warning {
|
|
|
|
background-color: rgb(255, 193, 7) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bluegrey {
|
|
|
|
background-color: rgb(96, 125, 139) !important;
|
|
|
|
color: white !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.grey {
|
|
|
|
background-color: #e0e0e0 !important;
|
|
|
|
color: rgba(0, 0, 0, 0.87) !important;
|
|
|
|
}
|
2018-10-22 16:44:18 +02:00
|
|
|
|
2019-07-16 10:48:48 +02:00
|
|
|
.multi-line-chip {
|
2019-07-23 15:59:24 +02:00
|
|
|
white-space: pre-line;
|
2019-07-16 10:48:48 +02:00
|
|
|
}
|
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
/* TODO: move to site.component.scss-theme.scss (does not work currently) */
|
|
|
|
|
|
|
|
/* make the .user-menu expansion panel look like the nav-toolbar above */
|
|
|
|
.user-menu {
|
|
|
|
min-height: 48px;
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.mat-expansion-panel-header {
|
|
|
|
padding: 0 16px !important;
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.mat-expansion-panel-body {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.mat-drawer-inner-container {
|
|
|
|
scrollbar-width: none; /* hide scrollbars in Firefox */
|
|
|
|
-ms-overflow-style: -ms-autohiding-scrollbar; /* hide scrollbars in Edge until the scrollable area is hovered */
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.mat-drawer-inner-container::-webkit-scrollbar {
|
|
|
|
display: none !important; /* hide scrollbars in webkit browsers */
|
|
|
|
}
|
2019-01-09 08:31:13 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.import-table {
|
|
|
|
.table-container {
|
|
|
|
width: 100%;
|
|
|
|
overflow-x: scroll;
|
|
|
|
margin-top: 5px;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
overflow: scroll;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.mat-header-cell {
|
|
|
|
min-width: 100px;
|
|
|
|
flex: 2;
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
.mat-cell {
|
|
|
|
min-width: 100px;
|
|
|
|
flex: 2;
|
|
|
|
padding-top: 2px;
|
|
|
|
padding-right: 8px;
|
2019-01-09 08:31:13 +01:00
|
|
|
}
|
2019-01-11 18:55:09 +01:00
|
|
|
.selection {
|
|
|
|
min-width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.import-done {
|
|
|
|
background-color: #cfc;
|
|
|
|
}
|
|
|
|
.import-error {
|
|
|
|
background-color: #fcc;
|
|
|
|
}
|
|
|
|
|
|
|
|
.code {
|
|
|
|
padding-left: 1em;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.wrapper {
|
|
|
|
display: flex;
|
|
|
|
vertical-align: bottom;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.summary {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden-input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.newBadge {
|
|
|
|
margin-left: -3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.first-column {
|
|
|
|
flex: 1;
|
|
|
|
min-width: 0px;
|
|
|
|
}
|
2019-01-26 20:37:49 +01:00
|
|
|
|
2019-01-11 18:55:09 +01:00
|
|
|
.filter-imports {
|
|
|
|
max-width: 50%;
|
|
|
|
}
|
|
|
|
}
|
2019-01-25 16:48:49 +01:00
|
|
|
|
|
|
|
.table-view-list-title {
|
|
|
|
font-weight: 500;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2019-01-26 20:37:49 +01:00
|
|
|
|
2019-08-27 12:22:41 +02:00
|
|
|
.one-line {
|
2019-02-05 13:45:58 +01:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2019-08-27 12:22:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ellipsis-overflow {
|
|
|
|
@extend .one-line;
|
2019-02-14 08:54:35 +01:00
|
|
|
padding-right: 3px;
|
|
|
|
margin-right: 3px;
|
|
|
|
}
|
|
|
|
|
2019-08-19 15:10:59 +02:00
|
|
|
.nowrap {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2019-02-14 08:54:35 +01:00
|
|
|
.white {
|
|
|
|
color: white;
|
2019-02-05 13:45:58 +01:00
|
|
|
}
|
2019-02-21 17:03:46 +01:00
|
|
|
|
2019-02-28 21:39:05 +01:00
|
|
|
.queue {
|
|
|
|
.mat-expansion-panel-body {
|
|
|
|
padding: 0 !important;
|
|
|
|
}
|
|
|
|
}
|
2019-08-28 14:53:05 +02:00
|
|
|
|
|
|
|
// custom horrizontal scroll-bar
|
|
|
|
|
|
|
|
.h-scroller {
|
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
scrollbar-width: 5px;
|
|
|
|
scrollbar-color: #666666;
|
|
|
|
}
|
|
|
|
.h-scroller::-webkit-scrollbar {
|
|
|
|
width: 5px;
|
|
|
|
height: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-scroller::-webkit-scrollbar-thumb {
|
|
|
|
background: #666666;
|
|
|
|
height: 5px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-scroller::-webkit-scrollbar-corner {
|
|
|
|
display: none;
|
|
|
|
height: 0px;
|
|
|
|
width: 0px;
|
|
|
|
}
|