interstellar_ai/app/styles/history.css

76 lines
1.5 KiB
CSS
Raw Normal View History

2024-10-08 17:37:17 +02:00
.history-background{
2024-09-18 11:17:34 +02:00
grid-column: 1/2;
grid-row: 1/2;
2024-10-01 11:37:53 +02:00
height: 35dvh;
2024-09-18 11:17:34 +02:00
overflow: hidden;
background-color: var(--history-background-color);
padding: 1em;
margin: 1em;
2024-09-18 16:29:58 +02:00
margin-right: 0;
2024-09-30 10:46:03 +02:00
border-radius: 1em;
2024-09-18 11:17:34 +02:00
}
2024-10-08 17:37:17 +02:00
.history{
2024-09-18 11:17:34 +02:00
height: 100%;
overflow-y: scroll;
padding-right: 10px;
}
2024-10-08 17:37:17 +02:00
.history ul{
2024-09-18 11:17:34 +02:00
list-style: none;
}
2024-10-08 17:37:17 +02:00
.history ul li{
2024-09-18 11:17:34 +02:00
padding: 10px 0;
border-bottom: 1px solid var(--text-color);
width: 100%;
}
2024-10-08 17:37:17 +02:00
.history ul li a{
2024-09-18 11:17:34 +02:00
display: block;
text-decoration: none;
2024-09-23 11:55:58 +02:00
color: var(--text-color); /* Use variable for link text color */
2024-09-18 11:17:34 +02:00
width: 100%;
padding: 5px;
}
2024-10-08 17:37:17 +02:00
.history ul li a:hover{
2024-09-18 11:17:34 +02:00
background-color: var(--input-button-hover-color);
}
2024-09-30 10:46:03 +02:00
.history-models{
2024-09-30 16:11:01 +02:00
position: relative;
2024-10-01 11:37:53 +02:00
height: 86dvh;
2024-09-30 16:11:01 +02:00
/* padding-bottom: 3dvh; */
2024-09-30 10:46:03 +02:00
}
.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;
}