You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

182 lines
3.0 KiB

4 years ago
/* You can add global styles to this file, and also import other style files */
@import './styles/bootstrap';
@import './styles/table';
4 years ago
@import '~angular-material-css-vars/src/lib/main';
4 years ago
@import '~svgmap/dist/svgMap';
4 years ago
$mat-css-dark-theme-selector: '.is-dark-theme';
$mat-css-light-theme-selector: '.is-light-theme';
@include init-material-css-vars() {
// If your app has any theme mixins, call them here.
// $mat-css-theme gets set to an appropriate value before this content is called.
// @include your-custom-component-theme($mat-css-theme);
}
:root {
--dark-background: rgb(39, 39, 39);
--light-background: rgb(255, 255, 255);
}
body {
font-family: var(--font-family-sans-serif);
margin: 0;
margin-bottom: 5rem;
min-height: 100%;
4 years ago
a {
color: var(--dark-primary-text);
&:hover {
color: unset;
text-decoration: none;
}
}
.blog {
a {
color: rgba(var(--palette-primary-500), 1);
font-weight: 500;
&:hover {
text-decoration: underline;
}
}
4 years ago
}
&.is-dark-theme {
background: var(--dark-background);
color: rgba(var(--light-primary-text));
a {
color: var(--light-primary-text);
}
hr {
border-top-color: rgba(var(--light-dividers));
4 years ago
}
ngx-skeleton-loader {
line-height: 0;
outline: 0;
.loader {
background-color: #323232;
outline: 0;
}
}
.gf-table {
@include gf-table(true);
}
.mat-card {
background: var(--dark-background);
&:not([class*='mat-elevation-z']) {
border-color: rgba(var(--light-dividers));
box-shadow: none;
}
}
.mat-dialog-container {
background: var(--dark-background);
4 years ago
}
.mat-fab,
.mat-flat-button {
&.mat-primary {
color: rgba(var(--dark-primary-text)) !important;
}
}
.svgMap-tooltip {
background: var(--dark-background);
.svgMap-tooltip-content table td span {
color: rgba(var(--light-primary-text));
}
}
4 years ago
}
}
button:focus {
outline: 0;
}
hr {
border-top: 1px solid rgba(var(--dark-dividers));
4 years ago
}
ion-icon {
pointer-events: none;
}
ngx-skeleton-loader {
display: block;
.loader {
margin: 0 !important;
}
}
[hidden] {
display: flex !important;
visibility: hidden;
}
.cdk-overlay-container {
.cdk-overlay-pane {
max-width: 95vw !important;
}
}
.cursor-pointer {
cursor: pointer;
}
.gf-table {
@include gf-table;
}
4 years ago
.mat-fab,
.mat-flat-button {
&.mat-primary {
color: rgba(var(--light-primary-text)) !important;
}
}
.mat-card {
&:not([class*='mat-elevation-z']) {
border: 1px solid rgba(var(--dark-dividers));
box-shadow: none;
}
4 years ago
}
.mat-card-header-text {
margin: 0 !important;
4 years ago
}
.no-min-width {
min-width: unset !important;
}
.svgMap-tooltip {
border-bottom: none;
.svgMap-tooltip-pointer {
display: none;
}
}
.text-decoration-underline {
text-decoration: underline !important;
}
.with-info-message {
height: calc(100vh - 5rem - 3.5rem) !important;
}