This commit is contained in:
Morgan 2024-02-09 21:00:06 +09:00
parent 411d5fd084
commit aa03abafae
No known key found for this signature in database
1 changed files with 17 additions and 6 deletions

View File

@ -141,19 +141,19 @@ select option.is-default {
max-width: 90%; max-width: 90%;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
width: fit-content; width: 90%;
} }
.assistant-message { .assistant-message {
max-width: 90%; max-width: 90%;
margin-right: auto; margin-right: auto;
margin-left: auto; margin-left: auto;
width: fit-content; width: 90%;
} }
/* Swap the border on user messages to the other side */ /* Swap the border on user messages to the other side */
.user-message>.message-body { .user-message>.message-body {
border-width: 0 4px 0 0 !important; border-width: 0 0 0 4px !important;
} }
/* Show the edit button on hover of the chat name */ /* Show the edit button on hover of the chat name */
@ -166,7 +166,7 @@ body {
font-family: "Source Sans 3", "Fira Sans", sans-serif !important; font-family: "Source Sans 3", "Fira Sans", sans-serif !important;
} }
.code-block { .code {
font-family: "Monaco", "Hack", monospace !important; font-family: "Monaco", "Hack", monospace !important;
} }
/* Style the chat input */ /* Style the chat input */
@ -203,6 +203,17 @@ body {
} }
} }
@media (prefers-color-scheme: dark) {
.message.is-success .message-body
{
color: #FFFEFF !important;
}
.message.is-info .message-body
{
color: #FEFFFF !important;
}
}
/* Support for dark mode */ /* Support for dark mode */
$modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove this once a new version of bulma-prefers-dark is released $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove this once a new version of bulma-prefers-dark is released
@import "/node_modules/bulma-prefers-dark/build/bulma-prefers-dark.sass"; @import "/node_modules/bulma-prefers-dark/build/bulma-prefers-dark.sass";
@ -635,7 +646,7 @@ aside.menu.main-menu .menu-expanse {
border-radius: 0px 4px 4px 0px; border-radius: 0px 4px 4px 0px;
} }
.user-message .tool-drawer-mask { .user-message .tool-drawer-mask {
border-radius: 4px 0px 0px 4px; border-radius: 0px 4px 4px 0px;
} }
.message:last-of-type .tool-drawer, .tool-drawer-mask { .message:last-of-type .tool-drawer, .tool-drawer-mask {
top: auto; top: auto;
@ -645,7 +656,7 @@ aside.menu.main-menu .menu-expanse {
left:100%; left:100%;
} }
.user-message .tool-drawer, .user-message .tool-drawer-mask { .user-message .tool-drawer, .user-message .tool-drawer-mask {
right:100%; left:100%;
} }
.assistant-message:hover .tool-drawer, .assistant-message:hover .tool-drawer,
.assistant-message.editing .tool-drawer { .assistant-message.editing .tool-drawer {