Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Altmetric badge not correctly set when Altmetric id is provided #2522

Merged
merged 11 commits into from
Jun 20, 2024
Prev Previous commit
Next Next commit
popover follows theme colors
  • Loading branch information
garywei944 committed Jun 19, 2024
commit f901107d4d321b55f935072e56a4698d549145b2
34 changes: 34 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1134,3 +1134,37 @@ ninja-keys::part(ninja-input) {
ninja-keys::part(ninja-input-wrapper) {
background: var(--global-bg-color);
}

// popover is used for annotation in bib.liquid
.popover {
background-color: var(--global-bg-color);
border-color: var(--global-divider-color);

.popover-header {
color: var(--global-text-color); // Header text color
border-bottom: 1px solid var(--global-divider-color);
}
.popover-body {
color: var(--global-text-color); // Body text color
}
}
.bs-popover-top {
// arrow fill color
.arrow::after {
border-top-color: var(--global-bg-color);
}
// arrow border color
.arrow:before {
border-top-color: var(--global-divider-color);
}
}
.bs-popover-bottom {
// arrow fill color
.arrow::after {
border-bottom-color: var(--global-bg-color);
}
// arrow border color
.arrow:before {
border-bottom-color: var(--global-divider-color);
}
}