MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1,954: Line 1,954:
}
}


.tippy-box[data-placement^=top]>.tippy-arrow:before {
.tippy-box[data-placement^='top']>.tippy-arrow:before {
     bottom: -8px;
     bottom: -8px;
}
}


.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
.tippy-box[data-placement^='bottom']>.tippy-arrow:before {
     top: -8px;
     top: -8px;
}
}
Line 1,966: Line 1,966:
     transform: scale(0);
     transform: scale(0);
     transform-origin: bottom;
     transform-origin: bottom;
}
.tippy-box[data-placement^='bottom'][data-state='hidden'] {
    transform-origin: top;
}
.tippy-box[data-placement^='left'][data-state='hidden'] {
    transform-origin: left;
}
.tippy-box[data-placement^='right'][data-state='hidden'] {
    transform-origin: right;
}
}