1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-06 22:35:23 +02:00

fix(ui): tooltip stays open on hover [EE-3445] (#8051)

This commit is contained in:
Prabhat Khera 2022-12-05 09:47:43 +13:00 committed by GitHub
parent c173888b64
commit cbaba43842
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 191 additions and 177 deletions

View file

@ -398,3 +398,50 @@ input:-webkit-autofill {
border-bottom-right-radius: 8px;
padding: 5px;
}
/* Tippy */
/* For triangle arrow (Sharp) */
/* Tippy */
/* For triangle arrow (Sharp) */
.tippy-box[data-placement^='top'] > .tippy-arrow:before {
border-top: 8px solid var(--bg-tooltip-color);
}
.tippy-box[data-placement^='bottom'] > .tippy-arrow:before {
border-bottom: 8px solid var(--bg-tooltip-color);
}
.tippy-box[data-placement^='right'] > .tippy-arrow:before {
border-right: 8px solid var(--bg-tooltip-color);
}
.tippy-box[data-placement^='left'] > .tippy-arrow:before {
border-left: 8px solid var(--bg-tooltip-color);
}
/* Sidebar */
.sidebar .tippy-box {
font-size: 12px;
}
.sidebar .tippy-box[data-placement^='right'] > .tippy-arrow {
width: 12px;
height: 12px;
}
.sidebar .tippy-box[data-placement^='right'] > .tippy-arrow:before {
border-right: 8px solid var(--ui-gray-9);
border-width: 6px 8px 6px 0;
}
[theme='dark'] .sidebar .tippy-box[data-placement^='right'] > .tippy-arrow:before {
border-right: 8px solid var(--ui-gray-true-9);
}
.sidebar .tippy-content {
white-space: nowrap;
}
.tippy-content {
padding: 0;
}