Align controls to 36/10 and make create modals full-screen on mobile.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -700,21 +700,22 @@ h1 { margin: 0; font-size: 1.5rem; font-weight: 800; }
|
||||
.head-actions { position: relative; }
|
||||
.add-split { display: flex; position: relative; }
|
||||
.btn {
|
||||
border: 0; border-radius: 12px; padding: 0.65rem 1rem; font-weight: 700;
|
||||
border: 0; border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h);
|
||||
padding: 0 0.95rem; font-weight: 700; box-sizing: border-box;
|
||||
display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; text-decoration: none;
|
||||
}
|
||||
.btn.primary { background: var(--teal); color: #fff; }
|
||||
.btn.split {
|
||||
border-radius: 12px 0 0 12px; padding-inline: 0.55rem;
|
||||
border-radius: var(--radius) 0 0 var(--radius); padding-inline: 0.55rem;
|
||||
border-inline-start: 1px solid rgba(255,255,255,.25);
|
||||
}
|
||||
.add-split .btn.primary:first-child { border-radius: 0 12px 12px 0; }
|
||||
.add-split .btn.primary:first-child { border-radius: 0 var(--radius) var(--radius) 0; }
|
||||
.btn.ghost, .ghost-btn, .icon-btn {
|
||||
border: 1px solid var(--line); background: var(--surface); color: var(--text);
|
||||
border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
|
||||
border-radius: var(--radius); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
|
||||
}
|
||||
.ghost-btn { padding: 0.55rem 0.8rem; font-weight: 600; }
|
||||
.icon-btn { width: 40px; height: 40px; position: relative; }
|
||||
.ghost-btn { min-height: var(--control-h); height: var(--control-h); padding: 0 0.8rem; font-weight: 600; box-sizing: border-box; }
|
||||
.icon-btn { width: var(--control-h); height: var(--control-h); position: relative; }
|
||||
.icon-btn.sm { width: 32px; height: 32px; }
|
||||
.icon-btn.ghost { border: 0; background: transparent; color: #94a3b8; }
|
||||
.add-doc { color: var(--teal); }
|
||||
@@ -764,20 +765,29 @@ h1 { margin: 0; font-size: 1.5rem; font-weight: 800; }
|
||||
.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
|
||||
.search {
|
||||
flex: 1 1 220px; display: flex; align-items: center; gap: 0.45rem;
|
||||
border: 1px solid var(--line); border-radius: 12px; padding: 0.55rem 0.75rem; background: #fff; color: var(--muted);
|
||||
border: 1px solid var(--line); border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h);
|
||||
padding: 0 0.75rem; background: #fff; color: var(--muted); box-sizing: border-box;
|
||||
}
|
||||
.search input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--text); }
|
||||
.search .mob-ph { display: none; }
|
||||
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
|
||||
.filter-chip {
|
||||
display: inline-flex; align-items: center; gap: 0.35rem;
|
||||
border: 1px solid var(--line); border-radius: 12px; padding: 0.25rem 0.55rem;
|
||||
background: #fff; color: #94a3b8; min-height: 42px;
|
||||
display: inline-flex; align-items: center; gap: 0.3rem; flex-wrap: nowrap;
|
||||
border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0.55rem;
|
||||
background: #fff; color: #94a3b8; min-height: var(--control-h); height: var(--control-h);
|
||||
box-sizing: border-box; white-space: nowrap;
|
||||
}
|
||||
.filter-chip select, .filter-chip :deep(button), .filter-chip :deep(input) {
|
||||
border: 0; background: transparent; outline: 0; min-height: 34px; color: var(--text);
|
||||
border: 0; background: transparent; outline: 0; min-height: 0; height: 32px; color: var(--text);
|
||||
}
|
||||
.filter-chip .sep { color: #cbd5e1; }
|
||||
.filter-chip :deep(.wrap) { width: auto; flex: 0 1 auto; }
|
||||
.filter-chip :deep(.trigger) {
|
||||
width: auto; min-width: 5.4rem; height: 32px; min-height: 32px;
|
||||
padding: 0 0.2rem; border: 0; box-shadow: none;
|
||||
}
|
||||
.filter-chip :deep(.trigger span) { white-space: nowrap; }
|
||||
.filter-chip :deep(.trigger .ico) { display: none; }
|
||||
.filter-chip .sep { color: #cbd5e1; flex-shrink: 0; }
|
||||
|
||||
.table-wrap {
|
||||
background: #fff; border: 1px solid #eef2f7; border-radius: 16px; overflow: auto;
|
||||
@@ -906,7 +916,7 @@ tbody tr:nth-child(even) { background: #fcfdff; }
|
||||
.search .mob-ph { display: block; }
|
||||
.toolbar { flex-wrap: nowrap; }
|
||||
.more-filters {
|
||||
width: 44px; height: 44px; padding: 0; flex-shrink: 0; border-radius: 12px;
|
||||
width: var(--control-h); height: var(--control-h); padding: 0; flex-shrink: 0; border-radius: var(--radius);
|
||||
}
|
||||
.page { padding-bottom: 6rem; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user