Archived
1 parent
565aa348f9
commit
705e6f20e9
8 files changed
+485
No files matched your search
@@ -0,0 +1,62 @@
|
||||
/* =======================================================================
|
||||
Custom Print Styles for ERPNext + Summernote
|
||||
======================================================================= */
|
||||
|
||||
/* Pastikan hanya berlaku saat print */
|
||||
@media print {
|
||||
|
||||
/* Umum */
|
||||
body {
|
||||
font-size: 12pt;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* Table dasar */
|
||||
table {
|
||||
border-collapse: collapse !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Semua tabel Summernote / Bootstrap */
|
||||
table.table,
|
||||
table.table-bordered,
|
||||
table.table td,
|
||||
table.table th {
|
||||
border: 2px solid #000 !important; /* tebal dan jelas */
|
||||
}
|
||||
|
||||
/* Header tabel lebih tegas */
|
||||
table.table thead th {
|
||||
border: 3px solid #000 !important;
|
||||
background: #f2f2f2 !important; /* sedikit abu untuk cetak */
|
||||
-webkit-print-color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
|
||||
/* Sel tabel */
|
||||
table.table td {
|
||||
padding: 6px 8px !important;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
/* Hapus warna background lain agar hemat tinta */
|
||||
* {
|
||||
background: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
/* Hilangkan elemen yang tidak perlu saat print (toolbar, tombol, dsb) */
|
||||
.note-toolbar,
|
||||
.note-statusbar,
|
||||
.btn,
|
||||
.form-control {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Pastikan konten Summernote tampil penuh */
|
||||
.note-editable {
|
||||
border: none !important;
|
||||
min-height: auto !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user