From d1441470dbe50a0945a3066657a5e4d2b707dd95 Mon Sep 17 00:00:00 2001 From: Joshua Dinh Date: Thu, 19 Dec 2024 18:22:58 +0900 Subject: [PATCH] refactor: update confirmation button hover styles & colors --- .../ListTablePage/ListTablePage.module.scss | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/Views/Components/ListTable/ListTablePage/ListTablePage.module.scss b/src/Views/Components/ListTable/ListTablePage/ListTablePage.module.scss index f3f4cd00fa..b5fb35508b 100644 --- a/src/Views/Components/ListTable/ListTablePage/ListTablePage.module.scss +++ b/src/Views/Components/ListTable/ListTablePage/ListTablePage.module.scss @@ -395,7 +395,6 @@ ul[role='document'] + .flexRow { margin: 0; padding: var(--givewp-spacing-4) var(--givewp-spacing-6); border-radius: 4px; - //border-bottom: solid 1px var(--givewp-neutral-200); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);} .dialog { @@ -467,16 +466,14 @@ ul[role='document'] + .flexRow { width: 100%; border-radius: 0 0 6px 6px; box-sizing: border-box !important; - padding: 0 var(--givewp-spacing-6) var(--givewp-spacing-4); + padding: 0 var(--givewp-spacing-6) var(--givewp-spacing-6); overflow: hidden; } -$button-blue: rgba(8 120 176); - #cancel, #confirm { flex-grow: 1; - border-radius: var(--givewp-rounded-4); + border-radius: var(--givewp-rounded-8); padding: var(--givewp-spacing-4) var(--givewp-spacing-8); font-size: 1rem; font-weight: 500; @@ -498,12 +495,21 @@ $button-blue: rgba(8 120 176); background-color: inherit; border: solid 1px var(--givewp-neutral-300); color: var(--givewp-neutral-900); + + + &:hover { + background-color: var(--givewp-neutral-50); + } } #confirm { - background: $button-blue; - border: 1px solid $button-blue; + background: #2271b1; + border: 1px solid #2271b1; color: var(--givewp-shades-white); + + &:hover { + background-color: #135e96; + } }