Verkuerze die Inhaltsliste und fuehre Unterkapitel ein, damit Richtung, Bezuge und Struktur ohne Zusatzzeilen bedienbar bleiben.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
eeeb81148a
commit
e4380261fc
30 files changed
+2384
-430
No files matched your search
+212
-77
@@ -496,7 +496,7 @@ label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(-
|
||||
.content-row__title { font-weight: 650; }
|
||||
.content-row__kind { color: var(--text3); font-size: 13px; }
|
||||
.content-row__move { display: flex; gap: 4px; }
|
||||
.chapter-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
|
||||
.chapter-head { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0 0 2px; padding: 0; border: 0; border-radius: 0; background: transparent; min-height: 32px; }
|
||||
.chapter-head.is-movable { cursor: grab; touch-action: none; user-select: none; }
|
||||
.chapter-head.is-movable:active { cursor: grabbing; }
|
||||
.chapter-head.is-movable .chapter-date,
|
||||
@@ -508,15 +508,30 @@ label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(-
|
||||
.icon-button--compact:hover, .icon-button--compact:focus-visible { background: var(--surface2); color: var(--text1); }
|
||||
.direction-choice { flex: 0 0 auto; }
|
||||
.direction-choice select { width: auto; min-width: 7.5rem; min-height: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
|
||||
.direction-column { flex: 0 0 36px; width: 36px; height: 40px; display: grid; place-items: center; }
|
||||
.direction-column__icon { width: 28px; height: 28px; display: block; }
|
||||
.direction-column__icon--dark { display: none; }
|
||||
.direction-column { flex: none; width: auto; height: auto; min-height: 0; display: grid; place-items: center; }
|
||||
.direction-trigger, .preview-row__menu {
|
||||
width: 36px;
|
||||
min-width: 36px;
|
||||
height: 36px;
|
||||
min-height: 36px;
|
||||
padding: 0;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--text2);
|
||||
font-size: 18px;
|
||||
line-height: 1;
|
||||
}
|
||||
.direction-trigger:hover, .direction-trigger:focus-visible, .preview-row__menu:hover, .preview-row__menu:focus-visible { background: var(--surface2); color: var(--text1); }
|
||||
.direction-column__icon { width: 26px; height: 26px; display: block; }
|
||||
.direction-column__icon.direction-column__icon--local { width: 12px; height: 12px; }
|
||||
.direction-column__icon--dark, .bezug-trigger__icon--dark { display: none; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.direction-column__icon--light { display: none; }
|
||||
.direction-column__icon--dark { display: block; }
|
||||
.direction-column__icon--light, .bezug-trigger__icon--light { display: none; }
|
||||
.direction-column__icon--dark, .bezug-trigger__icon--dark { display: block; }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.direction-column__icon { width: 24px; height: 24px; }
|
||||
.direction-trigger, .preview-row__menu { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
|
||||
.bezug-trigger { width: auto; min-height: 28px; height: 28px; }
|
||||
}
|
||||
.markdown-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
|
||||
.markdown-editor__preview { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; min-height: 8rem; overflow: auto; }
|
||||
@@ -530,7 +545,7 @@ label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(-
|
||||
.chapter-date__label { font-weight: 700; color: var(--text3); }
|
||||
.chapter-date__value { font-variant-numeric: tabular-nums; }
|
||||
.chapter-date input { width: auto; }
|
||||
.content-section--group { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border2); }
|
||||
.content-section--group { margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--border2); }
|
||||
.contents > .content-section--group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
|
||||
.content-section.is-dragging { opacity: 0.45; }
|
||||
.content-section.is-chapter-target { box-shadow: inset 0 3px 0 var(--accent); }
|
||||
@@ -592,33 +607,133 @@ label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(-
|
||||
button.hierarchy__row { width: 100%; min-height: 34px; padding: 6px 8px; border: 0; background: transparent; color: inherit; text-align: left; font: inherit; font-weight: 600; cursor: pointer; }
|
||||
.preview-list { list-style: none; margin: 0; padding: 0; }
|
||||
.preview-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 14px;
|
||||
align-items: flex-start;
|
||||
padding: 14px 0;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto minmax(0, 1fr) auto;
|
||||
column-gap: 8px;
|
||||
align-items: start;
|
||||
padding: 5px 0 6px;
|
||||
border: 0;
|
||||
border-top: 1px solid var(--border);
|
||||
border-radius: 0;
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
background: transparent;
|
||||
}
|
||||
.preview-row--ordered, .preview-row--picking { grid-template-columns: auto auto auto minmax(0, 1fr) auto; }
|
||||
.preview-row--ordered.preview-row--picking { grid-template-columns: auto auto auto auto minmax(0, 1fr) auto; }
|
||||
.preview-row > .insert-line { grid-column: 1 / -1; }
|
||||
.preview-row.is-dragging { opacity: 0.4; }
|
||||
.preview-row__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 18rem; color: inherit; text-decoration: none; }
|
||||
.preview-row__main strong { font-size: 16px; line-height: 1.35; overflow-wrap: break-word; }
|
||||
.preview-row__meta, .preview-row__origin { color: var(--text2); font-size: 13px; overflow-wrap: break-word; }
|
||||
.preview-row__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
|
||||
.source-mark { display: inline-flex; width: 16px; height: 16px; flex: none; }
|
||||
.preview-row__actions { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; align-items: center; }
|
||||
.preview-row__text {
|
||||
color: var(--text);
|
||||
.preview-row__body { display: grid; gap: 2px; min-width: 0; }
|
||||
.preview-row__title, .preview-row__text { color: inherit; text-decoration: none; min-width: 0; }
|
||||
.preview-row__title strong, .preview-row__main strong {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
font-size: 16px;
|
||||
line-height: 1.3;
|
||||
font-weight: 650;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.preview-row__meta, .preview-row__origin { color: var(--text2); font-size: 13px; line-height: 1.3; overflow-wrap: break-word; }
|
||||
.preview-row__meta { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
|
||||
.preview-row__facts { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.source-mark { display: inline-flex; width: 16px; height: 16px; flex: none; }
|
||||
.preview-row__actions { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; align-items: center; }
|
||||
.preview-row__text {
|
||||
color: var(--text2);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.bezug-trigger {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex: none;
|
||||
width: auto;
|
||||
min-height: 28px;
|
||||
height: 28px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--border2);
|
||||
border-radius: 999px;
|
||||
background: transparent;
|
||||
color: var(--brand);
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.bezug-trigger::after { content: ""; position: absolute; inset: -8px; }
|
||||
.bezug-trigger__icon { width: 16px; height: 16px; display: block; }
|
||||
.menu-popover__backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
.menu-popover__backdrop.is-dim { background: rgba(28, 27, 24, 0.28); }
|
||||
.menu-popover__panel {
|
||||
position: fixed;
|
||||
z-index: 41;
|
||||
max-height: min(320px, 70vh);
|
||||
overflow: auto;
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
align-content: start;
|
||||
padding: 6px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border2);
|
||||
border-radius: 12px;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.menu-popover__panel--sheet {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: auto;
|
||||
width: auto;
|
||||
max-height: 70vh;
|
||||
border-radius: 16px 16px 0 0;
|
||||
padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px));
|
||||
}
|
||||
.menu-popover__panel button, .menu-popover__panel a {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
min-height: 44px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
background: transparent;
|
||||
color: var(--text1);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
text-decoration: none;
|
||||
}
|
||||
.menu-popover__panel button[aria-selected="true"] { background: var(--accent-light); color: var(--brand); }
|
||||
.menu-popover__panel button.danger { background: #fcebeb; color: var(--danger); }
|
||||
.menu-popover__label { margin: 6px 4px 0; color: var(--text3); font-size: 12px; font-weight: 700; }
|
||||
.trail__more {
|
||||
min-height: 28px;
|
||||
height: auto;
|
||||
padding: 0 6px;
|
||||
background: transparent;
|
||||
color: var(--brand);
|
||||
font-size: 13px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.trail { margin-bottom: 4px; }
|
||||
.entry-mark {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
flex: 0 0 40px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
flex: 0 0 36px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
position: relative;
|
||||
@@ -626,7 +741,7 @@ button.hierarchy__row { width: 100%; min-height: 34px; padding: 6px 8px; border:
|
||||
border-radius: 10px;
|
||||
background: var(--surface);
|
||||
}
|
||||
.entry-mark--photo { width: 64px; height: 64px; flex-basis: 64px; overflow: hidden; }
|
||||
.entry-mark--photo { width: 36px; height: 36px; flex-basis: 36px; overflow: hidden; }
|
||||
.entry-mark__photo { width: 100%; height: 100%; object-fit: cover; }
|
||||
.entry-mark__badge {
|
||||
position: absolute;
|
||||
@@ -758,35 +873,6 @@ button.hierarchy__row { width: 100%; min-height: 34px; padding: 6px 8px; border:
|
||||
.mail-files { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
|
||||
.mail-files button.is-current { background: var(--accent-light); color: var(--text); }
|
||||
.mail-attachment__caption { margin: 12px 0 0; font-weight: 650; }
|
||||
.preview-row--linked { box-shadow: inset 3px 0 0 var(--accent); }
|
||||
.bezug { flex: 1 1 100%; display: grid; gap: 2px; min-width: 0; }
|
||||
.bezug__link, a.bezug__link, p.bezug__link {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: baseline;
|
||||
justify-content: flex-start;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
margin: 0;
|
||||
padding: 2px 0 2px 10px;
|
||||
border: 0;
|
||||
border-left: 2px solid var(--accent);
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
color: var(--text2);
|
||||
text-align: left;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.bezug__link--reply, a.bezug__link--reply { border-left-color: var(--border2); }
|
||||
p.bezug__link { cursor: default; }
|
||||
.bezug__link span { color: var(--text3); font-size: 12px; font-weight: 700; }
|
||||
.bezug__link strong { color: var(--text1); font-weight: 650; overflow-wrap: anywhere; }
|
||||
.bezug__link em { font-style: normal; color: var(--text3); }
|
||||
.schriftwechsel {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
@@ -835,13 +921,11 @@ p.bezug__link { cursor: default; }
|
||||
|
||||
@media (max-width: 720px) {
|
||||
h1, .page-title { font-size: 24px; }
|
||||
.order-choice { align-items: stretch; flex-direction: column; max-width: none; }
|
||||
.order-choice select { width: 100%; min-width: 0; }
|
||||
.preview-row { gap: 10px 12px; }
|
||||
.preview-row__main { flex-basis: 12rem; }
|
||||
.preview-row__actions { flex: 0 0 auto; margin-left: auto; }
|
||||
.entry-mark { width: 40px; height: 40px; flex-basis: 40px; }
|
||||
.entry-mark--photo { width: 56px; height: 56px; flex-basis: 56px; }
|
||||
.order-choice { align-items: center; flex-direction: row; max-width: none; }
|
||||
.order-choice select { width: auto; min-width: 0; flex: 1; }
|
||||
.preview-row__text { -webkit-line-clamp: 1; }
|
||||
.preview-row__facts { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
|
||||
.entry-mark, .entry-mark--photo { width: 36px; height: 36px; flex-basis: 36px; }
|
||||
}
|
||||
|
||||
@media (max-width: 899px) {
|
||||
@@ -1073,31 +1157,80 @@ p.bezug__link { cursor: default; }
|
||||
}
|
||||
.chapter-link__move { display: flex; gap: 2px; flex: none; align-items: center; }
|
||||
.chapter-link__move button {
|
||||
min-height: 22px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
min-height: 44px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
font-size: 12px;
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
background: transparent;
|
||||
color: var(--text3);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.nav-tree__toggle {
|
||||
width: 44px;
|
||||
min-width: 44px;
|
||||
height: 44px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--text2);
|
||||
font-size: 16px;
|
||||
}
|
||||
.nav-tree__toggle.is-empty { visibility: hidden; }
|
||||
.nav-tree__kind {
|
||||
display: block;
|
||||
color: var(--text3);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.chapter-kind {
|
||||
display: inline;
|
||||
margin-right: 6px;
|
||||
color: var(--text3);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.chapter-nest {
|
||||
margin-left: 12px;
|
||||
padding-left: 10px;
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
.chapter-children { display: grid; gap: 8px; margin-top: 8px; }
|
||||
.pick-bar {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 12px;
|
||||
align-items: end;
|
||||
margin: 0 0 12px;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 10px;
|
||||
background: var(--surface);
|
||||
}
|
||||
.pick-bar button, .pick-bar select, .chapter-menu button, .chapter-menu summary {
|
||||
min-height: 44px;
|
||||
}
|
||||
.pick-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
.chapter-menu { flex-wrap: wrap; }
|
||||
.trail, .chapter-title, .target-line, .export-tree__title { overflow-wrap: anywhere; }
|
||||
.chapter-link__move button:hover:not(:disabled) { background: var(--accent-light); color: var(--brand); }
|
||||
.chapter-link__move button:disabled { opacity: 0.35; }
|
||||
.chapter-add { justify-content: flex-start; }
|
||||
.content-toolbar { align-items: center; margin-bottom: 12px; }
|
||||
.content-toolbar h2 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--text1); }
|
||||
.content-toolbar { align-items: center; margin-bottom: 6px; gap: 8px; }
|
||||
.content-toolbar h2 { display: flex; align-items: baseline; gap: 8px; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--text1); margin: 0; }
|
||||
.content-toolbar__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
|
||||
.content-toolbar__pick { min-height: 36px; padding: 4px 10px; }
|
||||
.order-choice { margin: 0; }
|
||||
.preview-list { display: grid; gap: 8px; }
|
||||
.preview-row {
|
||||
border: 1px solid transparent;
|
||||
border-radius: 16px;
|
||||
padding: 12px;
|
||||
background: transparent;
|
||||
}
|
||||
.preview-list { display: grid; gap: 0; }
|
||||
.preview-row.is-selected { background: var(--accent-light); }
|
||||
.preview-row__main strong { font-size: 17px; }
|
||||
.preview-row__title strong { font-size: 16px; }
|
||||
.entry-mark { border-radius: 10px; }
|
||||
.app-header .jk-logo-frame--plain {
|
||||
width: auto;
|
||||
@@ -1197,12 +1330,14 @@ p.bezug__link { cursor: default; }
|
||||
@media (max-width: 759px) {
|
||||
.rail { display: none; }
|
||||
.app-shell { flex-direction: column; }
|
||||
.workspace-main, .structure { padding-bottom: 96px; }
|
||||
.workspace-main { padding: 8px 12px 88px; }
|
||||
.structure { padding-bottom: 96px; }
|
||||
.mobile-add { display: none; }
|
||||
.page-actions { flex-wrap: wrap; }
|
||||
.surface-tabs { margin: 4px 0 8px; }
|
||||
.export-actions button { flex: 1 1 100%; }
|
||||
.export-tree, .export-review { max-height: none; }
|
||||
.desktop-add { width: 100%; justify-content: center; }
|
||||
.desktop-add { width: auto; justify-content: center; }
|
||||
.modal-overlay { padding: 0; align-items: end; }
|
||||
.modal {
|
||||
width: 100%;
|
||||
|
||||
Reference in new issue
Block a user