ZDDC — Zero Day Document Control. A file-naming convention plus five single-file HTML tools (archive, transmittal, classifier, mdedit, landing) and an optional Go HTTP server (zddc-server) with ACL and a virtual archive index. Self-contained, offline-capable, dependency-free. See README.md for an overview, AGENTS.md and ARCHITECTURE.md for the build/release/architecture detail, bootstrap/README.md for the two-level deployment install pattern, and zddc/README.md for the HTTP server.
149 lines
5.5 KiB
CSS
149 lines
5.5 KiB
CSS
/* Tailwind-inspired utility subset required by template.html */
|
|
|
|
/* Typography */
|
|
.font-sans { font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif; }
|
|
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
|
|
.font-semibold { font-weight: 600; }
|
|
.font-bold { font-weight: 700; }
|
|
.italic { font-style: italic; }
|
|
.text-left { text-align: left; }
|
|
.text-center { text-align: center; }
|
|
.text-xs { font-size: 0.75rem; line-height: 1rem; }
|
|
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
|
|
.text-base { font-size: 1rem; line-height: 1.5rem; }
|
|
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
|
|
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
|
|
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
|
|
.text-\[12px\] { font-size: 12px; line-height: 1.4; }
|
|
.text-\[10px\] { font-size: 10px; line-height: 1.3; }
|
|
.text-gray-900 { color: #111827; }
|
|
.text-gray-700 { color: #374151; }
|
|
.text-gray-600 { color: #4b5563; }
|
|
.text-gray-500 { color: #6b7280; }
|
|
.text-gray-400 { color: #9ca3af; }
|
|
.text-blue-600 { color: #2563eb; }
|
|
.text-green-600 { color: #16a34a; }
|
|
.text-red-600 { color: #dc2626; }
|
|
.uppercase { text-transform: uppercase; }
|
|
.tracking-wide { letter-spacing: 0.1em; }
|
|
.leading-6 { line-height: 1.5rem; }
|
|
.leading-snug { line-height: 1.375rem; }
|
|
|
|
/* Backgrounds */
|
|
.bg-white { background-color: #ffffff; }
|
|
.bg-transparent { background-color: transparent; }
|
|
.bg-gray-50 { background-color: #f9fafb; }
|
|
.bg-gray-100 { background-color: #f3f4f6; }
|
|
|
|
/* Borders */
|
|
.border { border: 1px solid #d1d5db; }
|
|
.border-0 { border: 0; }
|
|
.border-b { border-bottom: 1px solid #d1d5db; }
|
|
.border-t { border-top: 1px solid #d1d5db; }
|
|
.border-gray-300 { border-color: #d1d5db; }
|
|
.border-gray-200 { border-color: #e5e7eb; }
|
|
.border-gray-100 { border-color: #f3f4f6; }
|
|
.rounded-none { border-radius: 0; }
|
|
.rounded-sm { border-radius: 0.125rem; }
|
|
.rounded { border-radius: 0.25rem; }
|
|
.rounded-md { border-radius: 0.375rem; }
|
|
|
|
/* Effects */
|
|
.shadow-lg { box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15); }
|
|
.transition-colors { transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
|
|
|
|
/* Flex / Grid */
|
|
.flex { display: flex; }
|
|
.flex-col { flex-direction: column; }
|
|
.flex-row { flex-direction: row; }
|
|
.flex-1 { flex: 1 1 0%; }
|
|
.items-center { align-items: center; }
|
|
.items-start { align-items: flex-start; }
|
|
.justify-between { justify-content: space-between; }
|
|
.justify-center { justify-content: center; }
|
|
.gap-2 { gap: 0.5rem; }
|
|
.gap-0\.5 { gap: 0.125rem; }
|
|
.grid { display: grid; }
|
|
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
|
|
.col-span-4 { grid-column: span 4 / span 4; }
|
|
.col-span-6 { grid-column: span 6 / span 6; }
|
|
.col-span-12 { grid-column: span 12 / span 12; }
|
|
|
|
/* Positioning */
|
|
.block { display: block; }
|
|
.relative { position: relative; }
|
|
.absolute { position: absolute; }
|
|
.sticky { position: sticky; }
|
|
.left-0 { left: 0; }
|
|
.top-0 { top: 0; }
|
|
.top-6 { top: 1.5rem; }
|
|
.top-full { top: 100%; }
|
|
.z-10 { z-index: 10; }
|
|
.z-20 { z-index: 20; }
|
|
.z-50 { z-index: 50; }
|
|
|
|
/* Sizing */
|
|
.w-full { width: 100%; }
|
|
.w-auto { width: auto; }
|
|
.w-64 { width: 16rem; }
|
|
.w-5 { width: 1.25rem; }
|
|
.h-5 { height: 1.25rem; }
|
|
.h-6 { height: 1.5rem; }
|
|
.h-auto { height: auto; }
|
|
.min-w-0 { min-width: 0; }
|
|
.max-w-\[1200px\] { max-width: 1200px; }
|
|
.max-w-\[1600px\] { max-width: 1600px; }
|
|
.max-h-96 { max-height: 24rem; }
|
|
.min-h-\[3.5rem\] { min-height: 3.5rem; }
|
|
.overflow-auto { overflow: auto; }
|
|
|
|
/* Spacing */
|
|
.p-2 { padding: 0.5rem; }
|
|
.px-0 { padding-left: 0; padding-right: 0; }
|
|
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
|
|
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
|
|
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
|
|
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
|
|
.py-0 { padding-top: 0; padding-bottom: 0; }
|
|
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
|
|
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
|
|
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
|
|
.pt-1 { padding-top: 0.25rem; }
|
|
.pt-5 { padding-top: 1.25rem; }
|
|
.pb-2 { padding-bottom: 0.5rem; }
|
|
.pb-3 { padding-bottom: 0.75rem; }
|
|
.mt-1 { margin-top: 0.25rem; }
|
|
.mt-2 { margin-top: 0.5rem; }
|
|
.mb-1 { margin-bottom: 0.25rem; }
|
|
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
|
|
.gap-x-6 { column-gap: 1.5rem; }
|
|
.gap-y-3 { row-gap: 0.75rem; }
|
|
|
|
/* Drag-hover utilities (used by drop zone handlers) */
|
|
.ring-2 { box-shadow: 0 0 0 2px var(--tw-ring-color, rgba(59, 130, 246, 0.5)); }
|
|
.ring-blue-400 { --tw-ring-color: rgba(96, 165, 250, 0.7); }
|
|
.bg-blue-50 { background-color: #eff6ff; }
|
|
|
|
/* Validation error state (applied via JS in validation.js) */
|
|
.ring-red-400 { box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.5); }
|
|
.border-red-500 { border-color: #ef4444 !important; }
|
|
|
|
/* Hover & focus states */
|
|
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
|
|
.hover\:bg-gray-100:hover { background-color: #f3f4f6; }
|
|
.hover\:underline:hover { text-decoration: underline; }
|
|
.focus\:outline-none:focus { outline: none; }
|
|
.focus\:border-blue-400:focus { border-color: #60a5fa; }
|
|
.focus\:ring-1:focus { box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35); }
|
|
.focus\:ring-blue-400:focus { box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.45); }
|
|
.focus\:bg-white:focus { background-color: #ffffff; }
|
|
.disabled\:pointer-events-none:disabled { pointer-events: none; }
|
|
|
|
/* Table helpers */
|
|
.table-auto { table-layout: auto; }
|
|
.border-collapse { border-collapse: collapse; }
|
|
|
|
/* Print helpers */
|
|
@media print {
|
|
.print\:hidden { display: none !important; }
|
|
}
|