feature: login and my page

This commit is contained in:
antv
2026-07-02 15:42:47 +07:00
parent c993f848cb
commit 89790539b7
41 changed files with 1062 additions and 769 deletions
+9
View File
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&display=swap');
@font-face {
font-family: 'SVN-Poppins-Regular';
src: url('/fonts/FZ Poppins-Regular.ttf') format('truetype');
@@ -85,6 +87,10 @@
--color-calendar-header: #4b729f;
--color-terminal-bg: #263238;
--color-terminal-base: #b0bec5;
--color-terminal-accent: #90a4ae;
--shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
--shadow-sidebar: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
--shadow-header: 0 2px 4px 0 rgba(0, 0, 0, 0.02);
@@ -261,3 +267,6 @@ select.form-input {
.table-action-link {
@apply hover:text-primary-hover font-semibold underline underline-offset-2;
}
@import "./login.css";
+47
View File
@@ -0,0 +1,47 @@
/* resources/css/login.css */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-fade-in {
animation: fadeIn 0.3s ease-in-out forwards;
}
.floating-group {
@apply relative w-full;
}
.floating-input {
@apply w-full h-[56px] pl-11 pr-12 text-sm text-text-dark bg-transparent border border-[#c4c4c4] rounded outline-none transition-all duration-200 ease-in-out;
}
.floating-input:hover {
@apply border-text-medium;
}
.floating-input:focus {
@apply border-2 border-primary pl-[43px];
}
.floating-label {
@apply absolute left-11 top-1/2 -translate-y-1/2 text-sm text-text-muted pointer-events-none transition-all duration-200 ease-in-out bg-transparent p-0;
}
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
@apply top-0 -translate-y-1/2 text-xs text-primary bg-white px-1.5 left-10;
}
.floating-input:not(:focus):not(:placeholder-shown) ~ .floating-label {
@apply text-text-light;
}
.floating-icon {
@apply absolute left-4 top-1/2 -translate-y-1/2 text-text-muted pointer-events-none transition-colors duration-200 ease-in-out flex items-center justify-center;
}
.floating-input:focus ~ .floating-icon {
@apply text-primary;
}