2024-09-18 11:17:34 +02:00
|
|
|
/* Output Section */
|
|
|
|
.output {
|
|
|
|
grid-column: 2;
|
|
|
|
grid-row: 1 / 4;
|
|
|
|
background-color: var(--output-background-color);
|
|
|
|
margin: 1em;
|
2024-09-30 16:11:01 +02:00
|
|
|
padding-bottom: 14dvh;
|
2024-09-18 11:17:34 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: flex-start;
|
2024-09-18 16:26:57 +02:00
|
|
|
font-size: 1em;
|
2024-09-18 11:17:34 +02:00
|
|
|
overflow-y: auto;
|
2024-09-23 11:55:58 +02:00
|
|
|
width: calc(100% - 2em); /* Corrected calculation for width */
|
2024-09-30 16:11:01 +02:00
|
|
|
height: 90dvh;
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#conversation {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-09-30 10:46:03 +02:00
|
|
|
padding-left: 10px;
|
2024-09-18 11:17:34 +02:00
|
|
|
overflow-y: auto;
|
|
|
|
max-height: 80vh;
|
|
|
|
background-color: var(--output-background-color);
|
|
|
|
border-radius: 10px;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Message Bubbles */
|
|
|
|
.user-message, .ai-message {
|
|
|
|
padding: 10px;
|
|
|
|
border-radius: 10px;
|
|
|
|
margin: 5px 0;
|
|
|
|
max-width: 75%;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-message {
|
|
|
|
background-color: var(--user-message-background-color);
|
|
|
|
align-self: flex-end;
|
|
|
|
color: var(--user-message-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ai-message {
|
|
|
|
background-color: var(--ai-message-background-color);
|
|
|
|
align-self: flex-start;
|
|
|
|
color: var(--ai-message-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Button Container */
|
|
|
|
.button-container {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-container button {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2024-09-30 10:46:03 +02:00
|
|
|
border-radius: 100%;
|
2024-09-18 11:17:34 +02:00
|
|
|
padding: 10px;
|
|
|
|
transition: background-color 0.3s ease;
|
2024-09-30 10:46:03 +02:00
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-container button:hover {
|
|
|
|
background-color: var(--button-hover-background-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-container img {
|
2024-09-30 10:46:03 +02:00
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
2024-09-27 08:03:12 +02:00
|
|
|
|
|
|
|
#copiedText{
|
|
|
|
margin-top: 1em;
|
2024-09-27 16:48:17 +02:00
|
|
|
cursor:default;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
2024-09-27 08:03:12 +02:00
|
|
|
}
|