Files
stl-repo/static/css/style.css
Consultoria AS 14b307110d feat: implementar 12 mejoras, tests, docs y optimizaciones
- Fase A: license templates, search history, cost estimator
- Fase B: import URL, bulk ZIP, batch download
- Fase C: comparison mode, mesh validation, measurement tool
- Fase D: cross-section clipping, overhang heatmap, layer animation
- Refactor Pydantic/SQLAlchemy warnings
- 24 tests pytest
- README actualizado
- WebP thumbnails, lazy loading, cache headers
2026-04-27 09:14:58 +00:00

102 lines
3.1 KiB
CSS

@keyframes fadeIn {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
from { opacity: 0; transform: translateX(20px); }
to { opacity: 1; transform: translateX(0); }
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
.animate-slide-in {
animation: slideIn 0.4s ease-out forwards;
}
.glass {
background: rgba(30, 41, 59, 0.7);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.light-mode .glass {
background: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(0, 0, 0, 0.08);
}
.card-hover {
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
transform: translateY(-6px) scale(1.01);
box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.15);
}
.light-mode .card-hover:hover {
box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.25);
}
.drop-active {
border-color: #06b6d4 !important;
background: rgba(6, 182, 212, 0.08) !important;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
.light-mode ::-webkit-scrollbar-track { background: #f1f5f9; }
.light-mode ::-webkit-scrollbar-thumb { background: #cbd5e1; }
.light-mode ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
#toast-container {
position: fixed;
top: 1.5rem;
right: 1.5rem;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.toast {
padding: 1rem 1.25rem;
border-radius: 0.75rem;
color: white;
font-weight: 500;
min-width: 280px;
animation: slideIn 0.3s ease-out;
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.toast.success { background: #059669; }
.toast.error { background: #dc2626; }
.toast.info { background: #2563eb; }
/* Light mode overrides via class on html */
.light-mode body {
background: #f8fafc;
color: #1e293b;
}
.light-mode .bg-slate-950 { background-color: #f8fafc !important; }
.light-mode .bg-slate-900 { background-color: #e2e8f0 !important; }
.light-mode .bg-slate-900\/40 { background-color: rgba(226, 232, 240, 0.4) !important; }
.light-mode .bg-slate-900\/50 { background-color: rgba(226, 232, 240, 0.5) !important; }
.light-mode .bg-slate-900\/60 { background-color: rgba(226, 232, 240, 0.6) !important; }
.light-mode .bg-slate-800 { background-color: #cbd5e1 !important; }
.light-mode .bg-slate-800\/80 { background-color: rgba(203, 213, 225, 0.8) !important; }
.light-mode .text-slate-100 { color: #1e293b !important; }
.light-mode .text-slate-200 { color: #334155 !important; }
.light-mode .text-slate-300 { color: #475569 !important; }
.light-mode .text-slate-400 { color: #64748b !important; }
.light-mode .text-slate-500 { color: #94a3b8 !important; }
.light-mode .text-slate-600 { color: #cbd5e1 !important; }
.light-mode .border-white\/5 { border-color: rgba(0,0,0,0.05) !important; }
.light-mode .border-white\/10 { border-color: rgba(0,0,0,0.1) !important; }
.light-mode .border-slate-700 { border-color: #cbd5e1 !important; }