This repository has been archived on 2026-08-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dirga 705e6f20e9
CI / Server (push) Failing after 46s
summernote
2025-08-28 16:06:15 +07:00

63 lines
1.5 KiB
CSS

/* =======================================================================
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;
}
}