From 157e774e8602d8e24b3ec002ca6bfa9ef6eabf03 Mon Sep 17 00:00:00 2001 From: csimonis Date: Wed, 23 Apr 2025 11:54:30 +0200 Subject: [PATCH] feat(transaction-history): add disabled state styling for buttons --- .../transaction-history.component.css | 9 +++++ .../transaction-history.component.html | 40 +++++++++---------- .../transaction-history.component.ts | 23 ++--------- 3 files changed, 30 insertions(+), 42 deletions(-) diff --git a/frontend/src/app/feature/transaction-history/transaction-history.component.css b/frontend/src/app/feature/transaction-history/transaction-history.component.css index e69de29..c3fdef2 100644 --- a/frontend/src/app/feature/transaction-history/transaction-history.component.css +++ b/frontend/src/app/feature/transaction-history/transaction-history.component.css @@ -0,0 +1,9 @@ +button[disabled] { + cursor: not-allowed; + background-color: #ccc; + box-shadow: none; +} + +button[disabled]:hover { + background-color: #ccc; +} diff --git a/frontend/src/app/feature/transaction-history/transaction-history.component.html b/frontend/src/app/feature/transaction-history/transaction-history.component.html index 78ad158..5d26590 100644 --- a/frontend/src/app/feature/transaction-history/transaction-history.component.html +++ b/frontend/src/app/feature/transaction-history/transaction-history.component.html @@ -1,36 +1,32 @@