web-remote/src/styles.scss

137 lines
2.1 KiB
SCSS
Raw Normal View History

2019-10-08 05:43:49 +00:00
/* You can add global styles to this file, and also import other style files */
2023-03-01 03:19:16 +00:00
@use '@angular/material' as mat;
2022-12-21 16:27:47 +00:00
@import '@angular/material/theming';
2019-10-08 05:43:49 +00:00
2023-03-01 03:19:16 +00:00
@include mat.core();
$olp-primary: mat.define-palette(mat.$indigo-palette, 500);
$olp-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
// The "warn" palette is optional and defaults to red if not specified.
$olp-warn: mat.define-palette(mat.$red-palette);
$olp-theme: mat.define-light-theme((
color: (
primary: $olp-primary,
accent: $olp-accent,
warn: $olp-warn,
),
density: 0,
));
// Including only used components
@include mat.all-component-themes($olp-theme);
2019-10-08 05:43:49 +00:00
* {
2019-11-07 18:02:26 +00:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
font: 500 20px/32px Roboto, "Helvetica Neue", sans-serif;
}
2020-04-09 06:49:56 +00:00
html,
body {
2019-11-07 18:02:26 +00:00
margin: 0;
padding: 0;
2019-10-08 05:43:49 +00:00
}
2020-04-09 06:58:21 +00:00
app-root {
display: flex;
flex-direction: column;
min-height: 100vh;
}
2019-10-08 05:43:49 +00:00
mat-sidenav-layout {
2020-04-09 06:49:56 +00:00
background: rgba(0, 0, 0, 0.03);
2019-10-08 05:43:49 +00:00
}
2019-11-07 18:02:26 +00:00
2019-10-08 05:43:49 +00:00
mat-sidenav {
2019-11-07 18:02:26 +00:00
width: 12rem;
}
2022-12-21 16:27:47 +00:00
.mat-mdc-card {
2019-11-07 18:02:26 +00:00
margin-bottom: 1rem;
}
2022-12-21 16:27:47 +00:00
.mat-mdc-card.service-item,
.mat-mdc-card.slide {
2019-11-07 18:02:26 +00:00
cursor: pointer;
2019-10-08 05:43:49 +00:00
}
.displayButton .active {
2019-11-07 18:02:26 +00:00
background: 'teal';
}
.page-title {
margin-left: 1rem;
2019-10-08 05:43:49 +00:00
}
.content {
2019-11-07 18:02:26 +00:00
margin: 1rem;
}
footer {
position: fixed;
bottom: 0;
left: 0;
right: 0;
2019-10-08 05:43:49 +00:00
}
2019-11-07 18:02:26 +00:00
.chordline {
2020-04-09 06:49:56 +00:00
line-height: 1.8;
}
.chordline1 {
line-height: 1.0
}
.chordline span.chord span {
position: relative;
}
.chordline span.chord span strong {
position: absolute;
top: -2.1rem;
left: 0;
font-size: 30pt;
font-weight: normal;
line-height: normal;
color: yellow;
}
.preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: white;
color: black;
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.no-select {
user-select: none;
}
2022-12-21 16:27:47 +00:00
.mat-mdc-tooltip {
font-size: 1rem;
}
footer {
z-index: 1;
}
2023-03-01 03:19:16 +00:00
// This rule is to avoid the left menu scrolling with the page itself.
.mat-drawer.mat-sidenav {
position: fixed;
padding-top: $mat-toolbar-height-desktop;
@media ($mat-xsmall) {
padding-top: $mat-toolbar-height-mobile;
}
}