mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-08-04 05:50:00 +00:00
Merge remote-tracking branch 'origin/main' into test
# Conflicts: # backend/tests/app/test_main_truststore.py # src/components/ChatBox/MessageItem/TaskWorkLogAccordion.tsx # src/components/Folder/index.tsx # src/components/Session/PreviewPanel/index.tsx # src/components/Session/PreviewPanel/tabKinds.tsx # src/components/Session/PreviewPanel/tabs/ChooserTab.tsx # src/components/Session/PreviewPanel/tabs/ReviewTab.tsx # src/components/Session/PreviewPanel/tabs/browser/BrowserTab.tsx # src/components/ui/WordCarousel/WordCarousel.css # src/pages/Connectors/components/AddCustomConnectorDialog.tsx # src/store/pageTabStore.ts # test/unit/components/Session/PreviewPanel.test.tsx # test/unit/store/pageTabStore.preview.test.ts
This commit is contained in:
commit
755fefc034
2 changed files with 17 additions and 3 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 262 KiB |
|
|
@ -3,11 +3,13 @@
|
|||
display: inline-block;
|
||||
background: var(--word-gradient);
|
||||
background-size: 200% 100%;
|
||||
background-position: 50% 50%;
|
||||
background-position: 0% 50%;
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
color: transparent;
|
||||
white-space: nowrap;
|
||||
animation: gradient-sweep var(--sweep-duration, 2200ms) linear infinite;
|
||||
will-change: background-position, opacity;
|
||||
}
|
||||
|
||||
.word-carousel.is-fading {
|
||||
|
|
@ -15,14 +17,26 @@
|
|||
opacity: 0.35;
|
||||
}
|
||||
|
||||
/* Kept for API compatibility; the decorative gradient remains static. */
|
||||
/* run once, left-to-right */
|
||||
.word-carousel.sweep-once {
|
||||
background-position: 50% 50%;
|
||||
animation-iteration-count: 1;
|
||||
animation-fill-mode: forwards;
|
||||
animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
@keyframes gradient-sweep {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.word-carousel,
|
||||
.word-carousel.sweep-once {
|
||||
animation: none;
|
||||
background-position: 50% 50%;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue