38262-vm/assets/css/custom.css
Flatlogic Bot 0d4e80837f 号码
2026-02-07 07:39:19 +00:00

296 lines
5.8 KiB
CSS

:root {
--primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
--accent-gradient: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
--surface: #ffffff;
--background: #f8fafc;
--border: #e2e8f0;
--text-main: #0f172a;
--text-muted: #64748b;
--radius-lg: 16px;
--radius-md: 12px;
--radius-sm: 8px;
--shadow-subtle: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
--shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
background-color: var(--background);
color: var(--text-main);
line-height: 1.6;
background-image:
radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%),
radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%),
radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%);
background-attachment: fixed;
background-size: cover;
min-height: 100vh;
}
/* Glassmorphism background */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(248, 250, 252, 0.85);
backdrop-filter: blur(100px);
z-index: -1;
}
.navbar {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.3);
padding: 1.25rem 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.75rem;
}
.card {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-subtle);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.btn {
font-weight: 600;
border-radius: var(--radius-md);
padding: 0.75rem 1.5rem;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.625rem;
border: none;
}
.btn-primary {
background: var(--primary-gradient);
color: white;
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
transform: scale(1.02);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
background: var(--primary-gradient);
filter: brightness(1.1);
}
.btn-light {
background: rgba(241, 245, 249, 0.8);
color: var(--text-main);
}
.form-control, .form-select {
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 0.75rem 1rem;
background: rgba(255, 255, 255, 0.8);
transition: all 0.2s ease;
}
.form-control:focus {
background: #fff;
border-color: #6366f1;
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}
.dropzone {
border: 2px dashed #cbd5e1;
border-radius: var(--radius-md);
padding: 3.5rem 2rem;
background: rgba(248, 250, 252, 0.5);
cursor: pointer;
transition: all 0.3s ease;
}
.dropzone:hover {
border-color: #6366f1;
background: rgba(99, 102, 241, 0.05);
transform: translateY(-2px);
}
.dropzone i {
background: var(--primary-gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 3rem;
margin-bottom: 1.5rem;
}
.stats-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.25rem;
margin-bottom: 2rem;
}
.stat-item {
background: white;
padding: 1.25rem;
border-radius: var(--radius-md);
border: 1px solid var(--border);
position: relative;
overflow: hidden;
}
.stat-item::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--primary-gradient);
}
.stat-label {
font-size: 0.75rem;
font-weight: 700;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
margin-bottom: 0.5rem;
}
.stat-value {
font-size: 1.875rem;
font-weight: 800;
color: var(--text-main);
line-height: 1;
}
.batch-card {
border: none;
background: white;
margin-bottom: 1.25rem;
position: relative;
overflow: hidden;
}
.batch-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 6px;
height: 100%;
background: var(--accent-gradient);
}
.badge-count {
background: rgba(59, 130, 246, 0.1);
color: #2563eb;
font-weight: 700;
padding: 0.35rem 0.75rem;
border-radius: 9999px;
}
.batch-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.batch-title {
font-weight: 700;
color: var(--text-main);
display: flex;
align-items: center;
gap: 0.5rem;
}
.dynamic-batch-input {
animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.sticky-panel {
position: sticky;
top: 6rem;
}
footer {
background: transparent;
margin-top: 4rem;
}
.hero-section {
text-align: center;
padding: 4rem 0 2rem;
}
.hero-section h1 {
font-weight: 900;
font-size: 3rem;
letter-spacing: -0.05em;
margin-bottom: 1rem;
background: var(--primary-gradient);
-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;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Glass Detail Summary */
details summary {
padding: 0.5rem 0;
color: var(--accent);
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
details summary:hover {
filter: brightness(0.8);
}