Refine built-in web app experience

This commit is contained in:
Artem Kokos
2026-05-21 21:47:33 +07:00
parent 61b21c63ea
commit f55e00bce1
11 changed files with 1320 additions and 456 deletions

View File

@@ -1,10 +1,12 @@
:root {
--bg-deep: #08090c;
--bg-card: rgba(20, 22, 30, 0.8);
--border-subtle: rgba(255, 255, 255, 0.06);
--border-hover: rgba(249, 115, 22, 0.4);
--bg-deep: #0b0d12;
--bg-card: #121722;
--bg-card-strong: #171d29;
--border-subtle: rgba(255, 255, 255, 0.07);
--border-hover: rgba(249, 115, 22, 0.22);
--accent: #f97316;
--accent-glow: rgba(249, 115, 22, 0.15);
--accent-deep: #ea580c;
--accent-glow: rgba(249, 115, 22, 0.12);
}
[v-cloak] {
@@ -23,51 +25,181 @@ body {
}
body::before {
content: "";
position: fixed;
inset: 0;
z-index: -1;
background:
radial-gradient(
ellipse at 20% 0%,
rgba(249, 115, 22, 0.06) 0%,
transparent 60%
),
radial-gradient(
ellipse at 80% 100%,
rgba(30, 27, 75, 0.15) 0%,
transparent 60%
);
content: none;
}
.glass {
background: var(--bg-card);
backdrop-filter: blur(16px);
border: 1px solid var(--border-subtle);
box-shadow: none;
}
.glass:hover {
border-color: var(--border-subtle);
}
.hero-panel {
background: var(--bg-card-strong);
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: none;
}
.brand-mark {
background:
linear-gradient(135deg, #fb923c, #dc2626 70%),
var(--accent);
box-shadow: none;
}
.metric-card,
.surface-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 1.2rem;
padding: 1rem;
}
.metric-card {
min-height: 92px;
}
.surface-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 1rem;
padding: 0.95rem 1rem;
}
.metric-label,
.section-kicker {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.22em;
text-transform: uppercase;
color: #64748b;
}
.metric-value {
margin-top: 0.45rem;
font-size: 1.7rem;
line-height: 1;
font-weight: 900;
}
.status-pill {
display: inline-flex;
align-items: center;
gap: 0.25rem;
border: 1px solid;
border-radius: 999px;
padding: 0.38rem 0.72rem;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
}
.quick-action {
width: 100%;
text-align: left;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 1rem;
padding: 0.95rem 1rem;
font-size: 0.82rem;
font-weight: 700;
color: #cbd5e1;
transition:
border-color 0.2s ease,
color 0.2s ease;
}
.quick-action:hover {
border-color: var(--border-hover);
color: #fff;
}
.accent-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.8rem 1.15rem;
border-radius: 1rem;
background: linear-gradient(135deg, var(--accent), var(--accent-deep));
color: white;
font-size: 12px;
font-weight: 900;
letter-spacing: 0.16em;
text-transform: uppercase;
box-shadow: none;
transition:
filter 0.18s ease;
}
.accent-button:hover {
filter: brightness(1.04);
}
.accent-button:disabled {
filter: saturate(0.3);
box-shadow: none;
}
.group-active {
border-color: rgba(249, 115, 22, 0.2);
border-color: rgba(249, 115, 22, 0.24);
box-shadow: none;
}
.active-tab {
background: var(--accent);
box-shadow:
0 0 24px var(--accent-glow),
inset 0 1px 0 rgba(255, 255, 255, 0.15);
box-shadow: none;
}
.empty-state {
border: 1px dashed rgba(148, 163, 184, 0.28);
border-radius: 1.2rem;
padding: 2.4rem 1.2rem;
text-align: center;
color: #64748b;
font-size: 0.92rem;
}
.ui-table {
border-collapse: collapse;
}
.ui-table th {
padding: 0.8rem 0.9rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
font-size: 10px;
font-weight: 800;
letter-spacing: 0.18em;
text-transform: uppercase;
color: #64748b;
text-align: left;
}
.ui-table td {
padding: 0.95rem 0.9rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
vertical-align: middle;
}
.ui-table tbody tr:hover {
background: rgba(255, 255, 255, 0.02);
}
input[type="range"] {
-webkit-appearance: none;
height: 6px;
border-radius: 10px;
border-radius: 999px;
background: #1e293b;
outline: none;
transition: opacity 0.2s;
}
input[type="range"]:disabled {
@@ -79,16 +211,16 @@ input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 20px;
height: 20px;
background: #fff;
background: white;
border-radius: 50%;
cursor: pointer;
border: 3px solid var(--accent);
box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
transition: transform 0.15s;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.42);
transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.15);
transform: scale(1.12);
}
input[type="range"]:disabled::-webkit-slider-thumb {
@@ -129,12 +261,9 @@ select {
}
}
.fade-up {
animation: fadeUp 0.4s ease-out both;
}
.fade-up,
.toast-enter {
animation: fadeUp 0.3s ease-out;
animation: none;
}
@keyframes pulse-dot {
@@ -149,7 +278,7 @@ select {
}
.pulse-on {
animation: pulse-dot 2s ease-in-out infinite;
animation: none;
}
@keyframes spin {