Spaces:
Running
Running
File size: 964 Bytes
c172ee5 4a12dc3 2870d89 6de01ff c172ee5 6de01ff 2870d89 4a12dc3 2870d89 4a12dc3 2870d89 478c47e 2870d89 478c47e 2870d89 4a12dc3 2870d89 4a12dc3 c172ee5 2870d89 c172ee5 2870d89 c172ee5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | /* Shared styles across all pages */
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
flex: 1;
}
#dropZone.highlight {
border-color: #818cf8;
background-color: #f5f3ff;
}
#dropZone.error {
border-color: #ef4444;
background-color: #fee2e2;
}
.toast-success {
background-color: #10b981 !important;
}
.toast-error {
background-color: #ef4444 !important;
}
/* Animation for toast */
@keyframes slideIn {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(100%); opacity: 0; }
}
#toast.show {
animation: slideIn 0.3s forwards;
}
#toast.hide {
animation: slideOut 0.3s forwards;
} |