Spaces:
Running
Running
File size: 1,486 Bytes
112beca 46926b6 112beca 46926b6 112beca 46926b6 112beca 46926b6 112beca 46926b6 112beca 05099f2 18146b2 cca2876 05099f2 |
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
/* Custom loading animation */
.loading-spinner {
width: 24px;
height: 24px;
border: 3px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: #ffffff;
animation: spin 1s ease-in-out infinite;
margin-right: 8px;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Smooth transitions for elements */
.prediction-result {
transition: all 0.3s ease;
}
/* Custom scrollbar for vocabulary list */
#vocabularyList {
max-height: 150px;
overflow-y: auto;
}
#vocabularyList::-webkit-scrollbar {
width: 6px;
}
#vocabularyList::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
#vocabularyList::-webkit-scrollbar-thumb {
background: #c4b5fd;
border-radius: 10px;
}
/* Animation for results */
.fade-in {
animation: fadeIn 0.5s;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.word-badge {
transition: all 0.2s ease;
}
.word-badge:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Add margin to main content to account for fixed navbar */
.container {
margin-top: 80px;
}
.dataset-card {
transition: transform 0.2s, box-shadow 0.2s;
}
.dataset-card:hover {
transform: translateY(-4px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* File upload component styles */
file-upload {
display: block;
margin-bottom: 1rem;
}
|