Badge icon and tooltip adjustment

This commit is contained in:
2026-03-11 11:50:24 -04:00
parent 9029396fca
commit 9b3fdd80c3
2 changed files with 11 additions and 16 deletions

View File

@@ -2323,25 +2323,20 @@ html, .cl-body {
height: 40px;
border-radius: 50%;
background: #111119;
border: 1px solid rgba(255, 255, 255, 0.15);
border: none;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.3s ease, border-color 0.3s ease;
box-shadow: none;
transition: transform 0.3s ease;
}
.cl-designer-badge:hover {
transform: scale(1.08);
border-color: var(--cl-accent, #d4a24e);
}
[data-theme="light"] .cl-designer-badge {
background: #ffffff;
border-color: rgba(0, 0, 0, 0.12);
box-shadow: none;
}
[data-theme="light"] .cl-designer-badge:hover {
border-color: var(--cl-accent, #d4a24e);
}
.cl-designer-badge__logo {
width: 26px;
@@ -2353,21 +2348,21 @@ html, .cl-body {
.cl-designer-badge__tooltip {
position: absolute;
bottom: calc(100% + 10px);
right: 50%;
transform: translateX(50%) translateY(4px);
right: 0;
transform: translateY(4px);
background: #111119;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 8px;
padding: 8px 14px;
border-radius: 40px;
padding: 6px 12px;
white-space: nowrap;
pointer-events: none;
opacity: 0;
transition: opacity 0.2s ease, transform 0.2s ease;
text-align: center;
text-align: left;
}
.cl-designer-badge__tooltip.active {
opacity: 1;
transform: translateX(50%) translateY(0);
transform: translateY(0);
pointer-events: auto;
}
[data-theme="light"] .cl-designer-badge__tooltip {
@@ -2378,7 +2373,7 @@ html, .cl-body {
content: "";
position: absolute;
bottom: -5px;
right: calc(50% - 4px);
right: 16px;
width: 8px;
height: 8px;
background: inherit;
@@ -2392,7 +2387,7 @@ html, .cl-body {
.cl-designer-badge__tooltip a {
color: #e8b84f;
text-decoration: none;
font-size: 12px;
font-size: 10px;
font-weight: 500;
letter-spacing: 0.06em;
display: inline-flex;