Skip to content

Commit

Permalink
pfe-1827 Changed variables for border active and added border tertiar…
Browse files Browse the repository at this point in the history
…y hover
  • Loading branch information
PriJoh committed Oct 30, 2024
1 parent fa83584 commit 1dc013e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 3 additions & 4 deletions src/less/components/payex/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
}
}

Expand Down
3 changes: 0 additions & 3 deletions src/less/variables-payex.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1dc013e

Please sign in to comment.