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 */
|
2020-02-21 15:17:18 +00:00
|
|
|
box-shadow: $decor-elevation-400;
|
2019-06-14 17:27:37 +00:00
|
|
|
}
|