282 lines
6.4 KiB
SCSS
282 lines
6.4 KiB
SCSS
// Custom Theming for Angular Material
|
|
// For more information: https://material.angular.io/guide/theming
|
|
@use '@angular/material' as mat;
|
|
// Plus imports for other components in your app.
|
|
|
|
// Include the common styles for Angular Material. We include this here so that you only
|
|
// have to load a single css file for Angular Material in your app.
|
|
// Be sure that you only ever include this mixin once!
|
|
// TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
|
|
// The following line adds:
|
|
// 1. Default typography styles for all components
|
|
// 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
|
|
// If you specify typography styles for the components you use elsewhere, you should delete this line.
|
|
// If you don't need the default component typographies but still want the hierarchy styles,
|
|
// you can delete this line and instead use:
|
|
// `@include mat.legacy-typography-hierarchy(mat.define-typography-config());`
|
|
@include mat.all-component-typographies();
|
|
@include mat.core();
|
|
|
|
// Define the palettes for your theme using the Material Design palettes available in palette.scss
|
|
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
|
|
// hue. Available color palettes: https://material.io/design/color/
|
|
$candy-app-primary: mat.m2-define-palette(mat.$m2-blue-palette);
|
|
$candy-app-accent: mat.m2-define-palette(mat.$m2-blue-palette, A200, A100, A400);
|
|
|
|
// The warn palette is optional (defaults to red).
|
|
$candy-app-warn: mat.m2-define-palette(mat.$m2-red-palette);
|
|
|
|
// Create the theme object. A theme consists of configurations for individual
|
|
// theming systems such as "color" or "typography".
|
|
$candy-app-theme: mat.m2-define-light-theme((
|
|
color: (
|
|
primary: $candy-app-primary,
|
|
accent: $candy-app-accent,
|
|
warn: $candy-app-warn,
|
|
),
|
|
//typography: mat.define-typography-config(),
|
|
density: -1,
|
|
));
|
|
|
|
// Include theme styles for core and each component used in your app.
|
|
// Alternatively, you can import and @include the theme mixins for each component
|
|
// that you are using.
|
|
@include mat.all-component-themes($candy-app-theme);
|
|
|
|
|
|
|
|
/*
|
|
blue
|
|
#CBD7F4
|
|
#B6C1DB
|
|
#96A0B5
|
|
#636A78
|
|
#2C2F36
|
|
|
|
grey
|
|
0123456789abcdef
|
|
^ ^ ^ ^ ^^
|
|
#000
|
|
#444
|
|
#888
|
|
#bbb
|
|
#eee
|
|
#fff
|
|
*/
|
|
$background-color: #CBD7F4;
|
|
|
|
.mat-mdc-option span.mdc-list-item__primary-text,
|
|
.mdc-list-item__primary-text {
|
|
font-size: 1rem;
|
|
}
|
|
mat-form-field .mat-mdc-option span.mdc-list-item__primary-text{
|
|
--mdc-typography-subtitle1-font-size: 14px;
|
|
}
|
|
|
|
*, body {
|
|
font-family: Arial;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
margin-block-start: 0.67rem;
|
|
margin-block-end: 0.67rem;
|
|
}
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
margin-block-start: 0.83rem;
|
|
margin-block-end: 0.83rem;
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.icon-inline {
|
|
width: 1em;
|
|
height: 1em;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
button[disabled] .icon-inline {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
button.save-button {
|
|
background-color: #ff9900;
|
|
}
|
|
button.save-button:disabled {
|
|
background-color: inherit;
|
|
}
|
|
|
|
.icon-tiny {
|
|
width: 1em;
|
|
height: 1em;
|
|
}
|
|
|
|
.icon-small {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
}
|
|
|
|
.icon-middle {
|
|
width: 2.5em;
|
|
height: 2.5em;
|
|
margin: 0.2em;
|
|
}
|
|
|
|
.icon-large {
|
|
width: 8em;
|
|
height: 8em;
|
|
margin: 1em;
|
|
}
|
|
.icon-huge {
|
|
width: 12em;
|
|
height: 12em;
|
|
margin: 1em;
|
|
}
|
|
|
|
.icon-select {
|
|
width: 1.5em;
|
|
height: 1.5em;
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
a ,a:visited {
|
|
color: blue;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.external-link:after {
|
|
background: transparent url('/assets/img/external-link.svg') no-repeat center bottom;
|
|
background-size: 0.8em;
|
|
display: inline-block;
|
|
width: 1.1em;
|
|
height: 1em;
|
|
content: "";
|
|
}
|
|
|
|
.inline {
|
|
display: inline-block;
|
|
}
|
|
|
|
.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.top-right {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
mat-form-field.pdb-form-full-width {
|
|
width: 100%;
|
|
}
|
|
mat-form-field.pdb-form-number-small {
|
|
width: 4.5em;
|
|
}
|
|
mat-form-field.pdb-form-number {
|
|
width: 5.5em;
|
|
}
|
|
mat-form-field.pdb-form-number-long {
|
|
width: 7em;
|
|
}
|
|
mat-form-field.pdb-form-mid {
|
|
width: 9.5em;
|
|
}
|
|
mat-form-field.pdb-form-wide {
|
|
width: 10em;
|
|
}
|
|
pdb-visualization-page .mat-mdc-form-field-subscript-wrapper,
|
|
app-add-text-dialog .mat-mdc-form-field-subscript-wrapper {
|
|
display: none;/**/
|
|
}
|
|
|
|
.errorPanel {
|
|
padding: 1ex;
|
|
background-color: map-get(mat.$m2-red-palette, 100);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.super-badge {
|
|
position: absolute;
|
|
font-size: 0.8em;
|
|
color: #0051c2;
|
|
top: 0.2em;
|
|
line-height: 1em;
|
|
}
|
|
|
|
a.external-link:after {
|
|
content: "";
|
|
display: inline-block;
|
|
background: url("assets/img/external-link.svg") no-repeat;
|
|
background-size: 1em;
|
|
width: 1em;
|
|
height: 1em;
|
|
margin-left: 0.3em;
|
|
vertical-align: text-top;
|
|
}
|
|
|
|
|
|
/* styles for markdown*/
|
|
markdown blockquote {
|
|
border-left: 3px grey solid;
|
|
display: block;
|
|
margin: 1em 0 1em 2em;
|
|
padding: 0.5em 0 0.5em 0.5em;
|
|
}
|
|
|
|
markdown table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
markdown table th, markdown table td {
|
|
border: solid 1px black;
|
|
padding: 0.4em;
|
|
}
|
|
markdown thead {
|
|
border-bottom: 2px black solid;
|
|
}
|
|
markdown tfoot {
|
|
border-top: 2px black solid;
|
|
}
|
|
|
|
markdown pre {
|
|
font-family: monospace;
|
|
}
|
|
|
|
|
|
.plot-details-plotType {
|
|
background-image: url(/assets/img/pointTypes.png);
|
|
width: 9px;
|
|
height: 7px;
|
|
transform: scale(1.5);
|
|
}
|
|
|
|
.plot-details-plotType_0 {background-position-x: 0px;}
|
|
.plot-details-plotType_1 {background-position-x: -10px;}
|
|
.plot-details-plotType_2 {background-position-x: -20px;}
|
|
.plot-details-plotType_3 {background-position-x: -30px;}
|
|
.plot-details-plotType_4 {background-position-x: -40px;}
|
|
.plot-details-plotType_5 {background-position-x: -50px;}
|
|
.plot-details-plotType_6 {background-position-x: -60px;}
|
|
.plot-details-plotType_7 {background-position-x: -70px;}
|
|
.plot-details-plotType_8 {background-position-x: -80px;}
|
|
.plot-details-plotType_9 {background-position-x: -90px;}
|
|
.plot-details-plotType_10 {background-position-x:-100px;}
|
|
.plot-details-plotType_11 {background-position-x:-110px;}
|
|
.plot-details-plotType_12 {background-position-x:-120px;}
|
|
|
|
.plot-details-plotType_0051c2 {background-position-y: 0px;}
|
|
.plot-details-plotType_bf8300 {background-position-y: -8px;}
|
|
.plot-details-plotType_9400d3 {background-position-y: -16px;}
|
|
.plot-details-plotType_00c254 {background-position-y: -24px;}
|
|
.plot-details-plotType_e6e600 {background-position-y: -32px;}
|
|
.plot-details-plotType_e51e10 {background-position-y: -40px;}
|
|
.plot-details-plotType_57a1c2 {background-position-y: -48px;}
|
|
.plot-details-plotType_bd36c2 {background-position-y: -56px;}
|