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:
2026-09-10 23:45:11 +03:30
co-authored by Cursor
parent 212d02f664
commit 535c428270
36 changed files with 454 additions and 238 deletions
+8 -4
View File
@@ -655,14 +655,15 @@ onBeforeUnmount(() => {
.trigger { .trigger {
width: 100%; width: 100%;
min-height: 44px; min-height: var(--control-h);
height: var(--control-h);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: 0.6rem; gap: 0.45rem;
border: 1px solid var(--line, #e2e8f0); border: 1px solid var(--line, #e2e8f0);
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; padding: 0 0.75rem;
background: #fff; background: #fff;
color: #0f172a; color: #0f172a;
font: inherit; font: inherit;
@@ -739,6 +740,9 @@ onBeforeUnmount(() => {
.trigger span { .trigger span {
min-width: 0; min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
.trigger .empty { .trigger .empty {
@@ -318,8 +318,9 @@ onBeforeUnmount(() => {
border: 1px solid #d7e3dc; border: 1px solid #d7e3dc;
background: #f4faf7; background: #f4faf7;
color: #0f766e; color: #0f766e;
border-radius: 999px; border-radius: var(--radius);
min-height: 36px; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.75rem; padding: 0 0.75rem;
font: inherit; font: inherit;
font-size: 0.8rem; font-size: 0.8rem;
@@ -335,13 +336,13 @@ onBeforeUnmount(() => {
border-color: #5eead4; border-color: #5eead4;
background: #042f2e; background: #042f2e;
color: #ecfdf5; color: #ecfdf5;
min-height: 44px; min-height: var(--control-h);
padding-inline: 0.7rem 0.85rem; padding-inline: 0.7rem 0.85rem;
box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22); box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
} }
.vtt.busy { .vtt.busy {
min-height: 44px; min-height: var(--control-h);
border-color: #99f6e4; border-color: #99f6e4;
background: #ecfdf5; background: #ecfdf5;
color: #0f766e; color: #0f766e;
@@ -411,9 +412,10 @@ onBeforeUnmount(() => {
.toolbar.wait .vtt { .toolbar.wait .vtt {
width: auto; width: auto;
height: auto; height: auto;
min-height: 40px; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.7rem; padding: 0 0.7rem;
border-radius: 999px; border-radius: var(--radius);
} }
.toolbar .vtt.on { .toolbar .vtt.on {
@@ -555,8 +555,9 @@ onBeforeUnmount(() => {
} }
.act { .act {
min-height: 48px; min-height: var(--control-h);
border-radius: 14px; height: var(--control-h);
border-radius: var(--radius);
font: inherit; font: inherit;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
@@ -396,9 +396,10 @@ onBeforeUnmount(() => {
.picker input { .picker input {
width: 100%; width: 100%;
min-height: 44px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.45rem 0.7rem; padding: 0.45rem 0.7rem;
font: inherit; font: inherit;
color: #0f172a; color: #0f172a;
@@ -143,8 +143,9 @@ p {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.4rem; gap: 0.4rem;
min-height: 48px; min-height: var(--control-h);
border-radius: 16px; height: var(--control-h);
border-radius: var(--radius);
font-weight: 700; font-weight: 700;
font-size: 0.9rem; font-size: 0.9rem;
} }
@@ -188,9 +189,10 @@ p {
.btn-primary, .btn-primary,
.btn-secondary { .btn-secondary {
min-height: 46px; min-height: var(--control-h);
height: var(--control-h);
font-size: 0.86rem; font-size: 0.86rem;
border-radius: 14px; border-radius: var(--radius);
} }
} }
</style> </style>
+74
View File
@@ -122,4 +122,78 @@ function onBackdrop(event: MouseEvent) {
padding-top: 0; padding-top: 0;
border-top: 1px solid #f1f5f9; border-top: 1px solid #f1f5f9;
} }
@media (max-width: 900px) {
.backdrop {
padding: 0;
place-items: stretch;
}
.dialog {
width: 100%;
height: 100%;
max-height: 100dvh;
border-radius: 0;
border: 0;
}
.head {
flex-shrink: 0;
padding: 0.75rem 1rem 0;
}
.body {
flex: 1;
min-height: 0;
overflow: auto;
display: flex;
flex-direction: column;
padding: 0.75rem 1rem;
}
.body:has(.page.embedded) {
overflow: hidden;
padding-bottom: 0;
}
.body :deep(.page.embedded) {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
gap: 0.75rem;
}
.body :deep(.page.embedded > .form),
.body :deep(.page.embedded > form) {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
}
.body :deep(.embed-actions) {
order: 20;
flex: 0 0 auto;
position: sticky;
bottom: 0;
margin-top: auto;
margin-inline: -1rem;
display: flex;
gap: 0.5rem;
padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
background: #fff;
border-top: 1px solid #f1f5f9;
z-index: 3;
}
.body :deep(.embed-actions .btn) {
flex: 1;
min-width: 0;
}
.foot {
flex-shrink: 0;
padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
}
}
</style> </style>
+23 -25
View File
@@ -1038,15 +1038,17 @@ onUnmounted(() => {
.sidebar.collapsed .brand-row { .sidebar.collapsed .brand-row {
width: max-content; width: max-content;
max-width: none; max-width: none;
height: 49px; height: var(--control-h);
min-height: var(--control-h);
box-sizing: border-box; box-sizing: border-box;
overflow: hidden;
align-self: flex-start; align-self: flex-start;
align-items: center; align-items: center;
justify-content: flex-start; justify-content: flex-start;
z-index: 3; z-index: 3;
padding: 0.25rem 0.55rem; padding: 0 0.5rem;
background: #fff; background: #fff;
border-radius: 18px; border-radius: var(--radius);
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
} }
@@ -1055,7 +1057,7 @@ onUnmounted(() => {
width: max-content; width: max-content;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
gap: 1.5rem; gap: 0.55rem;
} }
.sidebar.collapsed .sidebar-logo, .sidebar.collapsed .sidebar-logo,
@@ -1080,22 +1082,16 @@ onUnmounted(() => {
} }
.sidebar.collapsed .profile-card { .sidebar.collapsed .profile-card {
flex-direction: column; flex-direction: row;
align-items: center; align-items: center;
max-width: 4.8rem; max-width: none;
flex: 0 0 auto; flex: 0 0 auto;
gap: 0.05rem; gap: 0;
padding: 0; padding: 0;
} }
.sidebar.collapsed .profile-meta { .sidebar.collapsed .profile-meta {
text-align: center; display: none;
}
.sidebar.collapsed .profile-meta strong {
font-size: 0.62rem;
line-height: 1.1;
white-space: nowrap;
} }
.sidebar.collapsed .avatar-wrap, .sidebar.collapsed .avatar-wrap,
@@ -1163,10 +1159,10 @@ onUnmounted(() => {
display: grid; display: grid;
place-items: center; place-items: center;
flex-shrink: 0; flex-shrink: 0;
min-height: 42px; min-height: var(--control-h);
height: 42px; height: var(--control-h);
padding: 0; padding: 0;
border-radius: 12px; border-radius: var(--radius);
position: relative; position: relative;
} }
@@ -1212,9 +1208,9 @@ onUnmounted(() => {
display: grid; display: grid;
place-items: center; place-items: center;
width: 100%; width: 100%;
min-height: 42px; min-height: var(--control-h);
padding: 0; padding: 0;
border-radius: 12px; border-radius: var(--radius);
color: #94a3b8; color: #94a3b8;
} }
@@ -1260,7 +1256,7 @@ onUnmounted(() => {
.desktop-topbar { .desktop-topbar {
display: grid; display: grid;
grid-template-columns: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr) auto;
align-items: start; align-items: center;
gap: 1rem; gap: 1rem;
min-width: 0; min-width: 0;
/* همان فاصله بالای سایدبار شناور (14px) */ /* همان فاصله بالای سایدبار شناور (14px) */
@@ -1307,9 +1303,9 @@ onUnmounted(() => {
.round-btn { .round-btn {
position: relative; position: relative;
width: 42px; width: var(--control-h);
height: 42px; height: var(--control-h);
border-radius: 999px; border-radius: var(--radius);
border: 0; border: 0;
background: #fff; background: #fff;
color: #64748b; color: #64748b;
@@ -1334,8 +1330,10 @@ onUnmounted(() => {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.45rem; gap: 0.45rem;
padding: 0.55rem 0.85rem; height: var(--control-h);
border-radius: 999px; box-sizing: border-box;
padding: 0 0.75rem;
border-radius: var(--radius);
background: #fff; background: #fff;
color: #64748b; color: #64748b;
font-size: 0.84rem; font-size: 0.84rem;
-4
View File
@@ -139,8 +139,4 @@ textarea {
h1 { h1 {
font-size: clamp(1.35rem, 5vw, 1.75rem); font-size: clamp(1.35rem, 5vw, 1.75rem);
} }
.btn {
padding: 0.7rem 0.95rem;
}
} }
@@ -426,9 +426,9 @@ h2 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+3 -3
View File
@@ -644,9 +644,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+3 -2
View File
@@ -585,8 +585,9 @@ dd {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.3rem; gap: 0.3rem;
min-height: 46px; min-height: var(--control-h);
border-radius: 14px; height: var(--control-h);
border-radius: var(--radius);
border: 1px solid #99f6e4; border: 1px solid #99f6e4;
background: #fff; background: #fff;
color: #0f766e; color: #0f766e;
+27 -15
View File
@@ -755,17 +755,26 @@ watch([id, isNew], () => void load(), { immediate: true });
.note-card textarea { .note-card textarea {
width: 100%; width: 100%;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.75rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
box-sizing: border-box;
}
.field textarea,
.note-card textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.picker { .picker {
width: 100%; width: 100%;
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -917,15 +926,16 @@ watch([id, isNew], () => void load(), { immediate: true });
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.2rem; padding: 0.15rem;
} }
.stepper button { .stepper button {
width: 40px; width: 28px;
height: 40px; height: 28px;
border: 0; border: 0;
border-radius: 10px; border-radius: 10px;
background: #f0fdfa; background: #f0fdfa;
@@ -1000,7 +1010,8 @@ watch([id, isNew], () => void load(), { immediate: true });
.reminder :deep(.trigger) { .reminder :deep(.trigger) {
border: 0; border: 0;
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
padding-inline: 0.15rem; padding-inline: 0.15rem;
} }
@@ -1094,9 +1105,9 @@ watch([id, isNew], () => void load(), { immediate: true });
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 44px; min-height: var(--control-h);
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.95rem; padding: 0 0.95rem;
font: inherit; font: inherit;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
@@ -1134,8 +1145,9 @@ watch([id, isNew], () => void load(), { immediate: true });
.mobile-save .btn { .mobile-save .btn {
width: 100%; width: 100%;
min-height: 50px; min-height: var(--control-h);
border-radius: 14px; height: var(--control-h);
border-radius: var(--radius);
} }
@media (min-width: 960px) { @media (min-width: 960px) {
@@ -552,9 +552,9 @@ h2 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+14 -7
View File
@@ -307,8 +307,8 @@ h1 {
} }
.icon-btn { .icon-btn {
width: 40px; width: var(--control-h);
height: 40px; height: var(--control-h);
border: 0; border: 0;
background: none; background: none;
color: #0f766e; color: #0f766e;
@@ -355,10 +355,17 @@ h1 {
.field textarea { .field textarea {
width: 100%; width: 100%;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
box-sizing: border-box;
}
.field textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.muted { .muted {
@@ -376,9 +383,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+13 -9
View File
@@ -593,9 +593,9 @@ h1 {
} }
.add-btn { .add-btn {
width: 46px; width: var(--control-h);
height: 46px; height: var(--control-h);
border-radius: 50%; border-radius: var(--radius);
background: #14b8a6; background: #14b8a6;
color: #fff; color: #fff;
display: grid; display: grid;
@@ -665,10 +665,12 @@ h1 {
gap: 0.45rem; gap: 0.45rem;
background: #fff; background: #fff;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0 0.75rem; padding: 0 0.75rem;
min-height: 44px; min-height: var(--control-h);
height: var(--control-h);
color: #94a3b8; color: #94a3b8;
box-sizing: border-box;
} }
.search input { .search input {
@@ -681,11 +683,13 @@ h1 {
} }
.tool { .tool {
min-height: 44px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
background: #fff; background: #fff;
border-radius: 12px; border-radius: var(--radius);
padding: 0 0.75rem; padding: 0 0.75rem;
box-sizing: border-box;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.35rem; gap: 0.35rem;
@@ -1029,8 +1033,8 @@ strong.newcomer {
} }
.add-btn { .add-btn {
width: 40px; width: var(--control-h);
height: 40px; height: var(--control-h);
} }
.toolbar { .toolbar {
+7 -5
View File
@@ -229,11 +229,13 @@ label {
select, select,
input[type='number'] { input[type='number'] {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
width: 100%; width: 100%;
box-sizing: border-box;
} }
.chips { .chips {
@@ -287,9 +289,9 @@ input[type='number'] {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
@@ -282,11 +282,13 @@ h1 {
select, select,
input[type='text'] { input[type='text'] {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.8rem 0.95rem; min-height: var(--control-h);
padding: 0 0.95rem;
background: #fff; background: #fff;
font: inherit; font: inherit;
width: 100%; width: 100%;
box-sizing: border-box;
} }
.check-field { .check-field {
@@ -316,9 +318,9 @@ input[type='text'] {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+25 -19
View File
@@ -965,16 +965,18 @@ h1 {
} }
.field :deep(.trigger) { .field :deep(.trigger) {
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
} }
.control, .control,
.amount, .amount,
.picker { .picker {
width: 100%; width: 100%;
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -1054,15 +1056,16 @@ h1 {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
gap: 0.45rem; gap: 0.45rem;
padding: 0.28rem; padding: 0.2rem;
border-radius: 14px; border-radius: var(--radius);
background: #f8fafc; background: #f8fafc;
} }
.segment button { .segment button {
min-height: 44px; min-height: calc(var(--control-h) - 4px);
height: calc(var(--control-h) - 4px);
border: 0; border: 0;
border-radius: 12px; border-radius: 8px;
background: transparent; background: transparent;
color: #64748b; color: #64748b;
display: flex; display: flex;
@@ -1136,15 +1139,16 @@ h1 {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
min-height: 48px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.2rem; padding: 0.15rem;
} }
.stepper button { .stepper button {
width: 40px; width: 28px;
height: 40px; height: 28px;
border: 0; border: 0;
border-radius: 10px; border-radius: 10px;
background: #f0fdfa; background: #f0fdfa;
@@ -1185,9 +1189,10 @@ h1 {
} }
.mini { .mini {
min-height: 52px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #eef2f6; border: 1px solid #eef2f6;
border-radius: 12px; border-radius: var(--radius);
background: #fff; background: #fff;
display: flex; display: flex;
align-items: center; align-items: center;
@@ -1336,9 +1341,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 44px; min-height: var(--control-h);
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.95rem; padding: 0 0.95rem;
font: inherit; font: inherit;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
@@ -1379,8 +1384,9 @@ h1 {
.mobile-save .btn { .mobile-save .btn {
width: 100%; width: 100%;
min-height: 50px; min-height: var(--control-h);
border-radius: 14px; height: var(--control-h);
border-radius: var(--radius);
} }
@media (min-width: 960px) { @media (min-width: 960px) {
+12 -5
View File
@@ -267,11 +267,18 @@ label {
input, input,
textarea { textarea {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
width: 100%; width: 100%;
box-sizing: border-box;
}
textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.check { .check {
@@ -286,9 +293,9 @@ textarea {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+68 -31
View File
@@ -1597,7 +1597,7 @@ onMounted(load);
--muted: #64748b; --muted: #64748b;
--line: #e2e8f0; --line: #e2e8f0;
--card: #fff; --card: #fff;
--radius: 14px; --radius: 10px;
display: grid; display: grid;
gap: 1rem; gap: 1rem;
min-width: 0; min-width: 0;
@@ -1631,12 +1631,15 @@ onMounted(load);
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
background: #fff; background: #fff;
color: #334155; color: #334155;
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.9rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
font-weight: 700; font-weight: 700;
cursor: pointer; cursor: pointer;
flex-shrink: 0; flex-shrink: 0;
box-sizing: border-box;
} }
.back-btn :deep(.ico) { .back-btn :deep(.ico) {
@@ -1724,16 +1727,17 @@ h1 {
grid-auto-flow: column; grid-auto-flow: column;
grid-auto-columns: 1fr; grid-auto-columns: 1fr;
gap: 0.3rem; gap: 0.3rem;
padding: 0.28rem; padding: 0.2rem;
border-radius: 14px; border-radius: var(--radius);
background: #f8fafc; background: #f8fafc;
margin-bottom: 0.15rem; margin-bottom: 0.15rem;
} }
.seg-tabs button { .seg-tabs button {
min-height: 40px; min-height: var(--control-h);
height: var(--control-h);
border: 0; border: 0;
border-radius: 12px; border-radius: 8px;
background: transparent; background: transparent;
color: #64748b; color: #64748b;
font: inherit; font: inherit;
@@ -1799,11 +1803,20 @@ h1 {
.summary :deep(input) { .summary :deep(input) {
width: 100%; width: 100%;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
color: var(--ink); color: var(--ink);
box-sizing: border-box;
}
.field textarea {
height: auto;
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.control input, .control input,
@@ -1830,9 +1843,10 @@ h1 {
.days-row button { .days-row button {
flex: 1; flex: 1;
min-width: 4.2rem; min-width: 4.2rem;
min-height: 38px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: 10px; border-radius: var(--radius);
background: #fff; background: #fff;
font: inherit; font: inherit;
font-weight: 700; font-weight: 700;
@@ -1859,8 +1873,9 @@ h1 {
justify-content: space-between; justify-content: space-between;
border: 1px solid #eef2f6; border: 1px solid #eef2f6;
background: #f8fafc; background: #f8fafc;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
font-weight: 800; font-weight: 800;
color: var(--ink); color: var(--ink);
@@ -1903,14 +1918,22 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 44px; min-height: var(--control-h);
padding: 0.55rem 1rem; height: var(--control-h);
border-radius: 12px; padding: 0 0.95rem;
border-radius: var(--radius);
border: 1px solid transparent; border: 1px solid transparent;
font: inherit; font: inherit;
font-weight: 800; font-weight: 800;
cursor: pointer; cursor: pointer;
text-decoration: none; text-decoration: none;
box-sizing: border-box;
}
.btn.cancel {
background: #fff;
color: #64748b;
border-color: var(--line);
} }
.btn.primary { .btn.primary {
@@ -1931,8 +1954,9 @@ h1 {
} }
.btn.sm { .btn.sm {
min-height: 36px; min-height: var(--control-h);
padding: 0.35rem 0.7rem; height: var(--control-h);
padding: 0 0.7rem;
font-size: 0.85rem; font-size: 0.85rem;
} }
@@ -1975,7 +1999,6 @@ h1 {
.search input { .search input {
padding-inline-start: 2.2rem; padding-inline-start: 2.2rem;
min-height: 42px;
} }
.table-wrap { .table-wrap {
@@ -2055,9 +2078,10 @@ h1 {
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
min-width: 110px; min-width: 110px;
min-height: 40px; min-height: var(--control-h);
height: var(--control-h);
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: 12px; border-radius: var(--radius);
padding: 0.15rem; padding: 0.15rem;
background: #fff; background: #fff;
} }
@@ -2107,9 +2131,10 @@ h1 {
.add-row { .add-row {
width: 100%; width: 100%;
min-height: 46px; min-height: var(--control-h);
height: var(--control-h);
border: 1.5px dashed var(--teal-border); border: 1.5px dashed var(--teal-border);
border-radius: 12px; border-radius: var(--radius);
background: var(--teal-soft); background: var(--teal-soft);
color: var(--teal); color: var(--teal);
font: inherit; font: inherit;
@@ -2141,8 +2166,6 @@ h1 {
.sum-row .tax-input { .sum-row .tax-input {
max-width: 140px; max-width: 140px;
text-align: start; text-align: start;
min-height: 40px;
padding: 0.45rem 0.65rem;
} }
.sum-row.payable { .sum-row.payable {
@@ -2223,10 +2246,11 @@ h1 {
} }
.icon-add { .icon-add {
width: 42px; width: var(--control-h);
min-height: 42px; min-height: var(--control-h);
height: var(--control-h);
padding: 0; padding: 0;
border-radius: 12px; border-radius: var(--radius);
} }
.mob-unit { .mob-unit {
@@ -2240,9 +2264,9 @@ h1 {
} }
.mob-back { .mob-back {
width: 42px; width: var(--control-h);
height: 42px; height: var(--control-h);
border-radius: 999px; border-radius: var(--radius);
border: 1px solid var(--line); border: 1px solid var(--line);
background: #fff; background: #fff;
color: var(--teal); color: var(--teal);
@@ -2380,6 +2404,19 @@ h1 {
.side-actions { .side-actions {
display: none; display: none;
} }
.page.embedded .embed-actions {
display: none !important;
}
.page.embedded .mob-bar {
bottom: 0;
margin-inline: -0.15rem;
padding: 0.65rem 0 calc(0.65rem + env(safe-area-inset-bottom));
background: #fff;
border-top: 1px solid #f1f5f9;
z-index: 3;
}
} }
@media (max-width: 700px) { @media (max-width: 700px) {
+23 -13
View File
@@ -700,21 +700,22 @@ h1 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.head-actions { position: relative; } .head-actions { position: relative; }
.add-split { display: flex; position: relative; } .add-split { display: flex; position: relative; }
.btn { .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; display: inline-flex; align-items: center; gap: 0.35rem; cursor: pointer; text-decoration: none;
} }
.btn.primary { background: var(--teal); color: #fff; } .btn.primary { background: var(--teal); color: #fff; }
.btn.split { .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); 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 { .btn.ghost, .ghost-btn, .icon-btn {
border: 1px solid var(--line); background: var(--surface); color: var(--text); 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; } .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: 40px; height: 40px; position: relative; } .icon-btn { width: var(--control-h); height: var(--control-h); position: relative; }
.icon-btn.sm { width: 32px; height: 32px; } .icon-btn.sm { width: 32px; height: 32px; }
.icon-btn.ghost { border: 0; background: transparent; color: #94a3b8; } .icon-btn.ghost { border: 0; background: transparent; color: #94a3b8; }
.add-doc { color: var(--teal); } .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; } .toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.search { .search {
flex: 1 1 220px; display: flex; align-items: center; gap: 0.45rem; 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 input { border: 0; outline: 0; width: 100%; background: transparent; color: var(--text); }
.search .mob-ph { display: none; } .search .mob-ph { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; } .filters { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.filter-chip { .filter-chip {
display: inline-flex; align-items: center; gap: 0.35rem; display: inline-flex; align-items: center; gap: 0.3rem; flex-wrap: nowrap;
border: 1px solid var(--line); border-radius: 12px; padding: 0.25rem 0.55rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0.55rem;
background: #fff; color: #94a3b8; min-height: 42px; 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) { .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 { .table-wrap {
background: #fff; border: 1px solid #eef2f7; border-radius: 16px; overflow: auto; 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; } .search .mob-ph { display: block; }
.toolbar { flex-wrap: nowrap; } .toolbar { flex-wrap: nowrap; }
.more-filters { .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; } .page { padding-bottom: 6rem; }
} }
+3 -3
View File
@@ -562,7 +562,7 @@ h1 :deep(.ico) { color: var(--teal); }
.top p, .back { color: #64748b; } .top p, .back { color: #64748b; }
.back { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; } .back { background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.top-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; } .top-actions { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 40px; padding: 0.45rem 0.9rem; border-radius: 12px; font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-decoration: none; } .btn { display: inline-flex; align-items: center; gap: 0.3rem; min-height: var(--control-h); height: var(--control-h); padding: 0 0.9rem; border-radius: var(--radius); font: inherit; font-weight: 700; border: 1px solid transparent; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.btn.primary { background: var(--teal); color: #fff; } .btn.primary { background: var(--teal); color: #fff; }
.btn.ghost { background: #fff; color: #0f766e; border-color: #99f6e4; } .btn.ghost { background: #fff; color: #0f766e; border-color: #99f6e4; }
.banner { margin: 0; padding: 0.6rem 0.8rem; border-radius: 12px; } .banner { margin: 0; padding: 0.6rem 0.8rem; border-radius: 12px; }
@@ -604,7 +604,7 @@ h1 :deep(.ico) { color: var(--teal); }
.preview-body p, .preview-body small { margin: 0; color: #64748b; font-size: 0.78rem; } .preview-body p, .preview-body small { margin: 0; color: #64748b; font-size: 0.78rem; }
.preview-body label { display: grid; gap: 0.25rem; font-size: 0.78rem; color: #475569; } .preview-body label { display: grid; gap: 0.25rem; font-size: 0.78rem; color: #475569; }
.preview-body input, .preview-body textarea, .preview-body select { border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.45rem 0.6rem; font: inherit; background: #f8fafc; } .preview-body input, .preview-body textarea, .preview-body select { border: 1px solid #e2e8f0; border-radius: 10px; padding: 0.45rem 0.6rem; font: inherit; background: #f8fafc; }
.send { border: 0; color: #fff; border-radius: 12px; min-height: 40px; font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; } .send { border: 0; color: #fff; border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h); font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; box-sizing: border-box; }
.opts, .stars { color: #64748b; font-size: 0.75rem; display: grid; gap: 0.2rem; } .opts, .stars { color: #64748b; font-size: 0.75rem; display: grid; gap: 0.2rem; }
.cover-box { width: 100%; min-height: 88px; border: 1.5px dashed #99f6e4; border-radius: 14px; background: #f0fdfa; color: #0f766e; font: inherit; font-weight: 700; cursor: pointer; overflow: hidden; } .cover-box { width: 100%; min-height: 88px; border: 1.5px dashed #99f6e4; border-radius: 14px; background: #f0fdfa; color: #0f766e; font: inherit; font-weight: 700; cursor: pointer; overflow: hidden; }
.cover-box img { width: 100%; height: 88px; object-fit: cover; display: block; } .cover-box img { width: 100%; height: 88px; object-fit: cover; display: block; }
@@ -618,7 +618,7 @@ h1 :deep(.ico) { color: var(--teal); }
.fops { display: flex; gap: 0.2rem; } .fops { display: flex; gap: 0.2rem; }
.fops button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f8fafc; cursor: pointer; color: #64748b; } .fops button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f8fafc; cursor: pointer; color: #64748b; }
.fops .danger { color: #dc2626; } .fops .danger { color: #dc2626; }
.add-field { width: 100%; min-height: 44px; border: 1.5px dashed #14b8a6; background: #f0fdfa; color: #0f766e; border-radius: 12px; font: inherit; font-weight: 700; cursor: pointer; } .add-field { width: 100%; min-height: var(--control-h); height: var(--control-h); border: 1.5px dashed #14b8a6; background: #f0fdfa; color: #0f766e; border-radius: var(--radius); font: inherit; font-weight: 700; cursor: pointer; box-sizing: border-box; }
.adv { background: none; border: 0; font: inherit; font-weight: 700; color: #0f766e; cursor: pointer; text-align: right; } .adv { background: none; border: 0; font: inherit; font-weight: 700; color: #0f766e; cursor: pointer; text-align: right; }
.toolbox h3 { margin: 0 0 0.5rem; font-size: 0.95rem; } .toolbox h3 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 1rem; } .tools { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-bottom: 1rem; }
+2 -2
View File
@@ -189,9 +189,9 @@ header p, .muted, small { margin: 0; color: #64748b; }
label { display: grid; gap: 0.35rem; color: #475569; font-size: 0.92rem; } label { display: grid; gap: 0.35rem; color: #475569; font-size: 0.92rem; }
.req { color: #b42318; } .req { color: #b42318; }
input, textarea, select { input, textarea, select {
border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.75rem 0.9rem; font: inherit; width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); min-height: var(--control-h); padding: 0 0.9rem; font: inherit; width: 100%; background: #f8fafc; box-sizing: border-box;
} }
.btn { border: 0; color: #fff; border-radius: 12px; padding: 0.85rem 1rem; font: inherit; font-weight: 700; cursor: pointer; } .btn { border: 0; color: #fff; border-radius: var(--radius); min-height: var(--control-h); height: var(--control-h); padding: 0 1rem; font: inherit; font-weight: 700; cursor: pointer; box-sizing: border-box; }
.error { color: #b42318; margin: 0; } .error { color: #b42318; margin: 0; }
.success { background: #e7f6ef; } .success { background: #e7f6ef; }
.opts { display: grid; gap: 0.35rem; } .opts { display: grid; gap: 0.35rem; }
+1 -1
View File
@@ -101,7 +101,7 @@ h1 :deep(.ico) { color: #14b8a6; }
.lead, .muted { margin: 0.25rem 0 0; color: #64748b; } .lead, .muted { margin: 0.25rem 0 0; color: #64748b; }
.err { color: #b91c1c; } .err { color: #b91c1c; }
.btn, .link { font: inherit; cursor: pointer; } .btn, .link { font: inherit; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0.5rem 0.95rem; border-radius: 12px; font-weight: 700; border: 1px solid transparent; text-decoration: none; } .btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--control-h); height: var(--control-h); padding: 0 0.95rem; border-radius: var(--radius); font-weight: 700; border: 1px solid transparent; text-decoration: none; box-sizing: border-box; }
.btn.primary { background: #14b8a6; color: #fff; } .btn.primary { background: #14b8a6; color: #fff; }
.btn.ghost { background: #fff; color: #0f766e; border-color: #99f6e4; } .btn.ghost { background: #fff; color: #0f766e; border-color: #99f6e4; }
.link { background: none; border: 0; font-weight: 700; } .link { background: none; border: 0; font-weight: 700; }
+8 -5
View File
@@ -1100,8 +1100,9 @@ h2 { margin: 0; font-size: 1.08rem; color: var(--ink); }
border: 0; border: 0;
background: transparent; background: transparent;
color: var(--teal-deep); color: var(--teal-deep);
min-height: 40px; min-height: var(--control-h);
border-radius: 10px; height: var(--control-h);
border-radius: 8px;
font: inherit; font: inherit;
font-weight: 700; font-weight: 700;
display: inline-flex; display: inline-flex;
@@ -1138,9 +1139,11 @@ h2 { margin: 0; font-size: 1.08rem; color: var(--ink); }
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 40px; min-height: var(--control-h);
padding: 0.5rem 0.95rem; height: var(--control-h);
border-radius: 12px; padding: 0 0.95rem;
border-radius: var(--radius);
box-sizing: border-box;
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
} }
+14 -7
View File
@@ -362,8 +362,8 @@ h1 {
} }
.icon-btn { .icon-btn {
width: 40px; width: var(--control-h);
height: 40px; height: var(--control-h);
border: 0; border: 0;
background: none; background: none;
color: #0f766e; color: #0f766e;
@@ -410,10 +410,17 @@ h1 {
.field textarea { .field textarea {
width: 100%; width: 100%;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
box-sizing: border-box;
}
.field textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.moods { .moods {
@@ -469,9 +476,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+7 -4
View File
@@ -514,10 +514,12 @@ h1 {
align-items: center; align-items: center;
gap: 0.45rem; gap: 0.45rem;
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.75rem; min-height: var(--control-h);
padding: 0 0.75rem;
background: #fff; background: #fff;
color: var(--muted); color: var(--muted);
box-sizing: border-box;
} }
.control input, .control input,
.control select, .control select,
@@ -648,8 +650,9 @@ h1 {
} }
.btn { .btn {
border: 0; border: 0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.75rem 1.15rem; min-height: var(--control-h);
padding: 0 0.95rem;
font-weight: 700; font-weight: 700;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
+22 -10
View File
@@ -495,11 +495,14 @@ h1 {
align-items: center; align-items: center;
gap: 0.35rem; gap: 0.35rem;
border: 0; border: 0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.65rem 1rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.95rem;
font-weight: 700; font-weight: 700;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
box-sizing: border-box;
} }
.btn.primary { .btn.primary {
background: var(--accent); background: var(--accent);
@@ -510,7 +513,7 @@ h1 {
border: 1px solid var(--line); border: 1px solid var(--line);
background: var(--surface); background: var(--surface);
color: var(--text); color: var(--text);
border-radius: 12px; border-radius: var(--radius);
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -518,12 +521,15 @@ h1 {
cursor: pointer; cursor: pointer;
} }
.icon-btn { .icon-btn {
width: 42px; width: var(--control-h);
height: 42px; height: var(--control-h);
} }
.ghost-btn { .ghost-btn {
padding: 0.55rem 0.85rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.85rem;
font-weight: 600; font-weight: 600;
box-sizing: border-box;
} }
.toolbar { .toolbar {
display: flex; display: flex;
@@ -538,9 +544,12 @@ h1 {
gap: 0.45rem; gap: 0.45rem;
border: 1px solid var(--line); border: 1px solid var(--line);
background: var(--surface); background: var(--surface);
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.75rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.75rem;
color: var(--muted); color: var(--muted);
box-sizing: border-box;
} }
.search input { .search input {
border: 0; border: 0;
@@ -552,8 +561,11 @@ h1 {
.filter-select { .filter-select {
border: 1px solid var(--line); border: 1px solid var(--line);
background: var(--surface); background: var(--surface);
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.75rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.75rem;
box-sizing: border-box;
color: var(--text); color: var(--text);
min-width: 140px; min-width: 140px;
} }
+3 -3
View File
@@ -357,9 +357,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+12 -5
View File
@@ -258,9 +258,16 @@ textarea {
width: 100%; width: 100%;
min-width: 0; min-width: 0;
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
box-sizing: border-box;
}
textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.btn { .btn {
@@ -268,9 +275,9 @@ textarea {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+5 -2
View File
@@ -670,13 +670,16 @@ h1 {
} }
.btn { .btn {
border: 0; border: 0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.6rem 0.95rem; min-height: var(--control-h);
height: var(--control-h);
padding: 0 0.95rem;
font-weight: 700; font-weight: 700;
cursor: pointer; cursor: pointer;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
gap: 0.35rem; gap: 0.35rem;
box-sizing: border-box;
} }
.btn.primary { .btn.primary {
background: var(--accent); background: var(--accent);
+10 -7
View File
@@ -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; 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 { .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; width: 100%; border: 1px solid #e2e8f0; border-radius: var(--radius); min-height: var(--control-h);
background: #fff; font: inherit; color: inherit; 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 input, .control select, .control textarea { padding-inline-start: 2.2rem; }
.control.area textarea { min-height: 84px; resize: vertical; } .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); margin: 0; display: flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; color: var(--teal);
} }
.btn { .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; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; cursor: pointer;
} }
.btn.primary { background: var(--teal); color: #fff; } .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; } .toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.search { .search {
flex: 1 1 180px; display: flex; align-items: center; gap: 0.4rem; 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); } .search input { border: 0; outline: 0; background: transparent; color: var(--text); }
.status-tabs { display: flex; flex-wrap: wrap; gap: 0.3rem; } .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; } .status-tabs button.warn.on { background: #f59e0b; }
.date-range { .date-range {
display: inline-flex; align-items: center; gap: 0.3rem; border: 1px solid #e2e8f0; 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; } .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; } .kpi-row { grid-template-columns: 1fr; }
.mob-tabs { .mob-tabs {
display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.28rem; 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 { .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; font-weight: 800; cursor: pointer;
} }
.mob-tabs button.on { background: var(--teal); color: #fff; } .mob-tabs button.on { background: var(--teal); color: #fff; }
+10 -7
View File
@@ -687,18 +687,21 @@ input[type='password'],
input[type='url'], input[type='url'],
input[type='number'] { input[type='number'] {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.7rem; min-height: var(--control-h);
padding: 0 0.7rem;
background: #fff; background: #fff;
color: #0f172a; color: #0f172a;
font: inherit; font: inherit;
width: 100%; width: 100%;
box-sizing: border-box;
} }
select { select {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.55rem 0.7rem; min-height: var(--control-h);
padding: 0 0.7rem;
background: #fff; background: #fff;
color: #0f172a; color: #0f172a;
font: inherit; font: inherit;
@@ -740,9 +743,9 @@ select {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 0.9rem; padding: 0 0.9rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+7 -5
View File
@@ -328,20 +328,22 @@ label {
input, input,
select { select {
border: 1px solid #e2e8f0; border: 1px solid #e2e8f0;
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
color: #0f172a; color: #0f172a;
box-sizing: border-box;
} }
.btn { .btn {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
+9 -2
View File
@@ -556,11 +556,18 @@ input,
select, select,
textarea { textarea {
border: 1px solid var(--line); border: 1px solid var(--line);
border-radius: 12px; border-radius: var(--radius);
padding: 0.7rem 0.85rem; min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit; font: inherit;
background: #fff; background: #fff;
width: 100%; width: 100%;
box-sizing: border-box;
}
textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
} }
.faq-hints { .faq-hints {
+8 -8
View File
@@ -325,9 +325,9 @@ h1 {
} }
.add-btn { .add-btn {
width: 48px; width: var(--control-h);
height: 48px; height: var(--control-h);
border-radius: 999px; border-radius: var(--radius);
background: #14b8a6; background: #14b8a6;
color: #fff; color: #fff;
display: grid; display: grid;
@@ -377,9 +377,9 @@ h1 {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 0.35rem; gap: 0.35rem;
min-height: 42px; min-height: var(--control-h);
padding: 0.55rem 1rem; padding: 0 0.95rem;
border-radius: 12px; border-radius: var(--radius);
font-weight: 700; font-weight: 700;
border: 1px solid transparent; border: 1px solid transparent;
cursor: pointer; cursor: pointer;
@@ -664,8 +664,8 @@ h1 {
@media (max-width: 520px) { @media (max-width: 520px) {
.add-btn { .add-btn {
width: 44px; width: var(--control-h);
height: 44px; height: var(--control-h);
} }
.sla-btn { .sla-btn {