Skip to content

Commit 0a4fb59

Browse files
committed
feat(test-settings): enhance AI selector panel with loading and empty states, add chevron icon for toggle
1 parent c62d4ee commit 0a4fb59

7 files changed

Lines changed: 283 additions & 314 deletions

File tree

assets/admin.scss

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,35 @@
244244
}
245245
}
246246

247+
.vrts-tooltip-popup {
248+
position: fixed;
249+
z-index: 99999999999;
250+
pointer-events: none;
251+
animation: vrts-fade-in 0.15s ease-in-out;
252+
253+
.vrts-tooltip-content-inner {
254+
display: block;
255+
max-width: 200px;
256+
background-color: #1e1e1e;
257+
color: #f0f0f0;
258+
font-size: 0.75rem;
259+
line-height: 1.4;
260+
padding: 8px 10px;
261+
border-radius: 6px;
262+
box-shadow: 2px 2px 8px 4px rgba(30, 30, 30, 0.12);
263+
-webkit-font-smoothing: antialiased;
264+
}
265+
266+
&__arrow {
267+
position: absolute;
268+
left: 50%;
269+
top: 100%;
270+
transform: translateX(-50%);
271+
border: 6px solid transparent;
272+
border-top-color: #1e1e1e;
273+
}
274+
}
275+
247276
.vrts-testing-toogle {
248277
display: flex;
249278
align-items: center;
@@ -338,7 +367,9 @@
338367
.vrts-gradient-border {
339368
border-radius: inherit;
340369
inset: 0;
341-
mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
370+
mask:
371+
linear-gradient(#fff 0 0) content-box,
372+
linear-gradient(#fff 0 0);
342373
mask-composite: exclude;
343374
opacity: 0;
344375
overflow: hidden;
@@ -354,6 +385,7 @@
354385
animation: vrts-rotate 2s linear infinite;
355386
animation-play-state: paused;
356387
aspect-ratio: 1 / 1;
388+
background: conic-gradient(from 0deg at 50% 50%, #0894ff 0%, #c959dd 22%, #ff2e54 45%, #ff9004 76%, #0894ff 100%);
357389
block-size: auto;
358390
content: "";
359391
inline-size: 200%;

assets/icons/chevron-down.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)