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:
parent
c173888b64
commit
cbaba43842
15 changed files with 191 additions and 177 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue