2023-12-16 20:16:26 -05:00
|
|
|
.chat {
|
2024-04-26 09:13:11 -04:00
|
|
|
background: transparent;
|
2023-12-27 12:59:23 -05:00
|
|
|
padding: 24px 19px;
|
|
|
|
padding-right: 19px !important;
|
|
|
|
padding-top: 0;
|
2023-12-16 20:16:26 -05:00
|
|
|
}
|
|
|
|
|
2023-12-25 17:25:31 -05:00
|
|
|
.chat > .messages {
|
2024-04-26 09:13:11 -04:00
|
|
|
padding-top: 18px !important;
|
2023-12-25 17:25:31 -05:00
|
|
|
}
|
|
|
|
|
2023-04-05 10:49:59 -04:00
|
|
|
.message {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 60px 1fr;
|
|
|
|
padding-bottom: 25px;
|
|
|
|
font-size: 15px;
|
2023-09-13 16:29:00 -04:00
|
|
|
font-family: 'Noto Sans', Helvetica, Arial, sans-serif;
|
2023-12-16 20:16:26 -05:00
|
|
|
line-height: 24px;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2023-12-25 17:25:31 -05:00
|
|
|
.message:first-child {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
2023-04-05 10:49:59 -04:00
|
|
|
.username {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-10-20 15:30:01 -04:00
|
|
|
.message-body p, .message-body li {
|
2023-04-05 10:49:59 -04:00
|
|
|
font-size: 15px !important;
|
2023-12-16 20:16:26 -05:00
|
|
|
line-height: 24px !important;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2023-10-11 15:18:46 -04:00
|
|
|
.message-body p, .chat .message-body ul, .chat .message-body ol {
|
2023-12-16 20:16:26 -05:00
|
|
|
margin-bottom: 16px !important;
|
|
|
|
}
|
|
|
|
|
2023-10-11 15:18:46 -04:00
|
|
|
.message-body p:last-child, .chat .message-body ul:last-child, .chat .message-body ol:last-child {
|
2023-10-20 16:02:18 -04:00
|
|
|
margin-bottom: 0 !important;
|
2023-10-11 15:18:46 -04:00
|
|
|
}
|
|
|
|
|
2023-04-06 11:00:20 -04:00
|
|
|
.gradio-container .chat .assistant-message {
|
2023-10-20 15:30:01 -04:00
|
|
|
padding: 20px;
|
2024-06-27 23:47:42 -04:00
|
|
|
background: #f4f4f4;
|
2024-04-26 09:13:11 -04:00
|
|
|
margin-top: 9px !important;
|
|
|
|
margin-bottom: 12px !important;
|
|
|
|
border-radius: 7px;
|
2023-12-16 20:16:26 -05:00
|
|
|
border: 1px solid var(--border-color-primary);
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2024-04-26 09:13:11 -04:00
|
|
|
.dark .chat .assistant-message {
|
|
|
|
background: var(--color-grey-800);
|
|
|
|
}
|
|
|
|
|
2023-04-06 11:00:20 -04:00
|
|
|
.gradio-container .chat .user-message {
|
2023-10-20 15:30:01 -04:00
|
|
|
padding: 20px;
|
2024-06-19 20:40:33 -04:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2024-04-26 09:13:11 -04:00
|
|
|
background-color: transparent;
|
|
|
|
border-radius: 8px;
|
2023-12-16 20:16:26 -05:00
|
|
|
border-bottom-right-radius: 0;
|
2023-04-05 10:49:59 -04:00
|
|
|
}
|
|
|
|
|
2023-08-17 14:06:18 -04:00
|
|
|
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
|
2023-10-20 16:02:18 -04:00
|
|
|
margin-bottom: 0 !important;
|
2023-08-17 14:06:18 -04:00
|
|
|
}
|
|
|
|
|
2023-05-05 11:02:45 -04:00
|
|
|
code {
|
2023-12-16 20:16:26 -05:00
|
|
|
background-color: #f3f4f6 !important;
|
2023-05-05 11:02:45 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.dark code {
|
2023-12-16 20:16:26 -05:00
|
|
|
background-color: #1f2937 !important;
|
2024-04-26 09:13:11 -04:00
|
|
|
}
|