interstellar_ai/app/styles/output.css

80 lines
1.6 KiB
CSS

/* Output Section */
.output {
grid-column: 2;
grid-row: 1 / 4;
background-color: var(--output-background-color);
margin: 1em;
margin-bottom: 0;
padding-bottom: 14dvh;
display: flex;
flex-direction: column;
justify-content: flex-start;
font-size: 1em;
overflow-y: auto;
width: calc(100% - 2em); /* Corrected calculation for width */
height: 86dvh;
}
#conversation {
display: flex;
flex-direction: column;
padding-left: 10px;
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;
border-radius: 100%;
padding: 10px;
transition: background-color 0.3s ease;
height: 40px;
width: 40px;
}
.button-container button:hover {
background-color: var(--button-hover-background-color);
}
.button-container img {
height: 20px;
width: 20px;
}
#copiedText{
margin-top: 1em;
cursor:default;
pointer-events: none;
user-select: none;
}