classname edited for print

This commit is contained in:
Burak Civan 2022-06-14 09:53:44 +03:00
parent 709d6b12f4
commit 203b47169c
11 changed files with 2018 additions and 2004 deletions

52
public/css/print.css vendored
View File

@ -59,12 +59,12 @@ th, td
margin-bottom: 8px; margin-bottom: 8px;
} }
.mt-1 .print-template .mt-1
{ {
margin-top: 8px; margin-top: 8px;
} }
.ml-1 .print-template .ml-1
{ {
margin-left: 8px; margin-left: 8px;
} }
@ -74,67 +74,67 @@ th, td
padding-left: 18px; padding-left: 18px;
} }
.mt-0 .print-template .mt-0
{ {
margin-top: 0 !important; margin-top: 0 !important;
} }
.mt-1 .print-template .mt-1
{ {
margin-top: 8px; margin-top: 8px;
} }
.mt-2 .print-template .mt-2
{ {
margin-top: 16px; margin-top: 16px;
} }
.mt-3 .print-template .mt-3
{ {
margin-top: 24px; margin-top: 24px;
} }
.mt-4 .print-template .mt-4
{ {
margin-top: 32px; margin-top: 32px;
} }
.mt-5 .print-template .mt-5
{ {
margin-top: 40px; margin-top: 40px;
} }
.mt-6 .print-template .mt-6
{ {
margin-top: 48px; margin-top: 48px;
} }
.mt-7 .print-template .mt-7
{ {
margin-top: 56px; margin-top: 56px;
} }
.mt-8 .print-template .mt-8
{ {
margin-top: 64px; margin-top: 64px;
} }
.mt-9 .print-template .mt-9
{ {
margin-top: 72px; margin-top: 72px;
} }
.pb-0 .print-template .pb-0
{ {
padding-bottom: 0; padding-bottom: 0;
} }
.pb-1 .print-template .pb-1
{ {
padding-bottom: 8px; padding-bottom: 8px;
} }
.py-1 .print-template .py-1
{ {
padding-bottom: 3px; padding-bottom: 3px;
padding-top: 3px; padding-top: 3px;
@ -158,47 +158,47 @@ th, td
padding: 0 10px 0 10px; padding: 0 10px 0 10px;
} }
.pt-2 .print-template .pt-2
{ {
padding-top: 16px; padding-top: 16px;
} }
.pb-2 .print-template .pb-2
{ {
padding-bottom: 16px; padding-bottom: 16px;
} }
.pl-3 .print-template .pl-3
{ {
padding-left: 24px; padding-left: 24px;
} }
.pl-4 .print-template .pl-4
{ {
padding-left: 32px; padding-left: 32px;
} }
.pl-5 .print-template .pl-5
{ {
padding-left: 40px; padding-left: 40px;
} }
.pl-6 .print-template .pl-6
{ {
padding-left: 48px; padding-left: 48px;
} }
.pl-7 .print-template .pl-7
{ {
padding-left: 56px; padding-left: 56px;
} }
.pl-8 .print-template .pl-8
{ {
padding-left: 64px; padding-left: 64px;
} }
.pl-9 .print-template .pl-9
{ {
padding-left: 72px; padding-left: 72px;
} }
@ -383,7 +383,7 @@ html[dir='rtl'] .text-alignment-right {
.lines .lines
{ {
border-collapse: collapse; border-collapse: collapse;
table-layout: fixed; table-layout: auto;
border-bottom: 1px solid #adadad; border-bottom: 1px solid #adadad;
} }
@ -564,7 +564,7 @@ html[dir='rtl'] .text-alignment-right {
.modern-lines .modern-lines
{ {
border-collapse: collapse; border-collapse: collapse;
table-layout: fixed; table-layout: auto;
} }
.modern-lines .item .modern-lines .item

View File

@ -1,4 +1,4 @@
<div class="p-7 shadow-2xl rounded-2xl print-template"> <div class="p-7 shadow-2xl rounded-2xl">
@if ($documentTemplate) @if ($documentTemplate)
@switch($documentTemplate) @switch($documentTemplate)
@case('classic') @case('classic')

View File

@ -1,3 +1,4 @@
<div class="print-template">
<div class="row"> <div class="row">
<div class="col-100"> <div class="col-100">
<div class="text text-dark"> <div class="text text-dark">
@ -385,3 +386,4 @@
</div> </div>
@endif @endif
@endif @endif
</div>

View File

@ -1,3 +1,4 @@
<div class="print-template">
<div class="row"> <div class="row">
<div class="col-100"> <div class="col-100">
<div class="text text-dark"> <div class="text text-dark">
@ -344,3 +345,4 @@
</div> </div>
@endif @endif
@endif @endif
</div>

View File

@ -1,3 +1,4 @@
<div class="print-template">
<div class="row"> <div class="row">
<div class="col-100"> <div class="col-100">
<div class="text text-dark"> <div class="text text-dark">
@ -355,3 +356,4 @@
</div> </div>
@endif @endif
@endif @endif
</div>

View File

@ -1,4 +1,4 @@
<div class="p-7 shadow-2xl rounded-2xl print-template"> <div class="p-7 shadow-2xl rounded-2xl">
@if ($transactionTemplate) @if ($transactionTemplate)
@switch($transactionTemplate) @switch($transactionTemplate)
@case('classic') @case('classic')

View File

@ -1,3 +1,4 @@
<div class="print-template">
@stack('company_start') @stack('company_start')
@if (!$hideCompany) @if (!$hideCompany)
<table class="border-bottom-1"> <table class="border-bottom-1">
@ -360,3 +361,4 @@
</tr> </tr>
</table> </table>
@endif @endif
</div>

View File

@ -6,7 +6,7 @@
</div> </div>
<div class="w-full lg:w-7/12"> <div class="w-full lg:w-7/12">
<div class="p-7 shadow-2xl rounded-2xl print-template"> <div class="p-7 shadow-2xl rounded-2xl">
<x-transfers.show.template :model="$transfer" /> <x-transfers.show.template :model="$transfer" />
</div> </div>
</div> </div>

View File

@ -1,3 +1,4 @@
<div class="print-template">
<table class="border-bottom-1" style="width: 100%;"> <table class="border-bottom-1" style="width: 100%;">
<tbody> <tbody>
<tr> <tr>
@ -215,3 +216,4 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>

View File

@ -1,3 +1,4 @@
<div class="print-template">
<table style="width: 100%;"> <table style="width: 100%;">
<tr> <tr>
<td style="padding:0 0 15px 0;"> <td style="padding:0 0 15px 0;">
@ -215,3 +216,4 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>

View File

@ -1,3 +1,4 @@
<div class="print-template">
<table class="border-bottom-1" style="width: 100%;"> <table class="border-bottom-1" style="width: 100%;">
<tbody> <tbody>
<tr> <tr>
@ -225,3 +226,4 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>