Merge branch 'main' into main

This commit is contained in:
Patrick 2024-10-01 16:54:47 +02:00
commit 157f4a2351
10 changed files with 859 additions and 664 deletions

View file

@ -1,5 +1,6 @@
/* Output Section */
.output {
scroll-behavior: smooth;
grid-column: 2;
grid-row: 1 / 4;
background-color: var(--output-background-color);
@ -13,6 +14,7 @@
overflow-y: auto;
width: calc(100% - 2em); /* Corrected calculation for width */
height: 86dvh;
position: relative;
}
#conversation {
@ -20,7 +22,7 @@
flex-direction: column;
padding-left: 10px;
overflow-y: auto;
max-height: 80vh;
height: 80vh;
background-color: var(--output-background-color);
border-radius: 10px;
scroll-behavior: smooth;
@ -72,9 +74,71 @@
width: 20px;
}
.tooltip {
position: relative;
display: inline-block;
margin: 5px;
cursor: pointer;
}
.tooltip .tooltiptext {
visibility: hidden;
background-color: var(--user-message-background-color);
color: var(--text-color);
text-align: center;
padding: 5px;
border-radius: 4px;
font-size: calc(var(--font-size)*0.8);
/* Position the tooltip */
position: absolute;
top: 125%;
/* Adjusts tooltip to be below the button */
left: 50%;
transform: translateX(-50%);
/* Center the tooltip */
white-space: nowrap;
/* Prevent line breaks */
/* Add smooth transition */
opacity: 0;
transition: all 0.3s;
}
.tooltip .tooltiptext::after {
content: "";
position: absolute;
bottom: 100%;
/* Arrow on top of tooltip */
left: 50%;
transform: translateX(-50%);
border-width: 5px;
border-style: solid;
border-color: transparent transparent var(--user-message-background-color) transparent;
}
/* Show the tooltip on hover */
.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}
#copiedText{
margin-top: 1em;
cursor:default;
pointer-events: none;
user-select: none;
}
#scrollToBottom{
scroll-behavior: smooth;
visibility: hidden;
position: absolute;
height: 50px;
width: 50px;
margin: auto;
border-radius: 100%;
bottom: 16dvh;
left: 50%;
translate: -25px;
}