File size: 2,238 Bytes
cb20bdc 2f6d768 b10c786 cb20bdc aa651ae cb20bdc c0b3c6a cb20bdc 0d4d44f cb20bdc 2e4a89e cb20bdc aa651ae cb20bdc aa651ae cb20bdc 3673e75 cb20bdc 0d4d44f 0879a03 cb20bdc 1a805b3 cb20bdc 1a805b3 cb20bdc aa651ae cb20bdc aa651ae cb20bdc 2e4a89e cb20bdc 0879a03 3673e75 cb20bdc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
.sidebar {
display: flex;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
height: 100dvh;
background-color: var(--bg-secondary);
color: white;
font-family: 'Inter', sans-serif;
transition: width .5s ,height .5s;
z-index: 1000;
}
.sidebar-content {
display: flex;
flex-direction: column;
flex: 1;
overflow-y: scroll;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
scroll-behavior: smooth;
}
.sidebar-conten::-webkit-scrollbar {
display: none;
}
.sidebar.open {
width: 220px;
}
.sidebar.closed {
width: 0;
}
.sidebar-header {
display: flex;
align-items: center;
padding-top: 18px;
padding-left: 20px;
}
.sidebar-logo{
border-radius: 10px;
display: inline;
}
.sidebar-toggle {
background: none;
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
}
.sidebar-title {
font-size: 1.25rem;
margin-left: 16px;
margin-bottom: 0;
white-space: nowrap;
}
.sidebar-menu {
margin-top: 16px;
flex: 1;
}
.sidebar-link {
text-decoration: none;
text-align: center;
justify-content: space-between;
color: #b0b0b0;
display: flex;
align-items: center;
padding: 8px 16px;
border-radius: 8px;
margin-bottom: 8px;
margin-left: 10px;
margin-right: 10px;
background-color: #12121f;
cursor: pointer;
white-space: nowrap;
position: relative;
transition: color 0.3s ease, border .3s ease-in-out, background-color .5s ease-in-out;
}
.sidebar-link.active {
color: #ffffff;
background-color: #1c2354;
border: 1px solid #4339ff;
}
.sidebar-link:hover {
color: #ffffff;
border: 1px solid #4339ff;
}
.sidebar-footer {
padding: 16px;
}
.sidebar-item {
display: flex;
align-items: center;
padding: 8px 16px;
border-radius: 8px;
cursor: pointer;
white-space: nowrap;
}
.sidebar-item svg {
margin-right: 15px;
}
.sidebar-item-text {
font-size: 0.875rem;
font-weight: 500;
margin-left: 10px;
}
.sidebar-svg{
color: white !important;
} |