103 lines
1.6 KiB
SCSS
103 lines
1.6 KiB
SCSS
// Import theming functions
|
|
@import '~@angular/material/theming';
|
|
@import 'theme.scss';
|
|
@import 'fonts.scss';
|
|
@import '~leaflet/dist/leaflet.css';
|
|
|
|
// fix bug in paginator rendering on MS Edge
|
|
.mat-paginator-container .mat-icon-button {
|
|
height: auto !important;
|
|
}
|
|
|
|
// debug view hierarch
|
|
.debug {
|
|
border-style: dashed;
|
|
border-width: 2px;
|
|
border-color: black;
|
|
}
|
|
|
|
|
|
// remove spacing
|
|
html {
|
|
margin:0px;
|
|
padding:0px;
|
|
}
|
|
|
|
// body must be 100vh for fxFlexFill to work
|
|
body {
|
|
height:100vh;
|
|
margin:0px;
|
|
padding:0px;
|
|
font-family: Roboto, sans-serif
|
|
}
|
|
|
|
.app-bar {
|
|
@include mat-elevation(4);
|
|
z-index: 10;
|
|
position:relative;
|
|
min-height:56px;
|
|
}
|
|
|
|
// mat icon is too large for toolbar buttons
|
|
.icon-button {
|
|
font-size: 18px;
|
|
height: auto !important;
|
|
vertical-align: text-bottom !important;
|
|
}
|
|
|
|
// removes the visited, etc. colors of links
|
|
.link-white {
|
|
color: white;
|
|
}
|
|
|
|
.link-primary {
|
|
color: mat-color($app-primary);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.spinner-small {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
|
|
|
|
// applies a match parent size styling
|
|
.match-parent {
|
|
flex: 1 1 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
min-height: 100%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.snackbar-accent {
|
|
background-color: mat-color($app-accent);
|
|
color: black;
|
|
}
|
|
|
|
.snackbar-primary {
|
|
background-color: mat-color($app-primary);
|
|
color: white;
|
|
}
|
|
|
|
.detail-row {
|
|
flex: 1;
|
|
display: flex;
|
|
}
|
|
|
|
.detail-label {
|
|
@extend .mat-caption;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.detail-value {
|
|
flex: 1;
|
|
}
|
|
|
|
// add more space between form fields
|
|
mat-form-field {
|
|
margin-bottom:10px;
|
|
}
|
|
|
|
|