195 lines
3.4 KiB
CSS
195 lines
3.4 KiB
CSS
@font-face {
|
|
font-family: 'KhmerOS';
|
|
src: url('../../fonts/KhmerOS.ttf');
|
|
}
|
|
@font-face {
|
|
font-family: Hanuman;
|
|
src: url('../../fonts/Hanuman.ttf');
|
|
}
|
|
@font-face {
|
|
font-family: 'KhmerOS_muollight';
|
|
src: url('../../fonts/KhmerOS_muollight.ttf');
|
|
}
|
|
@font-face {
|
|
font-family: 'Tacteng';
|
|
src: url('../../fonts/Tacteng.ttf');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'SourceSerifPro-Regular';
|
|
src: url('../../fonts/SourceSerifPro-Regular.ttf');
|
|
}
|
|
@font-face {
|
|
font-family: 'SourceSerifPro-Bold';
|
|
src: url('../../fonts/SourceSerifPro-Bold.ttf');
|
|
}
|
|
@font-face {
|
|
font-family: 'Dactylog';
|
|
src: url('../../fonts/DACTYLOG.TTF');
|
|
}
|
|
.KhmerOS {
|
|
font-family: 'SourceSerifPro-Regular', 'KhmerOS', 'serif';
|
|
}
|
|
.KhmerMoulLight {
|
|
font-family: 'SourceSerifPro-Regular', 'KhmerOS_muollight', 'serif';
|
|
}
|
|
.tacteng {
|
|
font-family: Tacteng !important;
|
|
}
|
|
.sourceserifpro-bold {
|
|
font-family: 'SourceSerifPro-Bold', 'serif';
|
|
}
|
|
|
|
page[size="A4"] {
|
|
background: white;
|
|
/*width: 21cm;*/
|
|
width: 297mm;
|
|
display: block;
|
|
margin: 10px auto;
|
|
box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
|
|
padding: 1mm;
|
|
font-family: 'SourceSerifPro-Regular', 'Noto Sans Khmer', 'serif';
|
|
font-size: 8pt;
|
|
line-height: 10px;
|
|
page-break-after: always;
|
|
}
|
|
|
|
/*
|
|
page[size="A4"], th, td {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
page[size="A4"] table {
|
|
border-spacing: 2px !important;
|
|
border-collapse: separate !important;
|
|
}*/
|
|
|
|
table th, table td {
|
|
text-align: left;
|
|
padding-left: 5px !important;
|
|
padding-right: 5px !important;
|
|
}
|
|
table td {
|
|
font-weight: normal;
|
|
}
|
|
|
|
table.patient-info, table.department-sample-info {
|
|
border: 1px solid #7a7a7a;
|
|
line-height: 18px;
|
|
padding: 3px;
|
|
}
|
|
table.patient-info td, table.patient-info th {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
.text-left {
|
|
text-align: left;
|
|
}
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
.text-top {
|
|
vertical-align: top;
|
|
}
|
|
.text-bottom {
|
|
vertical-align: bottom;
|
|
}
|
|
.text-middle {
|
|
vertical-align: middle;
|
|
}
|
|
.text-bold {
|
|
font-weight: bold;
|
|
}
|
|
.text-no-wrap {
|
|
white-space: nowrap;
|
|
}
|
|
table.test-result {
|
|
line-height: 16px;
|
|
}
|
|
#footer {
|
|
line-height: 17px;
|
|
}
|
|
#footer .laboratory-address td {
|
|
border-top: 1px solid black;
|
|
padding-top: 10px;
|
|
}
|
|
#footer .result-footer-signature td {
|
|
vertical-align: top;
|
|
padding-bottom: 60px;
|
|
}
|
|
|
|
@page {
|
|
margin: 0.5cm;
|
|
}
|
|
|
|
@media print {
|
|
/*
|
|
@page {
|
|
margin: 1cm;
|
|
}
|
|
|
|
body,
|
|
page[size="A4"] {
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
box-shadow: none;
|
|
background-color: transparent;
|
|
}*/
|
|
|
|
body,
|
|
page[size="A4"] {
|
|
|
|
box-shadow: none;
|
|
background-color: #fff;
|
|
}
|
|
|
|
@page {
|
|
size: A4 landscape;
|
|
margin: 0.5cm 0.5cm 0;
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
@page {
|
|
size: 210mm 297mm landscape;
|
|
margin: 0.5cm 0.5cm 0;
|
|
padding: 0;
|
|
}
|
|
|
|
|
|
@page {
|
|
size: 11.7in 16.5in landscape;
|
|
margin: 0.5cm 0.5cm 0;
|
|
padding: 0;
|
|
}
|
|
|
|
tbody.sample-result {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
#footer {
|
|
display: block;
|
|
position: fixed;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
#print_invoice_modal .table-inv th, .table-inv td {
|
|
border: 1px solid black;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.bg-light{
|
|
background: #e8e8e8 !important;
|
|
}
|
|
|
|
.border-0{
|
|
border:none !important;
|
|
}
|