2022-02-28 21:25:06 +00:00
|
|
|
.component__tooltip-wrapper {
|
2024-06-11 11:56:50 +00:00
|
|
|
&.show-arrow {
|
|
|
|
|
@include tooltip5-arrow-styles;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-05 20:47:09 +00:00
|
|
|
display: inline-flex;
|
2022-03-22 21:33:25 +00:00
|
|
|
|
2023-11-10 21:31:11 +00:00
|
|
|
&__element {
|
|
|
|
|
white-space: nowrap;
|
2023-11-16 22:34:56 +00:00
|
|
|
line-height: initial;
|
2023-11-10 21:31:11 +00:00
|
|
|
}
|
|
|
|
|
|
2023-11-07 21:15:49 +00:00
|
|
|
&__underline {
|
|
|
|
|
width: fit-content;
|
|
|
|
|
border-bottom: 1px dashed $ui-fleet-black-50;
|
2022-02-28 21:25:06 +00:00
|
|
|
}
|
2022-10-04 14:03:51 +00:00
|
|
|
|
2022-02-28 21:25:06 +00:00
|
|
|
&__tip-text {
|
2023-12-14 19:49:56 +00:00
|
|
|
@include tooltip-text;
|
2022-02-28 21:25:06 +00:00
|
|
|
}
|
2022-03-22 21:33:25 +00:00
|
|
|
}
|
2023-12-21 20:43:18 +00:00
|
|
|
|
|
|
|
|
// for firefox we need to slightly shift the tooltip text to fit in line with the
|
|
|
|
|
// other text next to the tooltip. This is because firefox renders the layout
|
|
|
|
|
// slightly differently than webkit and edge, which makes it appear higher
|
|
|
|
|
// than text next to it.
|
|
|
|
|
// TODO: investigate more to see if there is a solution that will work
|
|
|
|
|
// cross browser.
|
|
|
|
|
@-moz-document url-prefix() {
|
|
|
|
|
.component__tooltip-wrapper {
|
|
|
|
|
&__underline {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 2px;
|
|
|
|
|
padding-bottom: 1px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|