Files
Backend-Api/ServiceHost/wwwroot/AssetsClient/css/InsurancePrint.css
2025-02-04 05:25:09 +03:30

679 lines
12 KiB
CSS

#MainModal {
backdrop-filter: blur(8px);
}
.modal .modal-dialog .modal-content {
background-color: white;
padding: 0px 30px 40px 30px;
}
.modal-header {
padding: 1rem 0rem !important;
}
.modal .modal-dialog .modal-content .modal-body {
padding: 0 !important;
}
.modal-dialog {
width: 1200px !important;
}
.printBtns {
padding: 12px 2px 12px;
border-top: unset;
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-800%);
display: flex;
flex-direction: column;
background: white;
align-items: center;
border-radius: 9px;
z-index: 9999999;
transition: none;
}
#printThis .modal-content {
background-clip: padding-box;
background: black !important;
}
#printThis * {
font-family: IranSans !important;
font-weight: 100;
}
#printThis h1, h2, h3, h4, h5, h6 {
color: black;
margin: 1rem 0;
}
.top-title {
text-align: center;
}
.list-no {
display: flex;
justify-content: center;
align-items: center;
margin: 1rem 0;
}
.list-no h4 {
margin: 0 7rem;
}
#printThis span {
margin: 0 3rem;
}
.table-title {
display: flex;
justify-content: space-between;
padding: 0 1rem;
border: 1px solid black;
border-top-right-radius: 9px;
border-top-left-radius: 9px;
border-bottom: 0;
}
.table-title h4 {
font-size: 13px;
}
#printThis span {
margin: 0 1rem;
}
#printThis table {
direction: ltr;
width: 100%;
}
#printThis .custom-border {
border: 1px solid black;
border-radius: 9px;
}
#printThis .table-bordered {
border: 1px solid black;
border-radius: 0px;
border-collapse: collapse;
margin-bottom: 0;
table-layout: fixed;
width: 100%;
}
#printThis .table-bordered > thead > tr > th {
font-size: 11px;
color: black;
text-align: center;
vertical-align: middle;
padding: 0;
border: 1px solid #c7c7c7 !important;
background: #80808033 !important;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 8px;
border: 1px solid #c7c7c7 !important;
}
.printBtns .btn-rounded {
margin-left: 0.5rem;
margin-right: 0.5rem;
padding: 5px 18px;
}
#printThis .colgp-1 {
width: 20px;
}
#printThis .colgp-2 {
width: 45px;
}
#printThis .colgp-3 {
width: 95px;
}
#printThis .colgp-4 {
width: 50px;
}
#printThis .colgp-5 {
width: 50px;
}
#printThis .colgp-6 {
width: 65px;
}
#printThis .colgp-7 {
width: 58px;
}
#printThis .colgp-8 {
width: 42px;
}
#printThis .colgp-9 {
width: 42px;
}
#printThis .colgp-10 {
width: 23px;
}
#printThis .colgp-11 {
width: 55px;
}
#printThis .colgp-12 {
width: 55px;
}
#printThis .colgp-13 {
width: 55px;
}
#printThis .colgp-14 {
width: 55px;
}
#printThis .colgp-15 {
width: 55px;
}
#printThis .colgp-16 {
width: 55px;
}
#printThis .colgp-17 {
width: 55px;
}
#printThis .colgp-18 {
width: 55px;
}
#printThis .colgp-19 {
width: 55px;
}
.summary {
margin-left: -2px;
}
.data-summary {
border: 1px solid black;
border-radius: 7px;
margin-top: 2rem;
}
.data-summary span {
margin: initial;
}
.data-summary h4 {
font-size: 12px;
display: flex;
justify-content: space-between;
}
.data-total {
border-top: 1px solid black;
margin-top: 2rem;
padding-top: 0.5rem;
}
#printThis .table-bordered .total td {
background: #dfdfdf !important;
}
.bl-hidden {
border-left: hidden !important;
}
.table-name {
text-align: right !important;
white-space: nowrap !important;
max-width: 100%;
width: 80px;
overflow-x: clip;
direction: rtl;
}
.table-bordered tr:nth-child(10) {
page-break-after: always;
}
@media screen {
#printSection {
display: none;
}
}
@media (max-width: 1550px) {
.table-title h4 {
font-size: 13px;
}
.top-title h1 {
font-size: 20px;
}
.printBtns {
transform: translateX(-700%);
}
.top-title h4 {
font-size: 18px;
}
.list-no h4 {
margin: 0 6rem;
}
#printThis .table-bordered {
/*border: 1px solid #000000 !important;*/
border-radius: 0px !important;
}
#printThis .table-bordered > thead > tr > th {
font-size: 11px;
}
#printThis .table-bordered > tbody > tr > td {
font-size: 8px;
}
#printThis .colgp-1 {
width: 20px;
}
#printThis .colgp-2 {
width: 45px;
}
#printThis .colgp-3 {
width: 95px;
}
#printThis .colgp-4 {
width: 50px;
}
#printThis .colgp-5 {
width: 50px;
}
#printThis .colgp-6 {
width: 65px;
}
#printThis .colgp-7 {
width: 58px;
}
#printThis .colgp-8 {
width: 42px;
}
#printThis .colgp-9 {
width: 42px;
}
#printThis .colgp-10 {
width: 23px;
}
#printThis .colgp-11 {
width: 55px;
}
#printThis .colgp-12 {
width: 55px;
}
#printThis .colgp-13 {
width: 55px;
}
#printThis .colgp-14 {
width: 55px;
}
#printThis .colgp-15 {
width: 55px;
}
#printThis .colgp-16 {
width: 55px;
}
#printThis .colgp-17 {
width: 55px;
}
#printThis .colgp-18 {
width: 55px;
}
#printThis .colgp-19 {
width: 55px;
}
}
@media (max-width: 1240px) {
.table-container {
overflow-x: scroll;
scrollbar-width: thin;
scrollbar-color: #9fc6db transparent;
}
.table-container::-webkit-scrollbar {
height: 5px;
}
.table-container::-webkit-scrollbar-track {
background-color: #eee;
border-radius: 10px;
}
.table-container::-webkit-scrollbar-thumb {
background-color: #9fc6db;
border-radius: 10px;
}
}
@media (max-width: 786px) {
.top-title h4, .data-summary h4, .table-title h4 {
font-size: 13px;
}
.list-no h4 {
margin: 0 1rem;
}
}
@media print {
body * {
visibility: hidden;
page-break-after: auto;
font-weight: 100
}
#printThis .table-bordered > tbody > tr > td {
font-size: 10px !important;
}
html, body {
height: 100%;
margin: 0 !important;
padding: 0 !important;
overflow: clip;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
.no-print, .no-print * {
display: none !important;
}
.table-container {
overflow-x: clip;
}
.modal-dialog {
max-width: 100%;
width: 60cm;
}
.modal .modal-dialog .modal-content {
padding: 0;
}
#printSection, #printSection * {
visibility: visible;
page-break-after: auto;
}
#printSection {
width: 27.5cm;
position: absolute;
left: 0;
page-break-after: auto;
top: 0;
padding: 2rem 0;
}
#printThis {
padding: 2rem 1rem;
}
#printThis .data-summary {
page-break-inside: avoid !important;
}
#printThis .custom-border {
border: 0;
border-radius: 9px;
}
#printThis .table-bordered {
/*border-collapse: collapse !important;*/
margin-bottom: 0;
table-layout: fixed;
width: 100%;
border: 0 !important;
}
#printThis .table-bordered > thead > tr > th {
font-size: 10px !important;
color: black;
text-align: center;
vertical-align: middle;
padding: 0;
border: 1px solid black;
background: #80808033 !important;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 8px !important;
border: 1px solid black;
}
#printThis .table-bordered > thead > td:first-child {
border-radius: 0px !important;
}
#printThis .table-bordered > thead > td:last-child {
border-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:last-child td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:last-child td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(12) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(12) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(12) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(30) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(30) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(30) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(48) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(48) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(48) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(66) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(66) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(66) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(84) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(84) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(84) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(102) td {
page-break-after: always;
}
#printThis .table-bordered > tbody > tr:nth-child(102) td:first-child {
border-bottom-left-radius: 0px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(102) td:last-child {
border-bottom-right-radius: 0px !important;
}
#printThis .colgp-1 {
width: 20px;
}
#printThis .colgp-2 {
width: 45px;
}
#printThis .colgp-3 {
width: 95px;
}
#printThis .colgp-4 {
width: 50px;
}
#printThis .colgp-5 {
width: 50px;
}
#printThis .colgp-6 {
width: 65px;
}
#printThis .colgp-7 {
width: 58px;
}
#printThis .colgp-8 {
width: 42px;
}
#printThis .colgp-9 {
width: 42px;
}
#printThis .colgp-10 {
width: 23px;
}
#printThis .colgp-11 {
width: 55px;
}
#printThis .colgp-12 {
width: 55px;
}
#printThis .colgp-13 {
width: 55px;
}
#printThis .colgp-14 {
width: 55px;
}
#printThis .colgp-15 {
width: 55px;
}
#printThis .colgp-16 {
width: 55px;
}
#printThis .colgp-17 {
width: 55px;
}
#printThis .colgp-18 {
width: 55px;
}
#printThis .colgp-19 {
width: 55px;
}
.summary {
display: flex;
justify-content: flex-end;
}
.bl-hidden {
border-left: hidden !important;
}
.table-name {
padding: 8px 0;
}
#printThis .table-bordered > thead {
display: table-header-group;
page-break-inside: avoid;
}
}
.h2, h2 {
font-size: 25px;
}
.h4, h4 {
font-size: 22px;
}