|
:root { |
|
|
|
--sidebar-background: #2b2b2b; |
|
--text-light: #eee; |
|
--border-dark: #333; |
|
} |
|
|
|
|
|
.right-side-bar { |
|
display: flex; |
|
flex-direction: column; |
|
position: fixed; |
|
top: 0; |
|
right: 0; |
|
height: 100%; |
|
background-color: var(--sidebar-background); |
|
color: var(--text-light); |
|
box-shadow: -2px 0 8px rgba(0, 0, 0, 0.5); |
|
transition: width 0.4s ease; |
|
overflow-y: auto; |
|
z-index: 1000; |
|
} |
|
|
|
|
|
.right-side-bar.resizing { |
|
transition: none; |
|
} |
|
|
|
|
|
.right-side-bar.closed { |
|
width: 0; |
|
overflow: hidden; |
|
} |
|
|
|
|
|
.sidebar-header { |
|
display: flex; |
|
align-items: center; |
|
justify-content: space-between; |
|
padding: 16px; |
|
border-bottom: 3px solid var(--border-dark); |
|
} |
|
|
|
.sidebar-header h3 { |
|
margin: 0; |
|
font-size: 1.2rem; |
|
} |
|
|
|
|
|
.close-btn { |
|
background: none; |
|
border: none; |
|
padding: 6px; |
|
color: var(--text-color); |
|
font-size: 1.2rem; |
|
cursor: pointer; |
|
transition: color var(--transition-speed); |
|
} |
|
|
|
.close-btn:hover { |
|
background: rgba(255, 255, 255, 0.1); |
|
color: white; |
|
} |
|
|
|
|
|
.sidebar-content { |
|
padding: 16px; |
|
background: transparent; |
|
overflow-x: hidden; |
|
overflow-y: auto; |
|
} |
|
|
|
|
|
.nav-links.no-bullets li::marker { |
|
content: ""; |
|
} |
|
|
|
|
|
.task-item { |
|
display: flex; |
|
align-items: flex-start; |
|
margin-bottom: 1rem; |
|
} |
|
|
|
|
|
.task-icon { |
|
flex-shrink: 0; |
|
margin-right: 1rem; |
|
} |
|
|
|
|
|
.task-text { |
|
white-space: pre-wrap; |
|
} |
|
|
|
|
|
.resizer { |
|
position: absolute; |
|
left: 0; |
|
top: 0; |
|
width: 5px; |
|
height: 100%; |
|
cursor: ew-resize; |
|
} |
|
|
|
|
|
.toggle-btn.right-toggle { |
|
position: fixed; |
|
top: 50%; |
|
right: 0; |
|
transform: translateY(-50%); |
|
background-color: var(--dark-surface); |
|
color: var(--text-light); |
|
border: none; |
|
padding: 8px; |
|
cursor: pointer; |
|
z-index: 1001; |
|
box-shadow: -2px 0 4px rgba(0, 0, 0, 0.5); |
|
} |
|
|
|
.spin { |
|
animation: spin 1s linear infinite; |
|
color: #328bff; |
|
} |
|
|
|
.checkmark { |
|
color: #03c203; |
|
} |
|
|
|
.x { |
|
color: #d10808; |
|
} |
|
|
|
|
|
@keyframes spin { |
|
from { transform: rotate(0deg); } |
|
to { transform: rotate(360deg); } |
|
} |
|
|