open-consul/ui-v2/app/styles/base/components/tooltip/skin.scss

30 lines
622 B
SCSS

%tooltip-bubble {
color: $white;
background-color: $gray-700;
}
%tooltip-tail {
background-color: $transparent;
border-color: $transparent;
border-top-color: $gray-700;
border-bottom-color: $gray-700;
}
/* borders here are used to draw a triangle in CSS */
/* they are not actual borders */
%tooltip-tail {
border-style: solid;
border-bottom-width: 0;
border-top-width: 18px;
border-left-width: 9px;
border-right-width: 9px;
}
%tooltip-bottom::after {
border-top-width: 0;
border-bottom-width: 18px;
}
%tooltip-bubble {
border-radius: $decor-radius-200;
box-shadow: $decor-elevation-400;
}