interstellar_ai/app/styles/input.css

83 lines
1.9 KiB
CSS
Raw Normal View History

2024-09-18 11:17:34 +02:00
/* Input Section */
.input {
2024-09-30 11:40:14 +02:00
border-radius: 8px;
2024-09-18 11:17:34 +02:00
background-color: var(--input-background-color);
padding: 1em;
2024-09-30 11:40:14 +02:00
padding-left: 0.5em;
padding-right: 0;
margin: 0 10px;
2024-09-18 11:17:34 +02:00
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
2024-09-30 16:11:01 +02:00
height: 10dvh;
position: absolute;
left: 0.25vw;
bottom: 3dvh;
right: 0.25vw;
box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.5);
2024-10-02 10:24:30 +02:00
z-index: 600;
2024-09-18 11:17:34 +02:00
}
.input input {
flex-grow: 1;
padding: 5px;
2024-09-30 11:40:14 +02:00
font-size: 1em;
2024-09-18 11:17:34 +02:00
border-radius: 8px;
border: 2px solid var(--input-button-color);
outline: none;
margin-right: 10px;
2024-09-23 11:55:58 +02:00
background-color: var(--input-background-color); /* Use variable for background */
color: var(--text-color); /* Use variable for text color */
2024-09-18 11:17:34 +02:00
transition: border-color 0.3s ease-in-out;
height: 7vh;
}
.input input:focus {
border-color: var(--input-button-hover-color);
}
.input button {
2024-09-30 11:40:14 +02:00
padding: 5px;
2024-09-18 11:17:34 +02:00
margin: 5px;
2024-09-30 11:40:14 +02:00
margin-left: 0;
2024-09-18 11:17:34 +02:00
background-color: var(--input-button-color);
2024-09-23 11:55:58 +02:00
color: var(--user-message-text-color); /* Use variable for button text color */
2024-09-18 11:17:34 +02:00
border: none;
2024-09-30 11:40:14 +02:00
border-radius: 8px;
2024-09-18 11:17:34 +02:00
font-size: 1.5em;
cursor: pointer;
2024-09-30 16:11:01 +02:00
height: 8dvh;
width: 8vw;
2024-09-18 11:17:34 +02:00
display: flex;
justify-content: center;
align-items: center;
transition: background-color 0.3s ease;
position: relative;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.input button img {
2024-09-30 11:40:14 +02:00
height: 20px;
2024-09-18 11:17:34 +02:00
}
.input button:hover {
background-color: var(--input-button-hover-color);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
2024-09-26 09:28:18 +02:00
.microphone-button.red{
background-color: var(--close-button-color);
}
.microphone-button.green{
background-color: var(--button-background-color);
}
.microphone-button.red:hover{
background-color: var(--close-button-hover-color);
}
.microphone-button.green:hover{
background-color: var(--input-button-hover-color);
}