Add button-background-image-hover

This commit is contained in:
Konstantinos Triantafyllou 2022-02-11 15:35:48 +02:00
parent 25e2dd30e2
commit 8ba04ba5f7
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
:root {
--button-primary-background: var(--primary-color);
--button-primary-background-image: linear-gradient(51deg, var(--primary-color) 50%,var(--primary-color) 75%, var(--secondary-color) 100%);
--button-primary-background-image-hover: none;
--button-secondary-background: var(--secondary-color);
--button-secondary-background-image: none;
--button-primary-color: var(--inverse-color);
@ -16,7 +17,7 @@
.uk-button-primary:hover {
background-color: var(--button-secondary-background);
background-image: var(--button-primary-background-image);
background-image: var(--button-primary-background-image-hover);
color: var(--button-primary-color-hover);
}