mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-29 17:36:49 +01:00
8bbf41627b
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com> Co-authored-by: Dan Braghis <dan@zerolab.org> Co-authored-by: Karl Hobley <karl@kaed.uk>
32 lines
698 B
SCSS
32 lines
698 B
SCSS
@import '../../../node_modules/tippy.js/dist/tippy';
|
|
|
|
.tippy-box {
|
|
// Special font size 12px for tooltips
|
|
@apply w-bg-primary w-text-white w-text-[0.75rem] w-rounded-sm w-font-medium;
|
|
}
|
|
|
|
.tippy-box[data-placement^='top'] > .tippy-arrow::before {
|
|
@apply w-border-t-primary;
|
|
}
|
|
|
|
.tippy-box[data-placement^='bottom'] > .tippy-arrow::before {
|
|
@apply w-border-b-primary;
|
|
}
|
|
|
|
.tippy-box[data-placement^='left'] > .tippy-arrow::before {
|
|
@apply w-border-l-primary;
|
|
}
|
|
|
|
.tippy-box[data-placement^='right'] > .tippy-arrow::before {
|
|
@apply w-border-r-primary;
|
|
}
|
|
|
|
// Dropdown theme for tippy tooltips
|
|
.tippy-box[data-theme='dropdown'] {
|
|
@apply w-rounded;
|
|
|
|
.tippy-content {
|
|
@apply w-p-0;
|
|
}
|
|
}
|