221 lines
5.0 KiB
SCSS
221 lines
5.0 KiB
SCSS
// Custom Theming for Angular Material
|
|
// For more information: https://material.angular.io/guide/theming
|
|
@use '@angular/material' as mat;
|
|
@use 'm3-theme' as m3;
|
|
|
|
@include mat.elevation-classes();
|
|
@include mat.app-background();
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,200..700,0..1,-50..200');
|
|
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Montserrat';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/montserrat-v26-latin-regular.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Montserrat';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/montserrat-v26-latin-italic.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Open Sans';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/open-sans-v40-latin-regular.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Open Sans';
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/open-sans-v40-latin-italic.woff2') format('woff2');
|
|
}
|
|
@font-face {
|
|
font-display: swap;
|
|
font-family: 'Material Icons';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url('assets/fonts/material-icons-v142-latin-regular.woff2')
|
|
format('woff2');
|
|
}
|
|
.material-icons {
|
|
font-family: 'Material Icons';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
direction: ltr;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
.material-symbols-outlined {
|
|
font-family: 'Material Symbols Outlined';
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
letter-spacing: normal;
|
|
text-transform: none;
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
word-wrap: normal;
|
|
direction: ltr;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
html {
|
|
padding: env(safe-area-inset-top) env(safe-area-inset-right)
|
|
env(safe-area-inset-bottom) env(safe-area-inset-left);
|
|
height: 100%;
|
|
background: #ffffff;
|
|
@include mat.all-component-themes(m3.$light-theme);
|
|
@include mat.typography-hierarchy(m3.$light-theme);
|
|
}
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
background: #ffffff;
|
|
color: #101a3d;
|
|
font-family: 'Open Sans', Arial, sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
:root {
|
|
--sg-background: #ffffff;
|
|
--sg-surface: #ffffff;
|
|
--sg-surface-muted: #f7f9ff;
|
|
--sg-surface-soft: #f3f6fd;
|
|
--sg-border: #dde5f2;
|
|
--sg-border-strong: #c7d3e8;
|
|
--sg-text: #101a3d;
|
|
--sg-text-muted: #64708f;
|
|
--sg-text-soft: #8a95b3;
|
|
--sg-primary: #0b1020;
|
|
--sg-primary-strong: #030712;
|
|
--sg-primary-soft: #f1f3f7;
|
|
--sg-success: #12864e;
|
|
--sg-success-soft: #e9f9f0;
|
|
--sg-warning-soft: #f4ecff;
|
|
--sg-warning: #6c3bd2;
|
|
--sg-shadow-sm:
|
|
0 1px 2px rgba(16, 26, 61, 0.04), 0 1px 8px rgba(16, 26, 61, 0.04);
|
|
--sg-shadow-md: 0 12px 32px rgba(16, 26, 61, 0.08);
|
|
--sg-sidebar-width: 280px;
|
|
--sg-radius-sm: 8px;
|
|
--sg-radius-md: 12px;
|
|
--sg-radius-lg: 18px;
|
|
|
|
--sg-blue-highlight: #3d7cff;
|
|
--sg-default-bold-weight: 900;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a {
|
|
color: var(--sg-primary);
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
.mat-mdc-table,
|
|
.mat-mdc-paginator,
|
|
.mat-mdc-tab-link,
|
|
.mat-mdc-list-item,
|
|
.mat-mdc-button,
|
|
.mat-mdc-raised-button,
|
|
.mat-mdc-outlined-button,
|
|
.mat-mdc-unelevated-button {
|
|
font-family: 'Open Sans', Arial, sans-serif;
|
|
}
|
|
|
|
.mat-mdc-list-item,
|
|
.mat-mdc-tab-link,
|
|
.mat-mdc-button,
|
|
.mat-mdc-outlined-button,
|
|
.mat-mdc-icon-button {
|
|
font-size: 14px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: var(--sg-text);
|
|
font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.primary-button {
|
|
@include mat.button-color(m3.$light-theme, $color-variant: primary);
|
|
}
|
|
.secondary-button {
|
|
@include mat.button-color(m3.$light-theme, $color-variant: secondary);
|
|
}
|
|
.tertiary-button {
|
|
@include mat.button-color(m3.$light-theme, $color-variant: tertiary);
|
|
}
|
|
.primary-icon {
|
|
@include mat.icon-color(m3.$light-theme, $color-variant: primary);
|
|
}
|
|
.secondary-icon {
|
|
@include mat.icon-color(m3.$light-theme, $color-variant: secondary);
|
|
}
|
|
.tertiary-icon {
|
|
@include mat.icon-color(m3.$light-theme, $color-variant: tertiary);
|
|
}
|
|
|
|
.menu button {
|
|
--mat-icon-button-disabled-icon-color: rgba(255, 255, 255, 0.35);
|
|
--mat-icon-button-icon-color: #ffffff;
|
|
}
|
|
|
|
@keyframes sk-shimmer {
|
|
0% {
|
|
background-position: -600px 0;
|
|
}
|
|
100% {
|
|
background-position: 600px 0;
|
|
}
|
|
}
|
|
.cdk-overlay-pane {
|
|
color: var(--sg-text);
|
|
}
|
|
|
|
.cdk-overlay-pane .mat-mdc-option {
|
|
padding: 0 18px;
|
|
font-size: 13px;
|
|
background: var(--sg-surface-muted);
|
|
border-bottom: 1px solid var(--sg-border);
|
|
}
|
|
|
|
.cdk-overlay-pane .mat-mdc-option:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.cdk-overlay-pane .mat-mdc-option mat-icon {
|
|
margin-right: 12px;
|
|
color: var(--sg-text-soft);
|
|
}
|
|
|
|
.cdk-overlay-pane .mat-mdc-option:hover,
|
|
.cdk-overlay-pane .mat-mdc-option.mdc-list-item--focused {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
} |