UIAngular/Client/src/styles.css

79 lines
1.6 KiB
CSS

/* You can add global styles to this file, and also import other style files */
@import "~@angular/material/prebuilt-themes/indigo-pink.css";
*{
padding: 0px;
margin: 0px;
box-sizing: border-box;
}
html, body{
height: 100%;
}
body {
height: calc(100% - 50px); /*Less 50 px for height of static header*/
}
.red{
color: red;
}
.bg-red {
background-color: red;
}
@media print {
header,footer {
display: none;
}
.print-hide {
display: none;
}
.print-hide-children > * {
display: none;
}
}
/*MATERIAL FONT FOR ICONS*/
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(./assets/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
src: local('Material Icons'),
local('MaterialIcons-Regular'),
url(./assets/fonts/MaterialIcons-Regular.woff2) format('woff2'),
url(./assets/fonts/MaterialIcons-Regular.woff) format('woff'),
url(./assets/fonts/MaterialIcons-Regular.ttf) format('truetype');
}
.material-icon {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px; /* Preferred icon size */
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
}
/* END MATERIAL FONT ICONS*/