hotel-ai-widget
Version:
A customizable hotel chat widget for React and vanilla HTML
77 lines (64 loc) • 1.19 kB
CSS
/* Chat Input Styles */
.chat-input-container {
padding: 0.75rem;
}
.chat-input-wrapper {
padding: 0.5rem 0.75rem;
border: 2px solid black;
border-radius: 1rem;
display: flex;
gap: 0.25rem;
width: 100%;
}
.chat-input-form {
width: 100%;
}
.chat-input-textarea {
width: 100%;
outline: none;
resize: none;
min-height: 20px;
max-height: 80px;
overflow-y: auto;
font-size: 0.75rem;
border: none;
background: transparent;
}
.chat-input-textarea::placeholder {
color: #9ca3af;
}
.chat-input-textarea:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.chat-input-actions {
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-input-send-button {
width: 1rem;
height: 1rem;
color: #374151;
cursor: pointer;
transition: opacity 0.2s ease;
}
.chat-input-send-button.disabled {
opacity: 0.5;
pointer-events: none;
}
.chat-input-send-button:hover:not(.disabled) {
color: #111827;
}
/* Responsive Design */
@media (max-width: 768px) {
.chat-input-container {
padding: 0.5rem;
}
.chat-input-wrapper {
padding: 0.375rem 0.5rem;
}
.chat-input-textarea {
font-size: 0.875rem;
}
}