[Openaire theme | master]: Added variables and updated backgrounds.
1. variables.css: Added --light-color-rgb: 255, 255, 255; and --opacity: 0.3 2. background.css: a. Updated --background-secondary: var(--grey-color); b. Added --background-primary-rgb:var(--primary-color-rgb); c. Added rule for ".uk-background-primary-opacity".
This commit is contained in:
parent
21ecbb2b0c
commit
3b518bbe8d
|
@ -2,9 +2,10 @@
|
|||
--background-primary: var(--primary-color);
|
||||
--background-primary-image: linear-gradient(51deg, var(--primary-light-color) 0%, var(--primary-dark-color) 100%);
|
||||
--background-primary-color: var(--light-color);
|
||||
--background-secondary: var(--secondary-color);
|
||||
--background-secondary: var(--grey-color);
|
||||
--background-secondary-image: none;
|
||||
--background-secondary-color: var(--light-color);
|
||||
--background-primary-rgb:var(--primary-color-rgb);
|
||||
}
|
||||
|
||||
.uk-background-primary, .uk-section-primary {
|
||||
|
@ -24,3 +25,7 @@
|
|||
.uk-background-secondary, .uk-section-secondary:not(.uk-preserve-color) {
|
||||
color: var(--background-secondary-color);
|
||||
}
|
||||
|
||||
.uk-background-primary-opacity {
|
||||
background: rgba(var(--background-primary-rgb), var(--opacity))
|
||||
}
|
|
@ -13,6 +13,7 @@
|
|||
--muted-color: #EAEAEA;
|
||||
--light-grey-color: #6E6E6E;
|
||||
--light-color: #FFFFFF;
|
||||
--light-color-rgb: 255, 255, 255;
|
||||
--table-color: #F5F5F5;
|
||||
--default-color: #F9F9F9;
|
||||
--default-color-rgb: 249, 249, 249;
|
||||
|
@ -21,6 +22,8 @@
|
|||
|
||||
--orcid-color: #A6CE39;
|
||||
|
||||
--opacity: 0.3;
|
||||
|
||||
/* Explore */
|
||||
--explore-color: #E96439;
|
||||
--explore-color-rgb: 233, 100, 57;
|
||||
|
|
Loading…
Reference in New Issue