From 222f7ebf2fe2bff08d8a4d78ddaf9f53361babb4 Mon Sep 17 00:00:00 2001 From: Xi Xu Date: Wed, 27 Nov 2024 11:39:01 +0800 Subject: [PATCH] Update styles.css --- styles.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/styles.css b/styles.css index 23e1a16..ce69822 100644 --- a/styles.css +++ b/styles.css @@ -89,6 +89,18 @@ button { transition: transform 0.2s, box-shadow 0.2s; } +button:disabled { + opacity: 0.6; + cursor: not-allowed; + transform: none; + box-shadow: none; +} + +button.active { + background: linear-gradient(45deg, #40c057, #37b24d); + box-shadow: 0 4px 12px rgba(55, 178, 77, 0.2); +} + button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(34, 139, 230, 0.2);