mirror of
https://github.com/Chalarangelo/mini.css.git
synced 2025-08-05 13:27:25 +02:00
Arrows of tooltips use too the background color variable
Background color for tooltips can be changed by changing the value of the --tooltip-back-color variable : arrows of tooltips use too this variable.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user