Refactor menu flows into dedicated pages
Some checks failed
ci / test (push) Has been cancelled

This commit is contained in:
VPN SaaS Dev
2026-05-16 11:59:09 +09:00
parent 01a69fc42d
commit ecfb5aa949
20 changed files with 2415 additions and 97 deletions

View File

@@ -1556,6 +1556,151 @@ select {
display: none;
}
.ghost-btn {
display: inline-flex;
min-height: 42px;
align-items: center;
justify-content: center;
border-radius: 8px;
text-decoration: none;
}
.flow-page {
background:
linear-gradient(180deg, #ffffff 0, #f3f7f5 260px),
var(--bg);
}
.flow-shell {
width: min(1220px, 100%);
}
.flow-hero {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 16px;
align-items: center;
margin-bottom: 14px;
padding: 18px;
border: 1px solid rgba(208, 220, 214, 0.92);
border-radius: 8px;
background:
linear-gradient(135deg, rgba(18, 115, 95, 0.1), rgba(47, 111, 159, 0.08)),
#fff;
box-shadow: var(--shadow);
animation: rise 360ms ease both;
}
.flow-hero h2 {
margin: 2px 0 4px;
font-size: clamp(22px, 3vw, 32px);
}
.flow-hero small,
.form-block small {
color: var(--muted);
}
.flow-steps {
display: flex;
gap: 8px;
}
.flow-steps span {
display: grid;
width: 32px;
height: 32px;
place-items: center;
border: 1px solid var(--line);
border-radius: 50%;
background: #fff;
color: var(--muted);
font-size: 13px;
font-weight: 850;
}
.flow-steps span.active {
border-color: rgba(18, 115, 95, 0.3);
background: #dff4ed;
color: #0f604f;
}
.flow-layout {
display: grid;
grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.45fr);
gap: 14px;
align-items: start;
}
.flow-side {
position: sticky;
top: 88px;
max-height: calc(100vh - 104px);
overflow: auto;
}
.flow-form {
grid-template-columns: repeat(2, minmax(180px, 1fr));
gap: 12px;
}
.flow-form .wide,
.wide {
grid-column: 1 / -1;
}
.form-block {
display: grid;
gap: 4px;
padding: 12px;
border: 1px solid rgba(208, 220, 214, 0.9);
border-radius: 8px;
background: #fbfdfc;
}
.form-block h3 {
margin: 0;
color: var(--text);
font-size: 17px;
letter-spacing: 0;
}
.compact-form {
grid-template-columns: 1fr;
margin-bottom: 12px;
}
.weekday-grid {
display: grid;
grid-template-columns: repeat(7, minmax(0, 1fr));
gap: 8px;
}
.weekday-grid label {
display: flex;
min-height: 38px;
align-items: center;
justify-content: center;
gap: 6px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fff;
color: var(--text);
font-weight: 750;
}
.weekday-grid input {
width: 16px;
min-height: 16px;
accent-color: var(--accent);
}
.service-list-card.active {
border-color: rgba(18, 115, 95, 0.55);
background: #eef8f4;
box-shadow: 0 12px 26px rgba(18, 115, 95, 0.12);
}
.scan-form {
display: grid;
gap: 10px;
@@ -1914,11 +2059,25 @@ select {
}
.sto-grid,
.flow-layout,
.work-order-layout,
.staff-form {
grid-template-columns: 1fr;
}
.flow-side {
position: static;
max-height: none;
}
.flow-form {
grid-template-columns: 1fr;
}
.weekday-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mini-stats {
display: flex;
overflow-x: auto;
@@ -2042,6 +2201,15 @@ select {
grid-template-columns: 1fr;
}
.flow-hero {
grid-template-columns: 1fr;
padding: 14px;
}
.weekday-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.sto-page .top-actions {
display: grid;
grid-template-columns: minmax(0, 1fr) 44px;