38 lines
759 B
CSS
38 lines
759 B
CSS
.btn-primary {
|
|
background: #5A2C82;
|
|
color: #FFFFFF;
|
|
display: block;
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-active {
|
|
background: #D10056;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 330px;
|
|
/* Adjust the width as needed */
|
|
height: 100vh;
|
|
background-color: #5c2684;
|
|
color: #FFFFFF;
|
|
padding-top: .9375rem;
|
|
/* Set the background color */
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
|
|
/* Add a box-shadow for visual separation */
|
|
transform: translateX(-100%);
|
|
/* Initially hide the sidebar */
|
|
transition: transform 0.4s ease;
|
|
/* Add a transition for smooth animation */
|
|
|
|
z-index: 9;
|
|
}
|
|
|
|
.sidebar.open {
|
|
transform: translateX(0);
|
|
/* Show the sidebar by removing the translation */
|
|
} |