Files
Backend-Api/ServiceHost/wwwroot/ClientTheme/css/InsurancePrint.css
2024-07-05 21:36:15 +03:30

585 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;
}
@media(max-width: 1240px){
.modal .modal-dialog .modal-content{
display: none;
}
.printBtns {
transform: translateX(50%) !important;
top: 50%;
right: 50%;
width: fit-content;
padding: 40px;
}
}
#printThis .modal-content {
background-clip: padding-box;
background: black !important;
}
#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 9rem;
}
#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: 1.5rem;
}
#printThis span {
margin: 0 1rem;
}
#printThis table {
direction: ltr;
width: 100%;
}
#printThis .table-bordered {
border: 1px solid black;
border-radius: 9px;
border-collapse: separate;
margin-bottom: 0;
table-layout: fixed;
width: 100%;
}
#printThis .table-bordered > thead > tr > th {
font-size: 1.3rem;
color: black;
text-align: center;
vertical-align: middle;
padding: 0;
border: 1px solid #c7c7c7 !important;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 1.2rem;
border: 1px solid #c7c7c7 !important;
}
.printBtns .btn-rounded {
margin-left: 0.5rem;
margin-right: 0.5rem;
padding: 5px 18px;
}
#printThis .colgp-1 {
width: 30px;
}
#printThis .colgp-2 {
width: 55px;
}
#printThis .colgp-3 {
width: 95px;
}
#printThis .colgp-4 {
width: 50px;
}
#printThis .colgp-5 {
width: 65px;
}
#printThis .colgp-6 {
width: 65px;
}
#printThis .colgp-7 {
width: 58px;
}
#printThis .colgp-8 {
width: 55px;
}
#printThis .colgp-9 {
width: 55px;
}
#printThis .colgp-10 {
width: 27px;
}
#printThis .colgp-11 {
width: 55px;
}
#printThis .colgp-12 {
width: 75px;
}
#printThis .colgp-13 {
width: 65px;
}
#printThis .colgp-14 {
width: 75px;
}
#printThis .colgp-15 {
width: 75px;
}
#printThis .colgp-16 {
width: 65px;
}
.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: 1.4rem;
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) {
.modal-dialog {
width: 80% !important;
}
.table-title h4 {
font-size: 1.3rem;
}
.top-title h1 {
font-size: 2.5rem;
}
.printBtns {
transform: translateX(-700%);
}
.top-title h4 {
font-size: 1.5rem;
}
.list-no h4 {
margin: 0 8rem;
}
#printThis .table-bordered {
border: 1px solid #000000 !important;
border-radius: 9px !important;
}
#printThis .table-bordered > thead > tr > th {
font-size: 1.1rem;
}
#printThis .table-bordered > tbody > tr > td {
font-size: 1rem;
}
#printThis .colgp-3 {
width: 90px;
}
#printThis .colgp-4 {
width: 50px;
}
#printThis .colgp-5 {
width: 70px;
}
#printThis .colgp-6 {
width: 70px;
}
#printThis .colgp-7 {
width: 48px;
}
#printThis .colgp-8 {
width: 55px;
}
#printThis .colgp-9 {
width: 55px;
}
#printThis .colgp-15 {
width: 70px;
}
#printThis .colgp-16 {
width: 60px;
}
#printThis .colgp-14 {
width: 70px;
}
#printThis .colgp-13 {
width: 60px;
}
#printThis .colgp-12 {
width: 65px;
}
#printThis .colgp-11 {
width: 60px;
}
}
@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: 1rem;
}
.list-no h4 {
margin: 0 1rem;
}
}
@media print {
body * {
visibility: hidden;
page-break-after: auto;
}
html, body {
height: 100%;
margin: 0 !important;
padding: 0 !important;
overflow: clip;
}
.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: 29.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 .table-bordered {
border-collapse: separate !important;
margin-bottom: 0;
table-layout: fixed;
width: 100%;
border: 0 !important;
}
#printThis .table-bordered > thead > tr > th {
font-size: 1.2rem !important;
color: black;
text-align: center;
vertical-align: middle;
padding: 0;
border: 1px solid black;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 0.8rem !important;
border: 1px solid black;
}
#printThis .table-bordered > thead > td:first-child {
border: 9px !important;
}
#printThis .table-bordered > thead > td:last-child {
border: 9px !important;
}
#printThis .table-bordered > tbody > tr:last-child td:first-child {
border-bottom-left-radius: 9px !important;
}
#printThis .table-bordered > tbody > tr:last-child td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(12) td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(30) td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(48) td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(66) td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(84) td:last-child {
border-bottom-right-radius: 9px !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: 9px !important;
}
#printThis .table-bordered > tbody > tr:nth-child(102) td:last-child {
border-bottom-right-radius: 9px !important;
}
#printThis .colgp-2 {
width: 60px;
}
#printThis .colgp-3 {
width: 70px;
}
#printThis .colgp-15 {
width: 80px;
}
#printThis .colgp-16 {
width: 75px;
}
#printThis .colgp-14 {
width: 80px;
}
#printThis .colgp-13 {
width: 80px;
}
#printThis .colgp-12 {
width: 85px;
}
#printThis .colgp-8 {
width: 60px;
}
#printThis .colgp-9 {
width: 60px;
}
.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;
}
}