Files
maptology/web/angular/src/styles.scss
T
handte 1cbf867cf3
lbs-gitea/maptology/master This commit looks good
Add responsive tables for management views.
2018-03-01 17:40:49 +01:00

152 lines
2.3 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: 90px;
}
.detail-value {
flex: 1;
font-size: 14px;
word-break:break-all;
}
// add more space between form fields
mat-form-field {
margin-bottom:10px;
}
.notice-card {
position:relative;
padding: 10px;
width: 100%;
height: 100%;
}
.notice-card-element {
width: 100%;
min-height: 380px;
box-sizing: border-box;
}
.system-card,.register-card {
flex:1;
min-height:230px;
max-width:500px;
margin: 10px;
}
// basic grid configuration
.grid-layout {
margin-left:0px;
margin-right:0px;
margin-top:10px;
margin-bottom:10px;
}
.user-card {
flex:1;
max-width:500px;
min-height:280px;
margin:10px;
}
// fab position on marker map
.fab {
position:absolute;
bottom:20px;
top:auto;
left:20px;
right:auto;
z-index: 10000000;
}
// table stuff
.action-cell {
text-align: center;
}