Spaces:
Sleeping
Sleeping
File size: 5,243 Bytes
d97b8f9 | 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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | /* Dashboard Styles */
.hover-scale {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-scale:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}
/* Gradient backgrounds for stats cards */
.bg-gradient-to-br {
background-size: 200% 200%;
animation: gradient-animation 6s ease infinite;
}
@keyframes gradient-animation {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Soft shadow for cards */
.shadow-sm {
box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
transition: box-shadow 0.2s ease;
}
.shadow-sm:hover {
box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.08);
}
/* Status and severity badges */
.badge-glow {
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from {
box-shadow: 0 0 5px -5px currentColor;
}
to {
box-shadow: 0 0 10px -2px currentColor;
}
}
/* Progress bars */
.progress-bar {
transition: width 1s ease;
}
/* Scrollable content */
.scrollable-content {
max-height: 300px;
overflow-y: auto;
scrollbar-width: thin;
}
.scrollable-content::-webkit-scrollbar {
width: 6px;
}
.scrollable-content::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.05);
border-radius: 10px;
}
.scrollable-content::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.15);
border-radius: 10px;
}
.scrollable-content::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.25);
}
/* Fix for table container scroll */
.table-container {
overflow-x: auto;
overflow-y: hidden;
}
/* Card animations */
.card-fade-in {
animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Status badge colors */
.badge-status-open {
background-color: #f97316;
color: white;
}
.badge-status-in-progress {
background-color: #3b82f6;
color: white;
}
.badge-status-completed {
background-color: #22c55e;
color: white;
}
.badge-status-closed {
background-color: #64748b;
color: white;
}
.badge-status-in-review {
background-color: #8b5cf6;
color: white;
}
/* Severity badge colors */
.badge-severity-high {
color: #ef4444;
border-color: #ef4444;
}
.badge-severity-medium {
color: #f97316;
border-color: #f97316;
}
.badge-severity-low {
color: #22c55e;
border-color: #22c55e;
}
/* Staggered animation for list items */
.stagger-item {
opacity: 0;
transform: translateY(10px);
animation: staggerFadeIn 0.5s ease forwards;
}
.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
@keyframes staggerFadeIn {
to {
opacity: 1;
transform: translateY(0);
}
}
/* Charts animation */
.chart-container {
opacity: 0;
animation: chartFadeIn 1s ease forwards 0.5s;
}
@keyframes chartFadeIn {
to {
opacity: 1;
}
}
/* Dropdown animations and styling */
@keyframes dropdown-in {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes dropdown-out {
from {
opacity: 1;
transform: translateY(0);
}
to {
opacity: 0;
transform: translateY(-10px);
}
}
.dropdown-menu {
z-index: 9999 !important;
animation: dropdown-in 0.2s ease forwards;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
border-radius: 8px;
border: 1px solid rgba(0,0,0,0.05);
backdrop-filter: blur(5px);
}
.dropdown-item {
transition: background-color 0.15s ease, color 0.15s ease;
border-radius: 4px;
margin: 2px 0;
}
.dropdown-item:hover {
background-color: rgba(99, 102, 241, 0.1);
}
.dropdown-item.active {
background-color: rgba(99, 102, 241, 0.15);
color: rgb(99, 102, 241);
font-weight: 500;
}
/* Improved scrollbar for dropdowns */
.custom-scrollbar {
scrollbar-width: thin;
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.custom-scrollbar::-webkit-scrollbar {
width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 20px;
}
/* Fix for dropdown positioning */
.dropdown-container {
position: relative;
}
/* Ensure dropdowns appear over other elements */
.dropdown-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: transparent;
z-index: 9990;
pointer-events: none;
}
/* Clickable area for dropdowns */
.dropdown-active {
pointer-events: auto;
}
/* Improved focus styles for dropdowns */
.dropdown-trigger:focus-visible {
outline: none;
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4);
} |