2024-09-18 11:17:34 +02:00
|
|
|
/* container.css */
|
2024-09-19 12:18:04 +02:00
|
|
|
.container,
|
|
|
|
.content {
|
2024-09-18 16:26:57 +02:00
|
|
|
padding-top: 10vh;
|
2024-09-18 11:17:34 +02:00
|
|
|
display: flex;
|
|
|
|
height: 100vh;
|
|
|
|
width: 100vw;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative; /* Ensure relative positioning for proper transitions */
|
|
|
|
}
|
|
|
|
|
|
|
|
.left-panel {
|
2024-09-18 16:26:57 +02:00
|
|
|
width: 25vw; /* Adjust as needed */
|
2024-09-19 12:18:04 +02:00
|
|
|
transition: width 0.3s ease, opacity 0.3s ease, visibility 0.3s ease; /* Smooth transitions for all properties */
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.left-panel.hidden {
|
|
|
|
opacity: 0; /* Fade out when hidden */
|
2024-09-19 12:18:04 +02:00
|
|
|
width: 0; /* Collapse width to 0 */
|
|
|
|
visibility: hidden; /* Hide visibility while collapsing */
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-container {
|
|
|
|
flex: 1;
|
2024-09-19 12:18:04 +02:00
|
|
|
transition: margin-left 0.3s ease; /* Smooth margin adjustment */
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Adjust margin-left when panel is shown or hidden */
|
|
|
|
.conversation-container.expanded {
|
2024-09-19 12:18:04 +02:00
|
|
|
margin-left: 1vw;
|
2024-09-18 11:17:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.conversation-container.collapsed {
|
2024-09-19 12:18:04 +02:00
|
|
|
margin-left: 1vw; /* Space for the left panel */
|
2024-09-19 09:54:00 +02:00
|
|
|
}
|