38262-vm/assets/css/custom.css
Flatlogic Bot 5bfcb4a7af 拆分
2026-02-07 07:59:20 +00:00

215 lines
4.4 KiB
CSS

:root {
--primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
--bg-color: #f8fafc;
--card-bg: rgba(255, 255, 255, 0.8);
--text-main: #1e293b;
--text-muted: #64748b;
--border-color: rgba(226, 232, 240, 0.8);
}
body {
background-color: var(--bg-color);
background-image:
radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.05) 0px, transparent 50%);
font-family: 'Inter', system-ui, -apple-system, sans-serif;
color: var(--text-main);
min-height: 100vh;
letter-spacing: -0.01em;
}
.navbar {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
position: sticky;
top: 0;
z-index: 1000;
}
.navbar-brand {
font-weight: 800;
font-size: 1.5rem;
background: var(--primary-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex;
align-items: center;
gap: 0.5rem;
}
.hero-section {
padding: 4rem 0 3rem;
text-align: center;
}
.hero-section h1 {
font-weight: 900;
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 1rem;
letter-spacing: -0.04em;
background: linear-gradient(to bottom, #1e293b, #475569);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-section p {
color: var(--text-muted);
font-size: 1.25rem;
max-width: 600px;
margin: 0 auto;
}
.card {
background: var(--card-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--border-color);
border-radius: 24px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.dropzone {
border: 2px dashed #cbd5e1;
border-radius: 20px;
padding: 3rem 2rem;
text-align: center;
transition: all 0.2s ease;
cursor: pointer;
background: rgba(248, 250, 252, 0.5);
}
.dropzone:hover, .dropzone.drag-active {
border-color: #6366f1;
background: rgba(99, 102, 241, 0.05);
transform: scale(1.01);
}
.dropzone.drag-active {
border-style: solid;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.dropzone i {
width: 48px;
height: 48px;
color: #6366f1;
margin-bottom: 1rem;
}
.form-control, .form-select {
border-radius: 12px;
padding: 0.75rem 1rem;
border: 2px solid #f1f5f9;
font-weight: 500;
}
.form-control:focus, .form-select:focus {
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.stats-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
margin-bottom: 1.5rem;
}
.stat-item {
background: white;
padding: 1.25rem;
border-radius: 16px;
border: 1px solid #f1f5f9;
}
.stat-label {
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
color: var(--text-muted);
margin-bottom: 0.25rem;
}
.stat-value {
font-size: 1.75rem;
font-weight: 800;
}
.btn-primary {
background: var(--primary-gradient);
border: none;
border-radius: 14px;
font-weight: 700;
padding: 0.8rem 1.5rem;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
transition: all 0.2s ease;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}
.batch-card {
margin-bottom: 1.5rem;
border-left: 6px solid #6366f1;
}
.batch-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.batch-title {
display: flex;
align-items: center;
gap: 0.75rem;
}
.badge-count {
background: #f1f5f9;
color: #475569;
padding: 0.25rem 0.75rem;
border-radius: 99px;
font-size: 0.85rem;
font-weight: 600;
}
.sticky-panel {
position: sticky;
top: 6rem;
}
.dynamic-batch-input .input-group-text {
min-width: 100px;
font-size: 0.8rem;
font-weight: 600;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
animation: fadeIn 0.4s ease forwards;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}