From 1dc013e4a77d52fc3a79bab13973db10dc916bc5 Mon Sep 17 00:00:00 2001 From: PriJoh Date: Wed, 30 Oct 2024 09:06:24 +0100 Subject: [PATCH] pfe-1827 Changed variables for border active and added border tertiary hover --- src/less/components/payex/button.less | 7 +++---- src/less/variables-payex.less | 3 --- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/less/components/payex/button.less b/src/less/components/payex/button.less index 6c39c7fb63..87ad3d5dde 100644 --- a/src/less/components/payex/button.less +++ b/src/less/components/payex/button.less @@ -4,7 +4,7 @@ font-family: var(--brand-default-buttons); &:active { - border: 3px solid @btn-active-border-color; + border: 3px solid var(--brand-secondary); } &.btn-primary { @@ -33,24 +33,23 @@ border: 1px solid var(--brand-secondary-light-3); &:focus { - border: 1px solid var(--brand-secondary-light-3); box-shadow: none; } &:active { - border: 3px solid @btn-active-border-color; + border: 3px solid var(--brand-secondary); } &:hover { background-color: var(--light-gray) !important; color: var(--brand-secondary) !important; - border: 1px solid var(--brand-secondary-light-3); } } &.btn-tertiary { &:hover { background-color: var(--soft-brown) !important; + border: 3px solid var(--soft-brown); } } diff --git a/src/less/variables-payex.less b/src/less/variables-payex.less index cee33c1dbb..bb95cf8721 100644 --- a/src/less/variables-payex.less +++ b/src/less/variables-payex.less @@ -90,9 +90,6 @@ @link-hover-color: @brand-primary; @link-color: @btn-primary-bg; -/* Button active border color */ -@btn-active-border-color: #3c3c3c; - /* Input */ @input-color: @brand-secondary; @input-bg: @white;