feat: unify chat analytics navigation

This commit is contained in:
aits2026
2026-03-10 12:04:56 +08:00
parent cbdd5b3a24
commit bea824aee9
13 changed files with 464 additions and 53 deletions

View File

@@ -1,13 +1,30 @@
.analytics-entry-page {
display: flex;
flex-direction: column;
gap: 16px;
min-height: 100%;
}
.analytics-welcome-container {
display: flex;
flex-direction: column;
flex: 1;
align-items: center;
justify-content: center;
height: 100%;
min-height: 0;
padding: 40px;
background: var(--bg-primary);
color: var(--text-primary);
animation: fadeIn 0.4s ease-out;
overflow-y: auto;
&.analytics-welcome-container--mode {
border-radius: 20px;
border: 1px solid var(--border-color);
background:
radial-gradient(circle at top, rgba(7, 193, 96, 0.06), transparent 48%),
var(--bg-primary);
}
.welcome-content {
text-align: center;
@@ -106,6 +123,18 @@
}
}
@media (max-width: 768px) {
.analytics-welcome-container {
padding: 28px 18px;
.welcome-content {
.action-cards {
grid-template-columns: 1fr;
}
}
}
}
@keyframes fadeIn {
from {
opacity: 0;
@@ -116,4 +145,4 @@
opacity: 1;
transform: translateY(0);
}
}
}