interstellar_ai/app/styles/history.css

75 lines
1.5 KiB
CSS

.history-background{
grid-column: 1/2;
grid-row: 1/2;
height: 35dvh;
overflow: hidden;
background-color: var(--history-background-color);
padding: 1em;
margin: 1em;
margin-right: 0;
border-radius: 1em;
}
.history{
height: 100%;
overflow-y: scroll;
padding-right: 10px;
}
.history ul{
list-style: none;
}
.history ul li{
padding: 10px 0;
border-bottom: 1px solid var(--text-color);
width: 100%;
}
.history ul li a{
display: block;
text-decoration: none;
color: var(--text-color); /* Use variable for link text color */
width: 100%;
padding: 5px;
}
.history ul li a:hover{
background-color: var(--input-button-hover-color);
}
.history-models{
position: relative;
height: 86dvh;
/* padding-bottom: 3dvh; */
}
.input-container {
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
}
.chat-input {
border-color: var(--input-border-color);
color: var(--text-color);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 10px;
border-radius: 5px;
width: 80%;
height: 50px;
box-sizing: border-box;
line-height: 30px;
}
.save-btn, .newChat-btn {
display: flex;
justify-content: center;
align-items: center;
text-align: center;
width: 20%;
height: 50px;
background-color: var(--input-button-color);
color: var(--text-color);
border: none;
font-size: 0.9em;
border-radius: 5px;
margin-left: 10px;
}
.newChat-btn{
margin-left: 0px;
}