canvascraft / style.css
Onise's picture
implement feature
2c66926 verified
/* ShortForge AI – Global styles */
:root {
--primary-color: #60a5fa;
--secondary-color: #a78bfa;
--accent-color: #34d399;
}
/* Template buttons */
.template-btn {
@apply px-4 py-2 bg-gray-700 rounded-lg hover:bg-gray-600 transition-colors;
}
.template-btn.active {
@apply bg-gradient-to-r from-blue-500 to-purple-600 text-white;
}
/* Voice & template preview */
#voiceDesc, #templateDesc {
@apply text-xs text-gray-400 mt-2;
}
/* Smooth transitions */
* {
transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Template card hover effects */
.template-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.template-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
/* Loading animation */
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
.loading-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
/* Gradient backgrounds */
.gradient-bg {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}
/* Glass morphism effect */
.glass {
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Responsive adjustments */
@media (max-width: 640px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
}
/* History scroll */
#historyList {
scrollbar-width: thin;
scrollbar-color: #4b5563 #1f2937;
}