interstellar_ai/app/styles/input.css

83 lines
No EOL
1.9 KiB
CSS

/* Input Section */
.input {
border-radius: 8px;
background-color: var(--input-background-color);
padding: 1em;
padding-left: 0.5em;
padding-right: 0;
margin: 0 10px;
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
height: 10dvh;
position: absolute;
left: 0.25vw;
bottom: 3dvh;
right: 0.25vw;
box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.5);
z-index: 600;
}
.input input {
flex-grow: 1;
padding: 5px;
font-size: 1em;
border-radius: 8px;
border: 2px solid var(--input-button-color);
outline: none;
margin-right: 10px;
background-color: var(--input-background-color); /* Use variable for background */
color: var(--text-color); /* Use variable for text color */
transition: border-color 0.3s ease-in-out;
height: 7vh;
}
.input input:focus {
border-color: var(--input-button-hover-color);
}
.input button {
padding: 5px;
margin: 5px;
margin-left: 0;
background-color: var(--input-button-color);
color: var(--user-message-text-color); /* Use variable for button text color */
border: none;
border-radius: 8px;
font-size: 1.5em;
cursor: pointer;
height: 8dvh;
width: 8vw;
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 {
height: 20px;
}
.input button:hover {
background-color: var(--input-button-hover-color);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.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);
}