The Open Standard for Generative UI
@use "../../cssUtils" as cssUtils;
.openui-agent-mobile-header {
display: none;
.openui-agent-container--mobile & {
display: flex;
align-items: center;
justify-content: space-between;
gap: cssUtils.$space-m;
padding: cssUtils.$space-l cssUtils.$space-m-l cssUtils.$space-m;
background-color: cssUtils.$foreground;
}
}
.openui-agent-mobile-header-logo-container {
display: flex;
align-items: center;
gap: cssUtils.$space-m;
flex: 1;
min-width: 0;
}
.openui-agent-mobile-header-logo {
width: 32px;
height: 32px;
border-radius: cssUtils.$radius-m;
}
.openui-agent-mobile-header-agent-name {
@include cssUtils.typography(label, large);
color: cssUtils.$text-neutral-primary;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.openui-agent-mobile-header-actions {
display: flex;
align-items: center;
gap: cssUtils.$space-s;
}
// Matches the collapsed rail's round New chat button.
.openui-agent-container .openui-agent-mobile-header-new-chat.openui-icon-button {
border-color: transparent;
border-radius: cssUtils.$radius-full;
background-color: cssUtils.$inverted-background;
color: cssUtils.$foreground;
&:not(:disabled):hover,
&:not(:disabled):active {
background-color: cssUtils.$inverted-background;
opacity: 0.85;
}
}