mirror of
https://github.com/dpnmw/community-landing.git
synced 2026-03-18 09:27:16 +00:00
Tooltip animation fix
This commit is contained in:
@@ -2349,25 +2349,23 @@ html, .cl-body {
|
||||
position: absolute;
|
||||
bottom: calc(100% + 10px);
|
||||
right: 0;
|
||||
transform: translateY(4px);
|
||||
background: #111119;
|
||||
border: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border: 1px solid var(--cl-accent, #d4a24e);
|
||||
border-radius: 40px;
|
||||
padding: 6px 12px;
|
||||
padding: 0px 12px 4px;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s ease, transform 0.2s ease;
|
||||
transition: opacity 0.2s ease;
|
||||
text-align: left;
|
||||
}
|
||||
.cl-designer-badge__tooltip.active {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
pointer-events: auto;
|
||||
}
|
||||
[data-theme="light"] .cl-designer-badge__tooltip {
|
||||
background: #ffffff;
|
||||
border-color: rgba(0, 0, 0, 0.12);
|
||||
border-color: var(--cl-accent, #d4a24e);
|
||||
}
|
||||
.cl-designer-badge__tooltip::after {
|
||||
content: "";
|
||||
@@ -2377,12 +2375,12 @@ html, .cl-body {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: inherit;
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 0.12);
|
||||
border-right: 1px solid var(--cl-accent, #d4a24e);
|
||||
border-bottom: 1px solid var(--cl-accent, #d4a24e);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
[data-theme="light"] .cl-designer-badge__tooltip::after {
|
||||
border-color: rgba(0, 0, 0, 0.12);
|
||||
border-color: var(--cl-accent, #d4a24e);
|
||||
}
|
||||
.cl-designer-badge__tooltip a {
|
||||
color: #e8b84f;
|
||||
|
||||
Reference in New Issue
Block a user