From 8ce4bb1be4010be58017e0bc2a29942e6e3c0aa2 Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Wed, 12 Feb 2025 11:29:37 +0100 Subject: [PATCH] style: Clean up CSS comments and formatting --- frontend/src/styles.css | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend/src/styles.css b/frontend/src/styles.css index c69e30e..b8e4ecb 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -20,51 +20,51 @@ body { @apply bg-primary-900 text-gray-100; } -/* Buttons */ + .button { @apply px-4 py-2 rounded font-medium transition-all duration-300; } -/* Primary Button */ + .button-primary { @apply bg-accent-blue text-gray-100 hover:bg-blue-600 active:bg-blue-700; } -/* Secondary Button */ + .button-secondary { @apply bg-gray-400 text-gray-100 hover:bg-gray-300 active:bg-gray-200; } -/* Success Button */ + .button-success { @apply bg-accent-green text-primary-900 hover:opacity-90 active:opacity-80; } -/* Disabled Button */ + .button-disabled { @apply bg-gray-200 text-gray-400 cursor-not-allowed; } -/* Navigation */ + .nav-link { @apply text-gray-100 hover:text-gold-light transition-colors duration-300; } + .nav-link-active { @apply text-gold; } -/* Cards */ + .card { @apply bg-primary-800 rounded-lg shadow-lg p-6; } -/* Gradients */ + .gradient-primary { @apply bg-gradient-to-r from-primary-800 to-primary-600; } - -/* Button States */ .button:hover { @apply shadow-lg; } + .button:active { @apply scale-95; } + .button:focus { @apply outline-none ring-2 ring-offset-2 ring-accent-blue; -} - \ No newline at end of file +} \ No newline at end of file