Feat v0.6.13 responsive spacing
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
Add spacing token scale (--sp-1 through --sp-12, 4px grid) and tablet breakpoint (max-width: 1024px). Migrate all kernel CSS and 12 in-tree extension packages from hardcoded padding/margin/gap to design tokens. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
.ext-dashboard-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
padding: 0 16px;
|
||||
gap: var(--sp-3);
|
||||
padding: 0 var(--sp-4);
|
||||
height: 44px;
|
||||
flex-shrink: 0;
|
||||
background: var(--bg-secondary);
|
||||
@@ -29,12 +29,12 @@
|
||||
.ext-dashboard-topbar-back {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: var(--sp-1);
|
||||
color: var(--text-2);
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
padding: 4px 8px;
|
||||
padding: var(--sp-1) var(--sp-2);
|
||||
border-radius: var(--radius);
|
||||
transition: color 0.15s, background 0.15s;
|
||||
}
|
||||
@@ -84,7 +84,7 @@
|
||||
.ext-dashboard-main {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 20px;
|
||||
padding: var(--sp-5);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
@@ -92,20 +92,20 @@
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: var(--sp-1);
|
||||
}
|
||||
|
||||
.ext-dashboard-subtitle {
|
||||
font-size: 13px;
|
||||
color: var(--text-3);
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--sp-5);
|
||||
}
|
||||
|
||||
.ext-dashboard-filter-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 16px;
|
||||
gap: var(--sp-3);
|
||||
margin-bottom: var(--sp-4);
|
||||
}
|
||||
|
||||
.ext-dashboard-filter-label {
|
||||
@@ -121,17 +121,17 @@
|
||||
.ext-dashboard-cards {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||||
gap: 12px;
|
||||
gap: var(--sp-3);
|
||||
}
|
||||
|
||||
.ext-dashboard-card {
|
||||
background: var(--bg-raised);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 16px;
|
||||
padding: var(--sp-4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
gap: var(--sp-2);
|
||||
transition: border-color 0.15s;
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
.ext-dashboard-card-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: var(--sp-2);
|
||||
}
|
||||
|
||||
.ext-dashboard-card-title {
|
||||
@@ -169,21 +169,21 @@
|
||||
.ext-dashboard-card-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 4px;
|
||||
margin-top: var(--sp-1);
|
||||
}
|
||||
|
||||
.ext-dashboard-empty {
|
||||
text-align: center;
|
||||
color: var(--text-3);
|
||||
font-size: 13px;
|
||||
padding: 40px 20px;
|
||||
padding: var(--sp-10) var(--sp-5);
|
||||
}
|
||||
|
||||
/* ── Admin Section ───────────────────────── */
|
||||
|
||||
.ext-dashboard-admin-section {
|
||||
margin-top: 24px;
|
||||
padding-top: 16px;
|
||||
margin-top: var(--sp-6);
|
||||
padding-top: var(--sp-4);
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
|
||||
@@ -193,5 +193,5 @@
|
||||
color: var(--text-2);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: var(--sp-3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user