2026-06-23 19:23:45 +00:00
|
|
|
/* Right Collapsible Floating Sidebar */
|
2026-05-12 23:58:18 +00:00
|
|
|
.sidebar {
|
|
|
|
|
position: absolute;
|
2026-06-23 19:23:45 +00:00
|
|
|
top: 75px; /* Below navbar (60px) + margin */
|
|
|
|
|
right: 15px;
|
|
|
|
|
bottom: 15px;
|
|
|
|
|
width: 340px;
|
|
|
|
|
background-color: var(--bg-glass);
|
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
2026-05-12 23:58:18 +00:00
|
|
|
z-index: 1000;
|
2026-06-23 19:23:45 +00:00
|
|
|
box-shadow: var(--shadow-lg);
|
|
|
|
|
border: 1px solid var(--border-glass);
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
2026-05-12 23:58:18 +00:00
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-06-23 19:23:45 +00:00
|
|
|
overflow: visible; /* Let toggle stick out */
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar.collapsed {
|
2026-06-23 19:23:45 +00:00
|
|
|
transform: translateX(calc(100% + 20px));
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Toggle Button attached to sidebar */
|
|
|
|
|
.sidebar-toggle {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -40px;
|
2026-06-23 19:23:45 +00:00
|
|
|
top: 20px;
|
2026-05-12 23:58:18 +00:00
|
|
|
width: 40px;
|
2026-06-23 19:23:45 +00:00
|
|
|
height: 48px;
|
|
|
|
|
background-color: var(--bg-glass);
|
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
|
|
|
|
border: 1px solid var(--border-glass);
|
|
|
|
|
border-right: none;
|
|
|
|
|
border-radius: var(--radius-md) 0 0 var(--radius-md);
|
|
|
|
|
box-shadow: -4px 4px 12px rgba(0,0,0,0.08);
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
font-size: 1.1rem;
|
|
|
|
|
color: var(--text-muted);
|
2026-05-12 23:58:18 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-06-23 19:23:45 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
|
}
|
|
|
|
|
.sidebar-toggle:hover {
|
|
|
|
|
color: var(--primary);
|
|
|
|
|
background-color: var(--bg-card);
|
|
|
|
|
width: 42px;
|
|
|
|
|
left: -42px;
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-content {
|
|
|
|
|
padding: 0;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
flex: 1;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-header {
|
|
|
|
|
display: flex;
|
2026-06-23 19:23:45 +00:00
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
padding: 16px 20px;
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
2026-05-12 23:58:18 +00:00
|
|
|
flex-shrink: 0;
|
2026-06-23 19:23:45 +00:00
|
|
|
gap: 8px;
|
|
|
|
|
}
|
|
|
|
|
.sidebar-header h2 {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-main);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#sidebar-body {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
min-height: 0;
|
2026-06-23 19:23:45 +00:00
|
|
|
padding: 10px 0;
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-new-pad {
|
2026-06-23 19:23:45 +00:00
|
|
|
background-color: var(--primary);
|
2026-05-12 23:58:18 +00:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-06-23 19:23:45 +00:00
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
border-radius: var(--radius-full);
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2026-06-23 19:23:45 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
|
}
|
|
|
|
|
.btn-new-pad:hover {
|
|
|
|
|
background-color: var(--primary-hover);
|
|
|
|
|
transform: scale(1.05);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-center-location {
|
|
|
|
|
width: calc(100% - 30px);
|
2026-06-23 19:23:45 +00:00
|
|
|
margin: 10px 15px;
|
2026-05-12 23:58:18 +00:00
|
|
|
padding: 10px;
|
2026-06-23 19:23:45 +00:00
|
|
|
background-color: var(--secondary);
|
2026-05-12 23:58:18 +00:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-06-23 19:23:45 +00:00
|
|
|
border-radius: var(--radius-md);
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.9rem;
|
2026-05-12 23:58:18 +00:00
|
|
|
flex-shrink: 0;
|
2026-06-23 19:23:45 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
|
}
|
|
|
|
|
.btn-center-location:hover {
|
|
|
|
|
background-color: var(--secondary-hover);
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: var(--shadow-md);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btn-add-note {
|
2026-06-23 19:23:45 +00:00
|
|
|
background-color: var(--primary);
|
2026-05-12 23:58:18 +00:00
|
|
|
color: white;
|
|
|
|
|
border: none;
|
2026-06-23 19:23:45 +00:00
|
|
|
padding: 8px 14px;
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-05-12 23:58:18 +00:00
|
|
|
font-size: 0.8rem;
|
2026-06-23 19:23:45 +00:00
|
|
|
font-weight: 600;
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
|
align-self: flex-start;
|
|
|
|
|
}
|
|
|
|
|
.btn-add-note:hover {
|
|
|
|
|
background-color: var(--primary-hover);
|
|
|
|
|
transform: translateY(-1px);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Sidebar Lists & Items */
|
2026-06-23 19:23:45 +00:00
|
|
|
.list-section {
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
}
|
|
|
|
|
.list-section:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
2026-05-12 23:58:18 +00:00
|
|
|
|
|
|
|
|
.list-section-header,
|
|
|
|
|
.btn-toggle-section {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
2026-06-23 19:23:45 +00:00
|
|
|
background: transparent;
|
2026-05-12 23:58:18 +00:00
|
|
|
border: none;
|
2026-06-23 19:23:45 +00:00
|
|
|
padding: 14px 20px;
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted);
|
2026-05-12 23:58:18 +00:00
|
|
|
text-transform: uppercase;
|
2026-06-23 19:23:45 +00:00
|
|
|
letter-spacing: 1px;
|
2026-05-12 23:58:18 +00:00
|
|
|
margin: 0;
|
2026-06-23 19:23:45 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
transition: var(--transition);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
.list-section-header:hover,
|
|
|
|
|
.btn-toggle-section:hover {
|
2026-06-23 19:23:45 +00:00
|
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
|
|
|
color: var(--text-main);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-23 19:23:45 +00:00
|
|
|
/* Notepad Cards inside list */
|
|
|
|
|
.notepad-card {
|
|
|
|
|
padding: 12px 20px;
|
|
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
transition: var(--transition);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 6px;
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
2026-06-23 19:23:45 +00:00
|
|
|
.notepad-card:hover {
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-23 19:23:45 +00:00
|
|
|
.notepad-card-header {
|
2026-05-12 23:58:18 +00:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
2026-06-23 19:23:45 +00:00
|
|
|
|
|
|
|
|
.notepad-info {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
color: var(--text-main);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notepad-color-dot {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 10px;
|
|
|
|
|
height: 10px;
|
|
|
|
|
border-radius: var(--radius-full);
|
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notepad-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 4px;
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
2026-06-23 19:23:45 +00:00
|
|
|
|
|
|
|
|
.btn-action-icon {
|
2026-05-12 23:58:18 +00:00
|
|
|
border: none;
|
2026-06-23 19:23:45 +00:00
|
|
|
background: transparent;
|
2026-05-12 23:58:18 +00:00
|
|
|
cursor: pointer;
|
2026-06-23 19:23:45 +00:00
|
|
|
font-size: 0.9rem;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
transition: var(--transition);
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
}
|
|
|
|
|
.btn-action-icon:hover {
|
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
|
color: var(--text-main);
|
|
|
|
|
transform: scale(1.1);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
|
2026-06-23 19:23:45 +00:00
|
|
|
.btn-action-delete:hover {
|
|
|
|
|
background-color: #fee2e2;
|
|
|
|
|
color: #ef4444;
|
|
|
|
|
}
|
|
|
|
|
.btn-action-fav {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
}
|
|
|
|
|
.btn-action-fav:hover {
|
|
|
|
|
color: #ec4899;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.notepad-card-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
padding-left: 18px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.badge-count {
|
|
|
|
|
background-color: var(--primary-light);
|
|
|
|
|
color: var(--primary);
|
|
|
|
|
padding: 2px 8px;
|
|
|
|
|
border-radius: var(--radius-full);
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
/* Note Cards in active pad view */
|
|
|
|
|
.note-card {
|
|
|
|
|
padding: 14px 20px;
|
|
|
|
|
margin: 8px 12px;
|
|
|
|
|
background: var(--bg-card);
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: var(--transition);
|
|
|
|
|
box-shadow: var(--shadow-sm);
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
}
|
|
|
|
|
.note-card:hover {
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
box-shadow: var(--shadow-md);
|
|
|
|
|
border-color: var(--primary-hover);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-title {
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
font-size: 0.95rem;
|
|
|
|
|
color: var(--text-main);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-body {
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-meta {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
line-height: 1.3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 8px;
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-link {
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #000000 !important;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
transition: var(--transition);
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
border: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
background-color: #e2e8f0;
|
|
|
|
|
}
|
|
|
|
|
.note-card-link:hover {
|
|
|
|
|
opacity: 0.85;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-link.directions {
|
|
|
|
|
background-color: #d1fae5;
|
|
|
|
|
color: #065f46 !important;
|
|
|
|
|
}
|
|
|
|
|
.note-card-link.directions:hover {
|
|
|
|
|
background-color: #a7f3d0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-link.share {
|
|
|
|
|
background-color: #6bbbf7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-link.edit {
|
|
|
|
|
background-color: #cce5ff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.note-card-link.delete,
|
|
|
|
|
.note-card-link.report {
|
|
|
|
|
background-color: #ffcccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Mobile Sidebar Adaptation */
|
|
|
|
|
@media (max-width: 768px) {
|
2026-05-12 23:58:18 +00:00
|
|
|
.sidebar {
|
2026-06-23 19:23:45 +00:00
|
|
|
width: calc(100% - 24px);
|
|
|
|
|
margin: 12px;
|
2026-06-02 04:02:39 +00:00
|
|
|
top: auto;
|
2026-06-23 19:23:45 +00:00
|
|
|
bottom: 12px;
|
2026-06-02 04:02:39 +00:00
|
|
|
left: 0;
|
|
|
|
|
right: 0;
|
2026-06-23 19:23:45 +00:00
|
|
|
height: 45vh;
|
|
|
|
|
border-radius: var(--radius-lg);
|
2026-06-02 04:02:39 +00:00
|
|
|
transform: translateY(0);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
.sidebar.collapsed {
|
2026-06-23 19:23:45 +00:00
|
|
|
transform: translateY(calc(100% + 20px));
|
2026-06-02 04:02:39 +00:00
|
|
|
}
|
|
|
|
|
.sidebar-toggle {
|
|
|
|
|
left: 50%;
|
2026-06-23 19:23:45 +00:00
|
|
|
right: auto;
|
|
|
|
|
top: -40px;
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
border: 1px solid var(--border-glass);
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
border-radius: var(--radius-md) var(--radius-md) 0 0;
|
2026-06-02 04:02:39 +00:00
|
|
|
transform: translateX(-50%) rotate(90deg);
|
2026-06-23 19:23:45 +00:00
|
|
|
box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
|
|
|
|
|
}
|
|
|
|
|
.sidebar-toggle:hover {
|
|
|
|
|
width: 48px;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%) rotate(90deg) scale(1.05);
|
2026-05-12 23:58:18 +00:00
|
|
|
}
|
|
|
|
|
}
|