Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Touched up the chatbot#1115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SilasMarvin merged 1 commit intomasterfromsilas-chatbot-updates
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes fromall 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
23 changes: 17 additions & 6 deletionspgml-dashboard/src/components/chatbot/chatbot.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,6 +23,7 @@ div[data-controller="chatbot"] {
padding-top: 0.85rem;
margin-bottom: 1rem;
display: none;
white-space: nowrap;
}

#chatbot-change-the-brain-spacer {
Expand All@@ -33,6 +34,11 @@ div[data-controller="chatbot"] {
.chatbot-knowledge-base-option-label {
cursor: pointer;
padding: 0.5rem;
transition: all 0.1s;
}

.chatbot-brain-option-label:hover {
background-color: #{$gray-800};
}

.chatbot-brain-provider {
Expand DownExpand Up@@ -106,6 +112,7 @@ div[data-controller="chatbot"] {

#chatbot-question-input-button-wrapper {
background-color: #{$gray-600};
cursor: pointer;
}

#chatbot-question-input-button {
Expand DownExpand Up@@ -236,15 +243,19 @@ div[data-controller="chatbot"] {
}
}

#chatbot-alerts-wrapper {
position: fixed;
top: 105px;
right: 15px;
max-width: 500px;
z-index: 100;
#chatbot-expand-contract-image-wrapper {
background-color: #444444;
cursor: pointer;
transition: all 0.1s;
}

#chatbot-expand-contract-image-wrapper:hover {
background-color: #2b2b2b;
}
}



div[data-controller="chatbot"].chatbot-expanded {
position: fixed;
top: 100px;
Expand Down
8 changes: 4 additions & 4 deletionspgml-dashboard/src/components/chatbot/template.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,7 +21,7 @@ <h5 id="chatbot-change-the-brain-title">Knowledge Base:</h5>
<% } %>
/>
<label
class="chatbot-brain-option-label rounded-2"
class="chatbot-brain-option-label rounded-2 w-100"
for="chatbot-knowledge-base-option<%= index %>"
data-action="chatbot#handleKnowledgeBaseChange"
>
Expand DownExpand Up@@ -102,8 +102,8 @@ <h5 id="knowledge-base-title">Knowledge Base:</h5>
<div id="chatbot-right-column" class="flex-grow-1 d-flex flex-column overflow-hidden">
<div class="d-flex justify-content-between align-items-center pt-3 pb-3 pe-3 m-0">
<h3 id="chatbot-chatbot-title">Chatbot</h3>
<divclass="p-1 rounded-2" style="background-color: #444444; cursor: pointer;" data-action="click->chatbot#handleExpandClick">
<img id="chatbot-expand-contract-image"class=""width="28px" height="28px" src="/dashboard/static/images/icons/arrow_expanded.svg"/>
<divid="chatbot-expand-contract-image-wrapper" class="p-1 rounded-2" data-action="click->chatbot#handleExpandClick">
<img id="chatbot-expand-contract-image" width="28px" height="28px" src="/dashboard/static/images/icons/arrow_expanded.svg"/>
</div>
</div>

Expand All@@ -125,7 +125,7 @@ <h3 id="chatbot-chatbot-title">Chatbot</h3>

<div id="chatbot-question-textarea-wrapper" class="d-flex position-relative">
<textarea id="chatbot-question-input" class="flex-grow-1 text-white rounded-start-2 z-1" rows="1" placeholder="Send a message" data-action="keydown.enter->chatbot#handleEnter"></textarea>
<div id="chatbot-question-input-button-wrapper" class="p-2 d-flex align-items-end rounded-end-2 z-1">
<div id="chatbot-question-input-button-wrapper" class="p-2 d-flex align-items-end rounded-end-2 z-1" data-action="click->chatbot#handleEnter">
<div id="chatbot-question-input-button" class=""></div>
</div>
<div id="chatbot-question-input-border" class="position-absolute rounded-2"></div>
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp