Initial commit: Apothecary v0.4.0

This commit is contained in:
2026-05-03 20:19:26 -04:00
commit 027cf032be
55 changed files with 14678 additions and 0 deletions
+104
View File
@@ -0,0 +1,104 @@
/* App chrome — ported from Apothecary - Inventory.html lines 1186 */
.app-shell {
min-height: 100vh;
display: grid;
grid-template-columns: 264px 1fr;
}
.sidebar {
border-right: 1px solid var(--line);
background: var(--bg-2);
padding: 28px 18px;
display: flex;
flex-direction: column;
gap: 4px;
position: sticky;
top: 0;
height: 100vh;
overflow: auto;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
padding: 0 8px 28px;
}
.brand-mark {
width: 40px;
height: 40px;
border-radius: 50%;
border: 1px solid var(--ink);
display: flex;
align-items: center;
justify-content: center;
font-family: var(--serif);
font-size: 22px;
font-style: italic;
color: var(--ink);
}
.nav-link {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: var(--r-md);
color: var(--ink-2);
cursor: pointer;
font-size: 14px;
font-weight: 500;
border: none;
background: transparent;
text-align: left;
transition: background 100ms;
}
.nav-link:hover {
background: var(--bg-3);
color: var(--ink);
}
.nav-link.active {
background: var(--surface);
color: var(--ink);
box-shadow: var(--shadow-sm);
border: 1px solid var(--line);
}
.nav-section {
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--ink-3);
padding: 16px 12px 6px;
font-weight: 500;
}
.inv-row:hover {
background: var(--bg-2);
}
@media (max-width: 880px) {
.app-shell {
grid-template-columns: 1fr;
}
.sidebar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
top: auto;
height: auto;
flex-direction: row;
padding: 8px 12px;
border-top: 1px solid var(--line);
border-right: none;
z-index: 30;
overflow-x: auto;
}
.brand,
.nav-section {
display: none;
}
.nav-link {
white-space: nowrap;
padding: 8px 12px;
}
.main {
padding-bottom: 60px;
}
}