interstellar_ai/app/styles/input.css

62 lines
1.4 KiB
CSS
Raw Normal View History

2024-09-18 11:17:34 +02:00
/* Input Section */
.input {
grid-column: 2/3;
grid-row: 4/5;
border-radius: 20px;
background-color: var(--input-background-color);
padding: 1em;
margin: 1em;
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
gap: 10px;
height: 10vh;
}
.input input {
flex-grow: 1;
padding: 5px;
font-size: 1.2em;
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 {
padding: 1em;
margin: 5px;
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;
border-radius: 50%;
font-size: 1.5em;
cursor: pointer;
height: 50px;
width: 50px;
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: 1em;
}
.input button:hover {
background-color: var(--input-button-hover-color);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}