torexdev's picture
responsiveligi yaxshilab ber.
eb3b59e verified
Raw History Blame Contribute Delete
1.25 kB
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Animation for message bubbles */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.message {
animation: fadeIn 0.3s ease-out;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.sidebar {
width: 100%;
position: fixed;
z-index: 20;
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.sidebar.active {
transform: translateX(0);
}
.chat-area {
width: 100%;
}
.mobile-back-btn {
display: block !important;
}
}
@media (min-width: 769px) {
.mobile-menu-toggle,
.mobile-back-btn {
display: none !important;
}
}
/* Chat area responsive behavior */
.chat-area {
transition: all 0.3s ease;
}
/* Better touch targets for mobile */
button, .contact-item {
min-height: 44px;
}
/* Input fields */
input, textarea {
font-size: 16px !important; /* Prevent iOS zoom */
}