You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
|
|
|
|
.tooltip-root {
|
|
|
|
|
width: fit-content;
|
|
|
|
|
|
|
|
|
|
&.tooltip-inline {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
line-height: 1.4em;
|
|
|
|
|
border-radius: var(--default-borderradius);
|
|
|
|
|
z-index: var(--zindex-tooltip);
|
|
|
|
|
|
|
|
|
|
&.tooltip-default {
|
|
|
|
|
color: var(--palette-dark-text);
|
|
|
|
|
background-color: var(--palette-grey-darker);
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
border-color: var(--palette-grey-darker) transparent transparent transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tooltip {
|
|
|
|
|
&-center-left:not([data-mudpopover-flip]), &-center-right[data-mudpopover-flip] {
|
|
|
|
|
transform: translateX(-10px);
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
left: 100%;
|
|
|
|
|
transform: rotate(270deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-center-right:not([data-mudpopover-flip]), &-center-left[data-mudpopover-flip] {
|
|
|
|
|
transform: translateX(10px);
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
right: 100%;
|
|
|
|
|
transform: rotate(90deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-top-center:not([data-mudpopover-flip]), &-bottom-center[data-mudpopover-flip] {
|
|
|
|
|
transform: translateY(-10px);
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
top: 100%;
|
|
|
|
|
transform: rotate(0deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-bottom-center:not([data-mudpopover-flip]), &-top-center[data-mudpopover-flip] {
|
|
|
|
|
transform: translateY(10px);
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
bottom: 100%;
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.tooltip-arrow::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
border-width: 6px;
|
|
|
|
|
border-style: solid;
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
border-top-color: inherit;
|
|
|
|
|
}
|
|
|
|
|
}
|