Files
digifi-www/src/App.css
T

74 lines
1.4 KiB
CSS

.btn-primary {
background: #5A2C82 !important;
color: #FFFFFF;
display: block;
text-decoration: none;
font-weight: 500;
cursor: pointer;
}
.btn-active {
background: #D10056 !important;
}
.btn-R {
padding-inline: 3rem !important;
font-weight: bold !important;
font-size: 16px !important;
background-color: #5A2C82;
}
.btn-W {
background: white !important;
border-radius: 8px;
font-size: 18px;
font-weight: bold;
color: #FBB700;
line-height: 25px;
align-items: center !important;
}
.btn-Y {
background: #FBB700 !important;
border-radius: 8px;
font-size: 18px;
font-weight: bold;
/* color: white; */
line-height: 25px;
align-items: center !important;
}
.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 */
}
.sidebar-open {
border: 1px solid red;
}
.sidebar-close {
border: 1px solid green;
transform: translateX(0%);
}