1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-07 06:16:29 +02:00

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

View File

@@ -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);