2019-06-14 17:27:37 +00:00
|
|
|
%tooltip-bubble,
|
|
|
|
%tooltip-tail {
|
|
|
|
color: $white;
|
|
|
|
background-color: $gray-500;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
|
|
|
|
/* borders here are used to draw a triangle in CSS */
|
|
|
|
/* the are not actual borders */
|
|
|
|
|
2019-06-14 17:27:37 +00:00
|
|
|
%tooltip-tail {
|
|
|
|
background-color: transparent !important;
|
|
|
|
border-left: 9px solid transparent;
|
|
|
|
border-right: 9px solid transparent;
|
2019-11-25 18:45:10 +00:00
|
|
|
|
2019-06-14 17:27:37 +00:00
|
|
|
border-top: 18px solid $gray-500;
|
|
|
|
}
|
2019-11-25 18:45:10 +00:00
|
|
|
%tooltip-bottom::after {
|
|
|
|
border-top: 0;
|
|
|
|
border-bottom: 18px solid $gray-500;
|
|
|
|
}
|
2019-06-14 17:27:37 +00:00
|
|
|
%tooltip-bubble {
|
|
|
|
border-radius: $decor-radius-200;
|
|
|
|
/* this isn't quite like the values in structure */
|
|
|
|
/* but this looks closer visually */
|
|
|
|
/* TODO: try and get this closer to structure */
|
|
|
|
box-shadow: 0 2px 5px 0 rgba($black, 0.31);
|
|
|
|
}
|