feat(hub): refactor archive quotes to list-detail with top-form edit
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5532,37 +5532,49 @@ body.funds-fullscreen-open {
|
||||
}
|
||||
.archive-quotes-list {
|
||||
flex: 1 1 auto;
|
||||
min-height: 420px;
|
||||
min-height: 160px;
|
||||
overflow: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.archive-quote-card {
|
||||
.archive-quote-item {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 8px;
|
||||
background: var(--inset-surface);
|
||||
overflow: hidden;
|
||||
}
|
||||
.archive-quote-summary {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
padding: 8px 10px;
|
||||
color: inherit;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
.archive-quote-open-hint {
|
||||
font-size: 0.7rem;
|
||||
color: var(--accent);
|
||||
white-space: nowrap;
|
||||
.archive-quote-item:hover {
|
||||
border-color: color-mix(in srgb, var(--accent) 40%, var(--border-soft));
|
||||
}
|
||||
.archive-quote-card[open] .archive-quote-open-hint {
|
||||
color: var(--muted);
|
||||
.archive-quote-item.is-selected {
|
||||
border-color: var(--accent);
|
||||
background: color-mix(in srgb, var(--accent) 12%, var(--inset-surface));
|
||||
}
|
||||
.archive-quote-summary::-webkit-details-marker {
|
||||
display: none;
|
||||
.archive-quote-detail {
|
||||
flex: 0 0 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid var(--border-soft);
|
||||
min-height: 140px;
|
||||
max-height: 42vh;
|
||||
}
|
||||
.archive-quote-detail .archive-quote-full {
|
||||
flex: 1 1 auto;
|
||||
min-height: 96px;
|
||||
max-height: 34vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.archive-quote-date {
|
||||
font-weight: 600;
|
||||
@@ -5577,12 +5589,6 @@ body.funds-fullscreen-open {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.archive-quote-body {
|
||||
padding: 0 10px 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.archive-quote-full {
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
@@ -5595,20 +5601,6 @@ body.funds-fullscreen-open {
|
||||
word-break: break-word;
|
||||
max-height: none;
|
||||
}
|
||||
.archive-quote-edit {
|
||||
width: 100%;
|
||||
min-height: 160px;
|
||||
padding: 8px 10px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-soft);
|
||||
background: var(--panel);
|
||||
color: var(--text);
|
||||
font-family: var(--font);
|
||||
font-size: 0.8rem;
|
||||
resize: vertical;
|
||||
line-height: 1.55;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.archive-quote-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@@ -5943,7 +5935,10 @@ body.funds-fullscreen-open {
|
||||
max-height: none;
|
||||
}
|
||||
.archive-quotes-list {
|
||||
min-height: 220px;
|
||||
min-height: 120px;
|
||||
}
|
||||
.archive-quote-detail {
|
||||
max-height: 36vh;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user