Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 37 additions & 16 deletions assets/stylesheets/modules/ai-bot-conversations/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,9 @@ body.has-ai-conversations-sidebar {
}

#topic-footer-buttons {
width: calc(100% - 6.5em);
margin-top: 0;

@include viewport.until(md) {
max-width: unset;
width: 100%;
}

@include viewport.from(xl) {
width: 100%;
max-width: 51em;
}
margin-top: 1em;
width: 100%;
max-width: 50.5em;

.topic-footer-main-buttons {
justify-content: flex-end;
Expand All @@ -151,10 +142,6 @@ body.has-ai-conversations-sidebar {
}
}

.topic-footer-main-buttons {
margin-left: calc(var(--topic-avatar-width) - 1.15em);
}

.ai-bot-conversations {
--input-max-width: 46em;
display: flex;
Expand All @@ -169,13 +156,26 @@ body.has-ai-conversations-sidebar {
&__selection-wrapper {
display: flex;
flex-direction: column;
min-width: 0;

@include viewport.until(sm) {
.select-kit-header-wrapper {
font-size: var(--font-down-1);
}
}

label {
font-size: var(--font-down-1);
font-weight: 300;
margin-left: 1em;
margin-bottom: 0;
}

.name {
display: block;

@include ellipsis;
}
}

.btn {
Expand Down Expand Up @@ -232,6 +232,10 @@ body.has-ai-conversations-sidebar {
border: 1px solid var(--primary-low);
border-radius: var(--d-input-border-radius);

&:has(textarea[disabled]) {
background: var(--primary-very-low);
}

@include viewport.from(sm) {
width: 80%;
max-width: var(--input-max-width);
Expand Down Expand Up @@ -291,6 +295,8 @@ body.has-ai-conversations-sidebar {
scrollbar-color: var(--scrollbarThumbBg) var(--scrollbarBg);
scrollbar-width: thin;
transition: scrollbar-color 0.25s ease-in-out;
height: 100%;
line-height: var(--line-height-large);

&::-webkit-scrollbar-thumb {
background-color: var(--scrollbarThumbBg);
Expand Down Expand Up @@ -424,4 +430,19 @@ body.has-ai-conversations-sidebar {
margin-right: 0.15em;
}
}

// hide extra buttons
.timeline-container .topic-timeline .timeline-footer-controls {
display: none;
}

.topic-footer-main-buttons {
button:not(
.create,
.share-ai-conversation-button,
.topic-admin-menu-trigger
) {
display: none;
}
}
}
Loading