pliceclogs-og/xlarge.css
type-two e5b8504bc6 Import pliceclogs as-is — the original Discogs seller extension
Snapshot of the working tree exactly as it stood, no edits. This is the predecessor
PRICEGOD was rewritten from ("kept intact, untouched" per pricegod/README.md), and it
is still the only place the DYMO scale is actually implemented —
rfid-daemon/index.js:1068-1265: HID discovery, parseScaleReport, one-shot read, and a
streaming /weight + /scale/start|stop session whose JSON shape PRICEGOD's daemon.js
already speaks.

Preserved verbatim on purpose (hence -og), including the known bug: DYMO_PIDS at
index.js:1082 is [0x8003, 0x8004], so it cannot see the bench M25 (0x8009). Fix that
in whatever daemon inherits the scale, not here.

node_modules stays ignored (22M of the 24M tree). No credentials in the import: the
two PEM markers in utils.js/sheets.js only strip headers off a key read from settings,
and mrpadmin / johnking are an SSH and a Postgres username, both key/trust auth.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 13:47:09 +10:00

176 lines
2.9 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* XLarge Label Preview (64mm × 34mm) */
.label-preview-xlarge {
font-family: "MS Gothic", "Hiragino Kaku Gothic Pro", Arial, sans-serif;
width: 64mm;
height: 34mm;
position: relative;
background: white;
overflow: hidden;
margin: 0;
padding: 0;
border: 0.1mm solid black;
}
.print-label-xlarge {
font-family: "MS Gothic", "Hiragino Kaku Gothic Pro", Arial, sans-serif;
width: 64mm !important;
height: 34mm;
position: absolute;
background: white;
overflow: hidden;
top: 3mm;
margin-left: 2mm !important;
padding: 0 !important;
border: 0;
display: block !important;
box-sizing: border-box !important;
transform: none !important;
float: none !important;
-webkit-print-color-adjust: exact;
print-color-adjust: exact;
}
/* XLarge Label Field Positions — left column (047mm), right column (4764mm) */
.print-artist-xlarge {
left: 0mm;
top: 0mm;
width: 47mm;
height: 5mm;
font-size: 9pt;
}
.print-title-xlarge {
left: 0mm;
top: 5mm;
width: 47mm;
height: 5mm;
font-size: 9pt;
}
.print-genre-xlarge {
left: 0mm;
top: 10mm;
width: 47mm;
height: 4mm;
font-size: 8pt;
}
.print-style-xlarge {
left: 0mm;
top: 14mm;
width: 47mm;
height: 4.5mm;
font-size: 9pt;
font-weight: bold;
}
.print-description-xlarge {
left: 0mm;
top: 18.5mm;
width: 47mm;
height: 3.5mm;
font-size: 7pt;
}
.print-comment-xlarge {
left: 0mm;
top: 22mm;
width: 47mm;
height: 3.5mm;
font-size: 7pt;
font-style: italic;
}
.print-notes-xlarge {
left: 0mm;
top: 25.5mm;
width: 47mm;
height: 3.5mm;
font-size: 6pt;
}
.print-bottom-info-xlarge {
left: 0mm;
top: 29mm;
width: 47mm;
height: 3.5mm;
gap: 0;
}
.print-bottom-info-xlarge .year {
width: auto;
font-size: 8pt !important;
margin: 0;
padding: 0;
}
.print-bottom-info-xlarge .country {
width: auto;
min-width: 4mm;
line-height: 1;
margin: 0;
padding: 0;
}
.print-bottom-info-xlarge .label {
flex: 1;
text-align: left;
margin: 0;
padding: 0;
}
.print-logo-xlarge {
position: absolute;
left: 47mm;
top: 0mm;
width: 17mm;
height: 3mm;
display: block;
}
.print-price-xlarge {
position: absolute;
left: 47mm;
top: 3mm;
width: 17mm;
height: 7mm;
font-size: 15pt;
font-weight: bold;
}
.print-condition-xlarge {
position: absolute;
left: 47mm;
top: 10mm;
width: 17mm;
height: 3mm;
font-size: 7pt;
line-height: 1;
}
.print-barcode-xlarge {
position: absolute;
left: 47mm;
top: 13mm;
width: 17mm;
height: 17mm;
}
.print-barcode-xlarge img {
width: 100%;
height: 100%;
}
@media print {
.print-label-xlarge {
width: 64mm !important;
height: 34mm !important;
}
}
@page xlarge-label {
size: 64mm 34mm;
margin: 0;
padding: 0;
}