Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Arrows of tooltips use too the background color variable
Browse files Browse the repository at this point in the history
 Background color for tooltips can be changed by changing the value of the --tooltip-back-color variable :
arrows of tooltips use too this variable.
  • Loading branch information
FrancoisCapon committed Sep 28, 2019
1 parent a9347be commit 811d9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mini/_contextual.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ mark {
left: calc(50% - var(#{$universal-margin-var}));
}
&:not(.#{$tooltip-bottom-name}):before { // Top (default) tooltip styling
border-top-color: $tooltip-back-color;
border-top-color: var(#{$tooltip-back-color-var});
}
&.#{$tooltip-bottom-name}:before { // Bottom tooltip styling
border-bottom-color: $tooltip-back-color;
border-bottom-color: var(#{$tooltip-back-color-var});
}
&:after { // This is the actual tooltip's text block
content: attr(aria-label);
Expand Down

0 comments on commit 811d9e3

Please sign in to comment.