47 lines
1.2 KiB
CSS
47 lines
1.2 KiB
CSS
/* Import Tailwind CSS */
|
|
@import "tailwindcss/base";
|
|
@import "tailwindcss/components";
|
|
@import "tailwindcss/utilities";
|
|
|
|
/* Custom animations */
|
|
@keyframes fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
/* Custom components */
|
|
.btn-primary {
|
|
@apply px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700
|
|
transition-colors duration-200 ease-in-out focus:outline-none
|
|
focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2;
|
|
}
|
|
|
|
.btn-secondary {
|
|
@apply px-4 py-2 bg-gray-200 text-gray-700 rounded-md hover:bg-gray-300
|
|
transition-colors duration-200 ease-in-out focus:outline-none
|
|
focus:ring-2 focus:ring-gray-500 focus:ring-offset-2;
|
|
}
|
|
|
|
.input-field {
|
|
@apply mt-1 block w-full rounded-md border-gray-300 shadow-sm
|
|
focus:border-indigo-500 focus:ring-indigo-500;
|
|
}
|
|
|
|
.card {
|
|
@apply bg-white rounded-lg shadow-md p-6;
|
|
}
|
|
|
|
/* Voting specific styles */
|
|
.vote-option {
|
|
@apply relative border rounded-lg p-4 cursor-pointer transition-all duration-200
|
|
hover:border-indigo-500 hover:shadow-md;
|
|
}
|
|
|
|
.progress-bar {
|
|
@apply relative h-4 bg-gray-200 rounded-full overflow-hidden;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
@apply absolute top-0 left-0 h-full bg-indigo-600 transition-all duration-500;
|
|
}
|