Merge pull request #163 from FrancoisCapon/master

Arrows of tooltips use the --tooltip-back-color variable
This commit is contained in:
Angelos Chalaris 2019-09-29 08:12:43 +03:00 committed by GitHub
commit 6784ae592a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,10 +161,10 @@ mark {
left: calc(50% - var(#{$universal-margin-var})); left: calc(50% - var(#{$universal-margin-var}));
} }
&:not(.#{$tooltip-bottom-name}):before { // Top (default) tooltip styling &: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 &.#{$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 &:after { // This is the actual tooltip's text block
content: attr(aria-label); content: attr(aria-label);