openaire-theme/css/structure/button.css

62 lines
2.3 KiB
CSS
Raw Normal View History

2021-12-16 15:37:59 +01:00
:root {
/* Primary */
2021-12-16 15:37:59 +01:00
--button-primary-background: var(--primary-color);
--button-primary-background-image: linear-gradient(251deg, var(--primary-light-color) 0%, var(--primary-dark-color) 100%);
2022-02-23 11:34:50 +01:00
--button-primary-color: var(--light-color);
--button-primary-border-color: transparent;
2022-02-16 11:02:14 +01:00
--button-primary-background-hover: var(--secondary-color);
2022-02-11 14:35:48 +01:00
--button-primary-background-image-hover: none;
--button-primary-color-hover: var(--light-color);
2022-02-23 11:34:50 +01:00
--button-primary-border-color-hover: transparent;
2022-02-16 11:02:14 +01:00
/* Secondary */
--button-secondary-background: var(--default-color);
2022-02-16 11:02:14 +01:00
--button-secondary-background-image: none;
--button-secondary-color: var(--primary-color);
--button-secondary-border-color: var(--primary-color);
2022-02-23 11:34:50 +01:00
--button-secondary-background-hover: var(--primary-color);
--button-secondary-background-image-hover: linear-gradient(251deg, var(--primary-light-color) 0%, var(--primary-dark-color) 100%);
2022-02-23 11:34:50 +01:00
--button-secondary-color-hover: var(--light-color);
--button-secondary-border-color-hover: transparent;
2021-12-16 15:37:59 +01:00
}
.uk-button-default, uk-button-danger {
box-shadow: var(--shadow-medium);
}
.uk-button-default:hover, uk-button-danger:hover {
box-shadow: var(--shadow-small);
}
2021-12-16 15:37:59 +01:00
.uk-button-primary {
background-color: var(--button-primary-background);
2022-01-05 14:35:45 +01:00
background-image: var(--button-primary-background-image);
2021-12-16 15:37:59 +01:00
color: var(--button-primary-color);
2022-02-23 11:34:50 +01:00
border-color: var(--button-primary-border-color);
box-shadow: var(--shadow-medium);
2021-12-16 15:37:59 +01:00
}
.uk-button-primary:hover {
2022-02-16 11:02:14 +01:00
background-color: var(--button-primary-background-hover);
2022-02-11 14:35:48 +01:00
background-image: var(--button-primary-background-image-hover);
color: var(--button-primary-color-hover);
2022-02-23 11:34:50 +01:00
border-color: var(--button-primary-border-color-hover);
box-shadow: var(--shadow-small);
}
2021-12-16 15:37:59 +01:00
.uk-button-secondary {
background-color: var(--button-secondary-background);
2022-02-23 11:34:50 +01:00
background-image: var(--button-secondary-background-image);
2021-12-16 15:37:59 +01:00
color: var(--button-secondary-color);
2022-02-23 11:34:50 +01:00
border-color: var(--button-secondary-border-color);
box-shadow: var(--shadow-medium);
2022-02-23 11:34:50 +01:00
}
.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);
box-shadow: var(--shadow-small);
}