2018-07-26 16:40:34 +02:00
|
|
|
@import '~@angular/material/theming';
|
|
|
|
@include mat-core();
|
|
|
|
|
|
|
|
/** Import brand theme and (new) component themes */
|
2018-11-05 17:40:32 +01:00
|
|
|
@import './assets/styles/openslides-theme.scss';
|
2018-07-26 16:40:34 +02:00
|
|
|
@import './app/site/site.component.scss-theme';
|
2018-10-11 13:05:57 +02:00
|
|
|
@import '../node_modules/roboto-fontface/css/roboto/roboto-fontface.css';
|
2018-10-11 15:21:30 +02:00
|
|
|
@import '../node_modules/roboto-fontface/css/roboto-condensed/roboto-condensed-fontface.css';
|
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);
|
2018-07-26 16:40:34 +02:00
|
|
|
/** More components are added here */
|
|
|
|
}
|
|
|
|
|
|
|
|
@include angular-material-theme($openslides-theme);
|
|
|
|
@include openslides-components-theme($openslides-theme);
|
2018-10-11 14:03:44 +02:00
|
|
|
|
2018-11-16 10:25:17 +01:00
|
|
|
@import '~angular-tree-component/dist/angular-tree-component.css';
|
|
|
|
|
2018-07-26 16:40:34 +02:00
|
|
|
* {
|
2018-10-11 13:05:57 +02:00
|
|
|
font-family: Roboto, Arial, Helvetica, sans-serif;
|
2018-07-26 16:40:34 +02:00
|
|
|
}
|
2018-10-11 14:03:44 +02:00
|
|
|
mat-icon {
|
|
|
|
font-family: MaterialIcons-Regular;
|
|
|
|
}
|
2018-06-25 17:03:52 +02:00
|
|
|
|
2018-10-11 15:21:30 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
2018-11-09 09:24:38 +01:00
|
|
|
h3 {
|
2018-10-11 15:21:30 +02:00
|
|
|
font-family: Roboto-condensed, Arial, Helvetica, sans-serif;
|
|
|
|
}
|
2018-11-09 09:24:38 +01:00
|
|
|
h4 {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 12px;
|
|
|
|
color: rgba(0, 0, 0, 0.54);
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2018-10-11 15:21:30 +02:00
|
|
|
|
2018-06-25 17:03:52 +02:00
|
|
|
body {
|
2018-07-31 15:46:55 +02:00
|
|
|
// background: #e8eaed;
|
2018-06-25 17:03:52 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2018-11-23 13:59:14 +01:00
|
|
|
.small {
|
|
|
|
font-size: 90%;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.icon-text-distance {
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
|
2018-10-16 12:41:46 +02:00
|
|
|
.no-content {
|
|
|
|
text-align: center;
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
2018-07-31 15:46:55 +02:00
|
|
|
.os-card {
|
|
|
|
max-width: 90%;
|
|
|
|
margin-top: 10px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
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%;
|
|
|
|
height: 60px;
|
|
|
|
line-height: 60px;
|
|
|
|
text-align: right;
|
|
|
|
background: white;
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
|
|
|
}
|
|
|
|
|
2018-09-11 16:38:23 +02:00
|
|
|
.os-listview-table {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
/** hide mat header row */
|
|
|
|
.mat-header-row {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** size of the mat row */
|
|
|
|
mat-row {
|
|
|
|
height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
mat-row:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: rgba(0, 0, 0, 0.025);
|
|
|
|
}
|
2018-11-05 17:40:32 +01:00
|
|
|
mat-row.selected {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: rgba(0, 0, 0, 0.055);
|
|
|
|
}
|
2018-11-23 13:59:14 +01:00
|
|
|
mat-row.lg {
|
|
|
|
height: 90px;
|
|
|
|
}
|
2018-09-11 16:38:23 +02:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**use to push content to the right side*/
|
|
|
|
.spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2018-07-31 15:46:55 +02:00
|
|
|
|
|
|
|
/** helper classes for animation */
|
|
|
|
.on-transition-fade {
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2018-09-04 11:35:50 +02:00
|
|
|
|
|
|
|
footer {
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
bottom: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2018-09-24 17:12:31 +02:00
|
|
|
|
|
|
|
mat-expansion-panel {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
2018-11-09 09:24:38 +01:00
|
|
|
|
|
|
|
mat-panel-title mat-icon {
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2018-11-16 16:09:15 +01:00
|
|
|
|
2018-11-05 17:40:32 +01:00
|
|
|
.hidden-cell {
|
|
|
|
flex: 0;
|
|
|
|
width: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.checkbox-cell {
|
|
|
|
flex: 1;
|
|
|
|
max-width: 30px;
|
|
|
|
}
|
|
|
|
|
2018-11-16 16:09:15 +01:00
|
|
|
// ngx-file-drop requires the custom style in the global css file
|
|
|
|
.file-drop-style {
|
|
|
|
margin: auto;
|
|
|
|
height: 100px;
|
|
|
|
border: 2px dotted #0782d0;
|
|
|
|
}
|
2018-11-16 10:25:17 +01:00
|
|
|
|
|
|
|
.os-tree {
|
|
|
|
.node-content-wrapper {
|
|
|
|
background-color: aliceblue;
|
|
|
|
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;
|
|
|
|
padding: 4px 8px !important;
|
|
|
|
margin: 8px 8px 8px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mat-chip:focus,
|
|
|
|
.mat-basic-chip:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
button.mat-menu-item.selected {
|
|
|
|
font-weight: bold !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/** 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;
|
|
|
|
}
|