Lass ein Kapitel im Vorgang am Kopf ziehen, damit die Reihenfolge samt Inhalt erhalten bleibt.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
7ef73ad500
commit
1621a7eb2f
3 files changed
+150
-110
No files matched your search
@@ -440,13 +440,19 @@ label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(-
|
||||
.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-top: 18px; }
|
||||
.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,
|
||||
.chapter-head.is-movable .chapter-move { cursor: auto; touch-action: auto; user-select: auto; }
|
||||
.chapter-title { margin: 22px 0 4px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--text1); font-weight: 700; }
|
||||
.chapter-head .chapter-title { margin: 0; flex: 1 1 8rem; }
|
||||
.chapter-date { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--text3); font-size: 13px; }
|
||||
.chapter-date input { width: auto; }
|
||||
.chapter-move { display: flex; gap: 4px; }
|
||||
.chapter-move button { min-height: 32px; padding: 4px 8px; font-size: 13px; }
|
||||
.content-section.is-dragging { opacity: 0.45; }
|
||||
.content-section.is-chapter-target { box-shadow: inset 0 3px 0 var(--accent); }
|
||||
.content-section.is-chapter-after { box-shadow: inset 0 -3px 0 var(--accent); }
|
||||
.folder-tree, .folder-tree ul { list-style: none; margin: 0; padding: 0; }
|
||||
.folder-tree ul { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--border); }
|
||||
.folder-row { display: flex; align-items: center; gap: 2px; min-height: 32px; border-radius: 6px; }
|
||||
@@ -551,6 +557,9 @@ button.hierarchy__row { width: 100%; min-height: 34px; padding: 6px 8px; border:
|
||||
}
|
||||
.thumb--pdf { pointer-events: none; }
|
||||
.handle {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 28px;
|
||||
min-width: 28px;
|
||||
min-height: 44px;
|
||||
@@ -562,6 +571,7 @@ button.hierarchy__row { width: 100%; min-height: 34px; padding: 6px 8px; border:
|
||||
}
|
||||
.handle:hover, .handle:focus-visible { background: var(--surface2); }
|
||||
.handle__grip {
|
||||
display: block;
|
||||
width: 10px;
|
||||
height: 16px;
|
||||
background-image: radial-gradient(currentColor 1.15px, transparent 1.25px);
|
||||
|
||||
Reference in new issue
Block a user