Files
Backend-Api/ServiceHost/wwwroot/AssetsAdminNew/Report/css/PrintAll.css
2024-07-10 20:25:54 +03:30

447 lines
8.2 KiB
CSS

#MainModal {
backdrop-filter: blur(8px);
}
.modal .modal-dialog .modal-content {
background-color: white;
padding: 0px 30px 0 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: 1550px) {
.printBtns {
transform: translateX(-680%);
}
}
#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;
}
.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 table {
direction: ltr;
width: 100%;
}
#printThis .table-bordered {
border: 1px solid #94a3b8;
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;
background: #ddd;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 10px;
border: 1px solid #c7c7c7 !important;
background: transparent;
}
#printThis .table-bordered > tbody > tr.withdraw > td {
background-color: #b5b5b5 !important;
}
#printThis tr:nth-child(2n) td {
background: #f0f0f0 !important;
}
tr td:first-child {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
tr td:last-child {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
tr th:first-child {
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
tr th:last-child {
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.printBtns .btn-rounded {
margin-left: 0.5rem;
margin-right: 0.5rem;
padding: 5px 18px;
}
#printThis .colgp-1 {
width: 10%;
}
#printThis .colgp-2 {
width: 10%;
}
#printThis .colgp-3 {
width: 30%;
}
#printThis .colgp-4 {
width: 50%;
}
.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 {
font-family: 'IranSans' !important;
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: 1000px !important;
}
.table-title h4 {
font-size: 1.3rem;
}
.top-title h1 {
font-size: 2.5rem;
}
.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: 10px;
}
}
@page {
size: A4;
margin: 0mm;
page-break-after: auto;
}
@media print {
body * {
visibility: hidden;
page-break-after: auto;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
html, body {
height: 100%;
margin: 0 !important;
padding: 0 !important;
overflow: 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 .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;
background: #ddd;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
#printThis tr:nth-child(2n) td {
background: #f0f0f0 !important;
}
#printThis .table-bordered > tbody > tr > td {
padding: 8px 2px;
text-align: center;
font-size: 10px !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 .colgp-1 {
width: 10%;
}
#printThis .colgp-2 {
width: 10%;
}
#printThis .colgp-3 {
width: 30%;
}
#printThis .colgp-4 {
width: 50%;
}
.bl-hidden {
border-left: hidden !important;
}
.table-name {
padding: 8px 0;
}
#printThis .table-bordered > thead tr:first-child {
border: 0 !important;
}
#printThis .titleSection {
border: 1px solid #94a3b8 !important;
border-bottom: 0 !important;
border-radius: 10px 10px 0 0 !important;
background: #fff !important;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
#printThis .table-bordered > thead {
display: table-header-group !important;
page-break-inside: avoid !important;
}
#printThis .personnel-badge {
background-color: #cbd5e1 !important;
padding: 2px 5px !important;
border-radius: 5px !important;
line-height: 21px !important;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
}
.titleSection {
background: #fff !important;
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
}
.col-xs-4, .col-xs-3, .col-xs-9,
.col-xs-2, .col-xs-10, .col-xs-6,
.col-xs-8, .col-xs-5, .col-xs-7,
.col-xs-offset-1 {
float: right !important;
}
.cls-1 {
fill: url(#linear-gradient-2);
}
.cls-2 {
fill: url(#linear-gradient-3);
}
.cls-3 {
fill: url(#linear-gradient);
}
.flex {
display: flex;
}
.justify-between {
justify-content: space-between;
}
.justify-end {
justify-content: end;
}
.items-center {
align-items: center;
}
.titleSection {
padding: 5px;
margin: 0;
border-bottom: 0;
align-items: center;
display: flex;
}
.titleH1 {
font-size: 24px;
margin: 0 !important;
font-weight: 600;
}
.lineS {
margin: 4px 0 !important;
}
.table > tbody > tr.withdraw > td {
background-color: #b5b5b5 !important;
}
.personnel-badge {
background-color: #cbd5e1;
padding: 2px 5px;
border-radius: 5px;
line-height: 21px;
}