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:
@@ -777,8 +777,8 @@ h1 { margin: 0; font-size: 1.4rem; font-weight: 800; }
|
||||
position: absolute; inset-inline-start: 0.7rem; color: #94a3b8; pointer-events: none; z-index: 1;
|
||||
}
|
||||
.control input, .control select, .control textarea, .search input, .mob-filter select {
|
||||
width: 100%; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.65rem 0.8rem;
|
||||
background: #fff; font: inherit; color: inherit;
|
||||
width: 100%; border: 1px solid #e2e8f0; border-radius: var(--radius); min-height: var(--control-h);
|
||||
padding: 0 0.8rem; background: #fff; font: inherit; color: inherit; box-sizing: border-box;
|
||||
}
|
||||
.control input, .control select, .control textarea { padding-inline-start: 2.2rem; }
|
||||
.control.area textarea { min-height: 84px; resize: vertical; }
|
||||
@@ -790,7 +790,8 @@ h1 { margin: 0; font-size: 1.4rem; font-weight: 800; }
|
||||
margin: 0; display: flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; color: var(--teal);
|
||||
}
|
||||
.btn {
|
||||
border: 0; border-radius: 12px; min-height: 44px; padding: 0.55rem 1rem; font-weight: 800;
|
||||
border: 0; border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h);
|
||||
padding: 0 1rem; font-weight: 800; box-sizing: border-box;
|
||||
display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: pointer;
|
||||
}
|
||||
.btn.primary { background: var(--teal); color: #fff; }
|
||||
@@ -801,7 +802,8 @@ h1 { margin: 0; font-size: 1.4rem; font-weight: 800; }
|
||||
.toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
|
||||
.search {
|
||||
flex: 1 1 180px; display: flex; align-items: center; gap: 0.4rem;
|
||||
border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.45rem 0.7rem; color: #94a3b8; background: #fff;
|
||||
border: 1px solid #e2e8f0; border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h);
|
||||
padding: 0 0.7rem; color: #94a3b8; background: #fff; box-sizing: border-box;
|
||||
}
|
||||
.search input { border: 0; outline: 0; background: transparent; color: var(--text); }
|
||||
.status-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; }
|
||||
@@ -813,7 +815,8 @@ h1 { margin: 0; font-size: 1.4rem; font-weight: 800; }
|
||||
.status-tabs button.warn.on { background: #f59e0b; }
|
||||
.date-range {
|
||||
display: inline-flex; align-items: center; gap: 0.3rem; border: 1px solid #e2e8f0;
|
||||
border-radius: 12px; padding: 0.2rem 0.5rem; color: #94a3b8; background: #fff;
|
||||
border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h);
|
||||
padding: 0 0.5rem; color: #94a3b8; background: #fff; box-sizing: border-box;
|
||||
}
|
||||
.date-range :deep(button), .date-range :deep(input) { border: 0; background: transparent; min-height: 34px; }
|
||||
|
||||
@@ -923,10 +926,10 @@ th { background: #f8fafc; color: #64748b; font-weight: 700; white-space: nowrap;
|
||||
.kpi-row { grid-template-columns: 1fr; }
|
||||
.mob-tabs {
|
||||
display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.28rem;
|
||||
background: #f1f5f9; border-radius: 14px;
|
||||
background: #f1f5f9; border-radius: var(--radius);
|
||||
}
|
||||
.mob-tabs button {
|
||||
border: 0; border-radius: 12px; min-height: 42px; background: transparent; color: #64748b;
|
||||
border: 0; border-radius: 8px; min-height: var(--control-h); height: var(--control-h); background: transparent; color: #64748b;
|
||||
font-weight: 800; cursor: pointer;
|
||||
}
|
||||
.mob-tabs button.on { background: var(--teal); color: #fff; }
|
||||
|
||||
Reference in New Issue
Block a user