CBXAI's picture
Collapsible side bar option required
4015f3b verified
Raw History Blame Contribute Delete
1.2 kB
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
}
.progress-bar {
height: 8px;
border-radius: 4px;
background-color: #E5E7EB;
overflow: hidden;
}
.progress-fill {
height: 100%;
border-radius: 4px;
}
/* Animation for progress bar */
.progress-fill {
transition: width 0.6s ease;
}
/* Tooltip styles for collapsed sidebar */
[tooltip] {
position: relative;
}
[tooltip]::after {
content: attr(tooltip);
position: absolute;
left: 100%;
top: 50%;
transform: translateY(-50%);
margin-left: 10px;
padding: 5px 10px;
background: #333;
color: #fff;
border-radius: 4px;
font-size: 12px;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s;
z-index: 100;
}
[tooltip]:hover::after {
opacity: 1;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}