Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
UX: minor styling improvents to footnot expand button
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaffeux committed Sep 11, 2020
1 parent 499813c commit b523f9c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions assets/stylesheets/footnotes.scss
Expand Up @@ -3,13 +3,14 @@ $footnote-tooltip-border: var(--primary-medium, $primary-medium);

.inline-footnotes {
button.expand-footnote {
padding: 0px 8px;
margin: 0 4px;
padding: 0px 0.5em;
margin: 0 0 0 0.25em;
color: var(
--primary-low-mid-or-secondary-high,
dark-light-choose($primary-low-mid, $secondary-high)
);
border-radius: 5px;
border-radius: 3px;
min-height: 20px;

.d-icon {
pointer-events: none;
Expand All @@ -21,12 +22,16 @@ $footnote-tooltip-border: var(--primary-medium, $primary-medium);
.footnotes-list {
position: absolute;
}
.footnote-ref,

.footnotes-sep,
.footnotes-list,
.footnote-backref {
visibility: hidden;
}

.footnote-ref {
display: none;
}
}

#footnote-tooltip {
Expand Down

0 comments on commit b523f9c

Please sign in to comment.