Files
2026-10-29 13:34:31 +07:00

172 lines
3.5 KiB
CSS

/*******************************************************************
Module : /Styles/styles.css
Desc. : CSS Custom
Created By : Siau Pheng ([email protected]).
Created Date : December 20th, 2007.
Last Modified : September 21st, 2026.
(c) 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
:root {
--bs-body-font-size: .95rem;
--bs-body-line-height: 1.2;
}
.form-control {
font-size: unset;
}
@media screen, projection {
#linebreak { color: #FF0000; text-align: center; font-size: 10pt; }
#autopage, #pagebreak { display: none; }
}
table.garis {
width: 100%;
border: 1px solid #000;
border-spacing: 0;
border-collapse: collapse;
}
table.garis th, table.garis td {
font-size: .9rem;
text-align: left;
border: 1px solid #000;
padding: 2mm;
}
table.garis th {
font-size: 1rem;
text-align: center;
vertical-align: middle;
background-color: #ddd;
white-space: nowrap;
}
table.garis td { padding-top: 1.2mm; padding-bottom: 1.2mm; vertical-align: top; }
/* ----------------- NOTA ----------------- */
div.notaTitle {
font-size: 12pt;
text-align: center;
text-transform: uppercase;
}
div.notaTitle div {
font-size: 13pt;
font-weight: bolder;
margin-bottom: 2px;
}
table.notaTable {
width: 100%;
border: 1px solid #000;
table-layout: fixed;
border-spacing: 0;
border-collapse: collapse;
}
table.notaTable th, table.notaTable td {
text-align: left;
border: 1px solid #000;
padding: 3px;
}
table.notaTable th {
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
table.notaTable td { padding-top: 2px; padding-bottom: 2px; vertical-align: top; overflow: hidden; white-space: nowrap; }
table.notaTable td.nbl { border-left: none; }
table.notaTable td.nbr { border-right: none; }
table.notaHeader {
width: 100%;
margin: 3px 0;
}
table.notaHeader td {
vertical-align: middle;
padding: 1mm;
padding-left: 0;
}
table.notaHeader td:not(.ttkdua) {
white-space: nowrap;
}
table.notaFooter {
width: 100%;
border: 1px solid #000;
border-top: none;
border-collapse: collapse;
}
table.notaFooter td {
vertical-align: top;
padding: 1mm;
width: 50%;
}
table.notaFooter td:not(.stamp) {
height: 1.8cm;
}
table.notaFooter td.stamp {
font-size: 7pt;
}
table.nostyle td {
width: unset;
}
table td.ttkdua:before {
content: ': ';
}
table > tbody tr.rgg td:not(:last-child) { background-color: #B8F1A8; }
table.table th {
background-color: #ddd;
}
/** POS **/
table.tabel-pos tbody td.dataTables_empty {
color: transparent;
height: 280px;
}
table.tabel-pos tbody tr:has(td.dataTables_empty):hover {
background-color: transparent;
}
/** LABEL HARGA **/
.vcanvas {
width: 60mm;
height: 20mm;
padding: 5px;
float: left;
border: 1px dotted #333;
box-sizing: unset !important;
line-height: 1;
page-break-inside: avoid;
}
.vcanvas .vrow {
width: 100%;
height: 100%;
float: left;
}
.vcanvas .vrow .vkonten {
width: 100%;
float: left;
font-family: verdana;
}
.vcanvas .vrow .vkonten .vnama {
font-size: 16pt;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
.vcanvas .vrow .vkonten .vharga {
font-size: 14pt;
text-align: center;
padding-top: 10px;
}