feat(webui): show the actual fallback model (#5017)
This commit is contained in:
@@ -124,6 +124,38 @@
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.composer-model-badge {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.composer-model-badge::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
background-color: rgb(236 141 49);
|
||||
opacity: 0;
|
||||
transition: opacity 600ms ease-in-out;
|
||||
}
|
||||
|
||||
.composer-model-badge[data-fallback="true"]::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.composer-model-badge > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.composer-model-badge::before {
|
||||
transition-duration: 150ms;
|
||||
}
|
||||
}
|
||||
|
||||
.host-drag-region {
|
||||
-webkit-app-region: drag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user