laravelEcomm/public/Dashboard/scss/common/dark/mixins/_tooltips.scss

28 lines
537 B
SCSS
Raw Normal View History

2024-07-12 07:06:02 +00:00
// Tooltip color variations
@mixin tooltip-variant($color) {
.tooltip-inner {
background: theme-color($color);
color: $white;
}
&.bs-tooltip-top {
.arrow::before {
border-top-color: theme-color($color);
}
}
&.bs-tooltip-right {
.arrow::before {
border-right-color: theme-color($color);
}
}
&.bs-tooltip-bottom {
.arrow::before {
border-bottom-color: theme-color($color);
}
}
&.bs-tooltip-left {
.arrow::before {
border-left-color: theme-color($color);
}
}
}