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.
66 lines
1.5 KiB
CSS
66 lines
1.5 KiB
CSS
/* ── Button bar ───────────────────────────────────────────── */
|
|
.md-toolbar {
|
|
display: flex;
|
|
gap: 2px;
|
|
padding: 3px 4px;
|
|
background: #f3f4f6;
|
|
border: 1px solid #d1d5db;
|
|
border-bottom: none;
|
|
border-radius: 0.25rem 0.25rem 0 0;
|
|
}
|
|
|
|
.md-toolbar-btn {
|
|
min-width: 26px;
|
|
height: 24px;
|
|
padding: 0 5px;
|
|
border: 1px solid transparent;
|
|
border-radius: 3px;
|
|
background: transparent;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
}
|
|
|
|
.md-toolbar-btn:hover {
|
|
background: #e5e7eb;
|
|
border-color: #d1d5db;
|
|
}
|
|
|
|
.md-toolbar-btn:active {
|
|
background: #d1d5db;
|
|
}
|
|
|
|
/* ── Edit area ────────────────────────────────────────── */
|
|
.md-edit-area {
|
|
position: relative;
|
|
min-height: 80px;
|
|
border: 1px solid #d1d5db;
|
|
border-radius: 0 0 0.25rem 0.25rem;
|
|
}
|
|
|
|
.md-input {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: 80px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
padding: 6px 8px;
|
|
margin: 0;
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
tab-size: 4;
|
|
border: none;
|
|
outline: none;
|
|
resize: vertical;
|
|
background: #fff;
|
|
color: #111827;
|
|
}
|
|
|
|
.md-edit-area:focus-within {
|
|
border-color: #93c5fd;
|
|
box-shadow: 0 0 0 1px #93c5fd;
|
|
}
|