slideshare/src/components/presentations/shared/LoadingState.css

39 lines
1.1 KiB
CSS

/* Loading State Component - Refactored to use semantic classes */
/* Use semantic .loading-content class from application.css */
.loading-content {
/* Already defined in application.css with proper semantic styling */
/* Override min-height if needed for this specific component */
min-height: 200px;
padding: 2rem;
}
/* Use semantic .loading-spinner class from application.css */
.loading-spinner {
/* Base styling already defined in application.css */
color: var(--text-secondary);
font-size: 0.875rem;
font-weight: 500;
display: inline-flex;
align-items: center;
gap: 0.75rem;
}
/* Spinner icon using semantic animation and CSS variables */
.loading-spinner::after {
content: '';
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid var(--border-secondary);
border-top: 2px solid var(--color-blue-500);
border-radius: 50%;
animation: spin 1s linear infinite;
}
/* Use semantic animation from application.css */
@keyframes spin {
/* Animation already defined in application.css */
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}