61 lines
1.4 KiB
CSS
61 lines
1.4 KiB
CSS
/* 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;
|
|
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: 1em;
|
|
margin: 5px;
|
|
background-color: var(--input-button-color);
|
|
color: var(--user-message-text-color); /* Use variable for button text color */
|
|
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);
|
|
}
|