mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 11:20:50 +08:00
feat: add notification animations and improve UI across pages Add enter/exit animations to NotificationContainer with smooth slide effects Refactor ConfigPage search bar to float over editor with improved UX Enhance AuthFilesPage type badges with proper light/dark theme color support Fix grid layout in AuthFilesPage to use consistent 3-column layout Update icon button sizing and loading state handlin Update i18n translations for search functionality
This commit is contained in:
@@ -170,6 +170,28 @@ textarea {
|
||||
max-width: 360px;
|
||||
}
|
||||
|
||||
@keyframes notification-enter {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes notification-exit {
|
||||
from {
|
||||
opacity: 1;
|
||||
transform: translateX(0);
|
||||
}
|
||||
to {
|
||||
opacity: 0;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
}
|
||||
|
||||
.notification {
|
||||
padding: $spacing-md;
|
||||
border-radius: $radius-md;
|
||||
@@ -182,6 +204,15 @@ textarea {
|
||||
align-items: center;
|
||||
gap: $spacing-sm;
|
||||
|
||||
// Animation states
|
||||
&.entering {
|
||||
animation: notification-enter 0.3s ease-out forwards;
|
||||
}
|
||||
|
||||
&.exiting {
|
||||
animation: notification-exit 0.3s ease-in forwards;
|
||||
}
|
||||
|
||||
&.success {
|
||||
border-color: rgba(16, 185, 129, 0.4);
|
||||
}
|
||||
@@ -202,6 +233,11 @@ textarea {
|
||||
border: none;
|
||||
color: var(--text-secondary);
|
||||
cursor: pointer;
|
||||
transition: color 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user