77 lines
1.6 KiB
CSS
77 lines
1.6 KiB
CSS
.assistant-message-footer {
|
|
position: relative;
|
|
color: var(--message-footer-color, hsl(var(--muted-foreground)));
|
|
}
|
|
|
|
.assistant-message-footer__metadata,
|
|
.assistant-message-footer__status {
|
|
font-size: .75rem;
|
|
line-height: 1.25rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.assistant-message-footer__metadata time {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.assistant-message-footer__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: .25rem;
|
|
margin-left: -.5rem;
|
|
}
|
|
|
|
.assistant-message-footer__action {
|
|
display: inline-flex;
|
|
height: 2.5rem;
|
|
min-height: 2.5rem;
|
|
align-items: center;
|
|
gap: .375rem;
|
|
border: 0;
|
|
border-radius: var(--radius, 0);
|
|
padding: 0 .5rem;
|
|
font: inherit;
|
|
font-size: .75rem;
|
|
line-height: 1rem;
|
|
color: inherit;
|
|
background: none;
|
|
cursor: pointer;
|
|
transition: var(--message-footer-transition, color 150ms cubic-bezier(.4, 0, .2, 1), background-color 150ms cubic-bezier(.4, 0, .2, 1));
|
|
}
|
|
|
|
.assistant-message-footer__action svg {
|
|
width: .875rem;
|
|
height: .875rem;
|
|
}
|
|
|
|
.assistant-message-footer__action:hover {
|
|
background: var(--message-footer-hover-background, rgb(167 139 250 / .12));
|
|
color: var(--message-footer-hover-color, #ede9fe);
|
|
}
|
|
|
|
.assistant-message-footer__action:focus-visible {
|
|
outline: 2px solid var(--message-footer-focus-color, hsl(var(--ring)));
|
|
}
|
|
|
|
.assistant-message-footer__action:disabled {
|
|
cursor: wait;
|
|
opacity: .5;
|
|
}
|
|
|
|
.assistant-message-footer__status {
|
|
display: block;
|
|
}
|
|
|
|
.assistant-message-footer__status--hidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border-width: 0;
|
|
}
|