Add some new variables for buttons
This commit is contained in:
parent
0d78487516
commit
0a34bf8f62
|
@ -1,31 +1,49 @@
|
|||
:root {
|
||||
/* Primary */
|
||||
--button-primary-background: var(--primary-color);
|
||||
--button-primary-background-hover: var(--secondary-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-primary-background-image: none;
|
||||
--button-primary-color: var(--light-color);
|
||||
--button-primary-border-color: transparent;
|
||||
--button-primary-background-hover: var(--secondary-color);
|
||||
--button-primary-background-image-hover: none;
|
||||
--button-primary-color-hover: var(--light-color);
|
||||
--button-primary-border-color-hover: transparent;
|
||||
|
||||
/* Secondary */
|
||||
--button-secondary-background: var(--secondary-color);
|
||||
--button-secondary-background-image: none;
|
||||
--button-secondary-color: var(--light-color);
|
||||
--button-secondary-border-color: transparent;
|
||||
--button-secondary-background-hover: var(--primary-color);
|
||||
--button-secondary-background-image-hover: none;
|
||||
--button-secondary-color-hover: var(--light-color);
|
||||
--button-secondary-border-color-hover: transparent;
|
||||
}
|
||||
|
||||
.uk-button-primary {
|
||||
background-color: var(--button-primary-background);
|
||||
background-image: var(--button-primary-background-image);
|
||||
color: var(--button-primary-color);
|
||||
border-color: var(--button-primary-border-color);
|
||||
}
|
||||
|
||||
.uk-button-primary:hover {
|
||||
background-color: var(--button-primary-background-hover);
|
||||
background-image: var(--button-primary-background-image-hover);
|
||||
color: var(--button-primary-color-hover);
|
||||
border-color: var(--button-primary-border-color-hover);
|
||||
}
|
||||
|
||||
.uk-button-secondary {
|
||||
background-color: var(--button-secondary-background);
|
||||
background-image: var(--button-secondary-background-image);
|
||||
color: var(--button-secondary-color);
|
||||
border-color: var(--button-secondary-border-color);
|
||||
}
|
||||
|
||||
.uk-button-secondary:hover {
|
||||
background-color: var(--button-secondary-background-hover);
|
||||
background-image: var(--button-secondary-background-image-hover);
|
||||
color: var(--button-secondary-color-hover);
|
||||
border-color: var(--button-secondary-border-color-hover);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue