Skip to content

Commit

Permalink
refactor: update confirmation button hover styles & colors
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaHungDinh committed Dec 19, 2024
1 parent d5bf502 commit d144147
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
}


Expand Down

0 comments on commit d144147

Please sign in to comment.