Release 0.3.0

This commit is contained in:
hnzio committed 2026-10-21 21:05:57 +02:00
1 parent 08e8875cb5
commit 7590be66a5
31 files changed
+3270 -151

No files matched your search

+611 -2
View File
@@ -79,7 +79,8 @@ body {
button,
input,
select {
select,
textarea {
font: inherit;
}
@@ -1291,7 +1292,9 @@ a {
background: transparent;
}
.secondary-button:disabled {
.primary-button:disabled,
.secondary-button:disabled,
.text-button:disabled {
cursor: not-allowed;
opacity: 0.55;
}
@@ -1464,6 +1467,560 @@ a {
margin-top: 1rem;
}
.editable-taxonomy span {
padding-right: 0.25rem;
}
.editable-taxonomy form {
display: inline-flex;
}
.editable-taxonomy button {
display: grid;
width: 1.25rem;
height: 1.25rem;
padding: 0;
place-items: center;
border: 0;
border-radius: 50%;
background: transparent;
color: var(--text-faint);
cursor: pointer;
}
.taxonomy-form {
display: flex;
align-items: center;
gap: 0.35rem;
margin-top: 0.75rem;
}
.taxonomy-form label:first-of-type {
min-width: 0;
flex: 1;
}
.taxonomy-form input:not([type='color']) {
width: 100%;
min-height: 2.25rem;
padding: 0.4rem 0.55rem;
border: 1px solid var(--line);
border-radius: 0.55rem;
background: var(--panel-strong);
color: var(--text);
}
.taxonomy-form input[type='color'] {
width: 2.3rem;
height: 2.25rem;
padding: 0.2rem;
border: 1px solid var(--line);
border-radius: 0.55rem;
background: var(--panel-strong);
}
.template-picker {
margin-bottom: 0.85rem;
border: 1px solid var(--line);
border-radius: var(--radius-medium);
background: var(--panel);
}
.template-picker summary {
padding: 0.75rem 0.9rem;
cursor: pointer;
font-size: 0.8rem;
font-weight: 720;
}
.template-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.6rem;
padding: 0 0.75rem 0.75rem;
}
.template-grid button {
display: grid;
width: 100%;
min-height: 5rem;
gap: 0.2rem;
padding: 0.75rem;
border: 1px solid var(--line);
border-radius: var(--radius-small);
background: var(--panel-soft);
color: var(--text);
cursor: pointer;
text-align: left;
}
.template-grid button span {
color: var(--text-muted);
font-size: 0.7rem;
line-height: 1.35;
}
.library-filters {
display: grid;
grid-template-columns: minmax(15rem, 1.5fr) repeat(4, minmax(7rem, 0.65fr)) auto auto;
align-items: end;
gap: 0.55rem;
margin-bottom: 0.75rem;
}
.library-filters > label:not(.search-field) {
display: grid;
gap: 0.2rem;
color: var(--text-muted);
font-size: 0.62rem;
font-weight: 700;
}
.library-filters select {
min-width: 0;
height: 2.5rem;
padding: 0.35rem 0.5rem;
border: 1px solid var(--line);
border-radius: 0.7rem;
background: var(--panel);
color: var(--text);
}
.text-link {
color: var(--accent);
font-size: 0.72rem;
font-weight: 720;
}
.piece-card {
grid-template-columns: auto minmax(0, 1.65fr) minmax(8rem, 0.85fr) minmax(9rem, auto) auto;
}
.piece-thumbnail {
width: 3.8rem;
height: 3.8rem;
border-radius: 0.72rem;
object-fit: cover;
}
.piece-thumbnail-placeholder {
display: grid;
place-items: center;
background: var(--panel-soft);
color: var(--text-faint);
font-size: 0.75rem;
font-weight: 800;
}
.piece-primary h2 a:hover {
color: var(--accent);
}
.piece-actions {
display: grid;
justify-items: end;
gap: 0.22rem;
}
.danger-text {
color: var(--danger) !important;
}
.capture-panel {
padding: 1rem;
}
.capture-panel h2,
.inbox-list h2 {
margin: 0.18rem 0 0.8rem;
font-size: 1rem;
}
.capture-form,
.upload-form {
display: grid;
grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 1fr) auto;
align-items: end;
gap: 0.65rem;
}
.capture-form label,
.upload-form label {
display: grid;
gap: 0.25rem;
color: var(--text-muted);
font-size: 0.7rem;
font-weight: 700;
}
.capture-form label span {
color: var(--text-faint);
font-weight: 500;
}
.capture-form input,
.upload-form input {
width: 100%;
min-height: 2.6rem;
padding: 0.5rem 0.65rem;
border: 1px solid var(--line-strong);
border-radius: var(--radius-small);
background: var(--panel-strong);
color: var(--text);
}
.inbox-list {
margin-top: 1rem;
}
.inbox-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--line);
font-size: 0.76rem;
}
.inbox-item > span:first-child {
display: grid;
}
.inbox-item small {
color: var(--text-muted);
}
.archive-list {
display: grid;
gap: 0.65rem;
}
.archive-list article {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.85rem 1rem;
border: 1px solid var(--line);
border-radius: var(--radius-medium);
background: var(--panel);
}
.archive-list h2 {
margin: 0;
font-size: 0.92rem;
}
.archive-list p {
margin: 0.15rem 0 0;
color: var(--text-muted);
font-size: 0.74rem;
}
.editor-page {
max-width: 82rem;
}
.editor-header {
display: flex;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
}
.editor-header h1 {
margin: 0.25rem 0 0;
font-size: clamp(1.5rem, 2.4vw, 2.2rem);
letter-spacing: -0.035em;
}
.back-link {
color: var(--text-muted);
font-size: 0.72rem;
font-weight: 700;
}
.save-indicator {
display: flex;
align-items: center;
gap: 0.45rem;
color: var(--text-muted);
font-size: 0.72rem;
}
.save-indicator i {
width: 0.48rem;
height: 0.48rem;
border-radius: 50%;
background: var(--accent);
}
.save-indicator.problem,
.editor-savebar .problem {
color: var(--danger);
}
.save-indicator.problem i {
background: var(--danger);
}
.piece-editor {
display: grid;
gap: 0.75rem;
}
.editor-section {
padding: 1rem;
border: 1px solid var(--line);
border-radius: var(--radius-large);
background: var(--panel);
}
.section-title {
margin-bottom: 0.8rem;
}
.section-title h2 {
margin: 0.15rem 0 0;
font-size: 1rem;
}
.section-title small {
color: var(--text-muted);
font-size: 0.68rem;
}
.split-section-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.editor-fields,
.markdown-grid {
display: grid;
gap: 0.65rem;
}
.two-columns,
.markdown-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wide-field {
grid-column: 1 / -1;
}
.editor-fields label,
.markdown-grid > label,
.source-row label {
display: grid;
min-width: 0;
gap: 0.25rem;
color: var(--text-muted);
font-size: 0.7rem;
font-weight: 700;
}
.editor-fields input,
.editor-fields select,
.editor-fields textarea,
.markdown-grid textarea,
.source-row input {
width: 100%;
min-width: 0;
padding: 0.55rem 0.65rem;
border: 1px solid var(--line-strong);
border-radius: var(--radius-small);
background: var(--panel-strong);
color: var(--text);
}
.editor-fields input,
.editor-fields select,
.source-row input {
min-height: 2.6rem;
}
.editor-fields textarea,
.markdown-grid textarea {
resize: vertical;
}
.taxonomy-editor fieldset {
margin: 0 0 0.75rem;
padding: 0;
border: 0;
}
.taxonomy-editor legend {
margin-bottom: 0.4rem;
color: var(--text-muted);
font-size: 0.7rem;
font-weight: 700;
}
.choice-grid {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
}
.choice-grid label {
display: flex;
align-items: center;
gap: 0.35rem;
padding: 0.38rem 0.55rem;
border: 1px solid var(--line);
border-radius: 2rem;
font-size: 0.7rem;
}
.choice-grid i {
width: 0.45rem;
height: 0.45rem;
border-radius: 50%;
background: var(--choice-color);
}
.private-field {
padding: 0.65rem;
border: 1px solid color-mix(in srgb, var(--gold) 42%, var(--line));
border-radius: var(--radius-medium);
background: color-mix(in srgb, var(--gold) 6%, var(--panel));
}
.markdown-preview {
min-height: 3.2rem;
padding: 0.65rem;
border: 1px dashed var(--line);
border-radius: var(--radius-small);
color: var(--text-muted);
font-size: 0.76rem;
font-weight: 400;
line-height: 1.55;
overflow-wrap: anywhere;
}
.markdown-preview > :first-child {
margin-top: 0;
}
.markdown-preview > :last-child {
margin-bottom: 0;
}
.markdown-preview a {
color: var(--accent);
text-decoration: underline;
}
.markdown-preview pre {
overflow-x: auto;
padding: 0.5rem;
border-radius: 0.4rem;
background: var(--panel-soft);
}
.source-list {
display: grid;
gap: 0.55rem;
}
.source-row {
display: grid;
grid-template-columns: minmax(8rem, 0.65fr) minmax(14rem, 1.5fr) minmax(8rem, 0.6fr) auto;
align-items: end;
gap: 0.5rem;
padding-bottom: 0.55rem;
border-bottom: 1px solid var(--line);
}
.editor-savebar {
position: sticky;
z-index: 5;
bottom: 0.75rem;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.75rem;
padding: 0.55rem;
border: 1px solid var(--line);
border-radius: var(--radius-medium);
background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
box-shadow: var(--shadow);
backdrop-filter: blur(18px);
}
.editor-savebar span {
color: var(--text-muted);
font-size: 0.7rem;
}
.media-editor {
margin-top: 0.75rem;
}
.media-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
gap: 0.6rem;
margin-bottom: 0.75rem;
}
.media-grid figure {
margin: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius-medium);
background: var(--panel-soft);
}
.media-grid img {
display: block;
width: 100%;
height: 8rem;
object-fit: cover;
}
.media-grid figcaption {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.4rem;
padding: 0.45rem;
font-size: 0.65rem;
}
.editor-actions {
display: flex;
justify-content: space-between;
gap: 0.75rem;
margin-top: 0.75rem;
}
@media (max-width: 72rem) {
.library-filters {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.library-filters .search-field {
grid-column: 1 / -1;
}
.piece-card {
grid-template-columns: auto minmax(0, 1fr) minmax(8rem, 0.7fr) auto;
}
.piece-state {
grid-column: 2 / 4;
align-items: flex-start;
}
.source-row {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 72rem) {
.page-wrap {
padding-inline: 2rem;
@@ -1575,6 +2132,44 @@ a {
.page-heading h1 {
font-size: 1.75rem;
}
.template-grid,
.two-columns,
.markdown-grid,
.library-filters,
.capture-form,
.upload-form,
.source-row {
grid-template-columns: 1fr;
}
.library-filters .search-field,
.wide-field {
grid-column: auto;
}
.editor-header {
align-items: flex-start;
flex-direction: column;
}
.editor-section {
padding: 0.85rem;
border-radius: var(--radius-medium);
}
.editor-savebar {
bottom: calc(var(--mobile-nav) + 0.6rem);
justify-content: space-between;
}
.split-section-title,
.archive-list article {
align-items: stretch;
flex-direction: column;
}
.editor-actions {
align-items: stretch;
flex-direction: column;
}
.editor-actions form,
.editor-actions button {
width: 100%;
}
.show-heading,
.live-header {
align-items: flex-start;
@@ -1613,6 +2208,13 @@ a {
border-radius: var(--radius-medium);
background: var(--panel);
}
.piece-thumbnail {
width: 100%;
height: 8rem;
}
.piece-thumbnail-placeholder {
display: none;
}
.piece-card:last-child {
border-bottom: 1px solid var(--line);
}
@@ -1641,6 +2243,13 @@ a {
.piece-facts {
justify-content: flex-start;
}
.piece-actions {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: flex-start;
gap: 0.7rem;
}
.show-summary {
width: 100%;
flex-wrap: wrap;