feat(native): align, take over, and reorder start page refinements
Add centered/top alignment, a default-on start-page takeover switch, icon-plus-title More rows, and share the row-count input between settings and the reorder dialog.
This commit is contained in:
1 parent
a92252c5d3
commit
a4d11d7c09
38 files changed
+459
-48
No files matched your search
@@ -1,6 +1,8 @@
|
||||
/* The start page: a centered, scrollable two-column card grid over the host
|
||||
guide body. Every visual value is a host token (no hardcoded colors). */
|
||||
.root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
box-sizing: border-box;
|
||||
@@ -8,6 +10,17 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* Vertical placement: auto block margins center the grid while it fits and
|
||||
collapse to zero once it is taller than the pane, so scrolling still starts
|
||||
at the first card. */
|
||||
.rootCenter .guide {
|
||||
margin-block: auto;
|
||||
}
|
||||
|
||||
.rootTop .guide {
|
||||
margin-block: 0;
|
||||
}
|
||||
|
||||
.guide {
|
||||
width: 100%;
|
||||
max-width: 760px;
|
||||
@@ -261,6 +274,39 @@
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.rowsInput {
|
||||
width: 76px;
|
||||
}
|
||||
|
||||
.dialogRow {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 0 2px 12px;
|
||||
margin-bottom: 4px;
|
||||
border-bottom: 1px solid var(--dsw-alias-border-l2);
|
||||
}
|
||||
|
||||
.dialogRowText {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dialogRowTitle {
|
||||
color: var(--dsw-alias-label-primary);
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.dialogRowDesc {
|
||||
color: var(--dsw-alias-label-tertiary);
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
}
|
||||
|
||||
.dialogDone {
|
||||
min-width: 72px;
|
||||
padding: 6px 14px;
|
||||
|
||||
Reference in new issue
Block a user