133 lines
2.2 KiB
CSS
133 lines
2.2 KiB
CSS
|
|
/* Side Notes — Notes List (Dark Theme, chrome://history-inspired) */
|
||
|
|
|
||
|
|
:root {
|
||
|
|
--bg: #1e1e1e;
|
||
|
|
--bg-header: #252525;
|
||
|
|
--text: #d4d4d4;
|
||
|
|
--text-muted: #888;
|
||
|
|
--text-dim: #666;
|
||
|
|
--border: #3c3c3c;
|
||
|
|
--accent: #569cd6;
|
||
|
|
--hover-bg: #2a2a2a;
|
||
|
|
--section-label: #999;
|
||
|
|
}
|
||
|
|
|
||
|
|
* {
|
||
|
|
margin: 0;
|
||
|
|
padding: 0;
|
||
|
|
box-sizing: border-box;
|
||
|
|
}
|
||
|
|
|
||
|
|
html, body {
|
||
|
|
height: 100%;
|
||
|
|
background: var(--bg);
|
||
|
|
color: var(--text);
|
||
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ---- Header ---- */
|
||
|
|
header {
|
||
|
|
background: var(--bg-header);
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
padding: 24px 32px 16px;
|
||
|
|
}
|
||
|
|
|
||
|
|
header h1 {
|
||
|
|
font-size: 22px;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--text);
|
||
|
|
margin-bottom: 4px;
|
||
|
|
}
|
||
|
|
|
||
|
|
#subtitle {
|
||
|
|
font-size: 13px;
|
||
|
|
color: var(--text-muted);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ---- Main list ---- */
|
||
|
|
main {
|
||
|
|
max-width: 800px;
|
||
|
|
margin: 0 auto;
|
||
|
|
padding: 16px 32px 48px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ---- Day sections ---- */
|
||
|
|
.day-section {
|
||
|
|
margin-bottom: 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.day-label {
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 600;
|
||
|
|
color: var(--section-label);
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
padding: 8px 0;
|
||
|
|
border-bottom: 1px solid var(--border);
|
||
|
|
margin-bottom: 4px;
|
||
|
|
position: sticky;
|
||
|
|
top: 0;
|
||
|
|
background: var(--bg);
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ---- Note entries ---- */
|
||
|
|
.note-entry {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
gap: 12px;
|
||
|
|
padding: 10px 12px;
|
||
|
|
border-radius: 6px;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background 0.1s;
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry:hover {
|
||
|
|
background: var(--hover-bg);
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry img {
|
||
|
|
width: 16px;
|
||
|
|
height: 16px;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry .entry-text {
|
||
|
|
flex: 1;
|
||
|
|
min-width: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry .entry-title {
|
||
|
|
font-size: 14px;
|
||
|
|
color: var(--text);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry .entry-url {
|
||
|
|
font-size: 12px;
|
||
|
|
color: var(--text-dim);
|
||
|
|
white-space: nowrap;
|
||
|
|
overflow: hidden;
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
margin-top: 2px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.note-entry .entry-time {
|
||
|
|
font-size: 12px;
|
||
|
|
color: var(--text-muted);
|
||
|
|
flex-shrink: 0;
|
||
|
|
text-align: right;
|
||
|
|
min-width: 70px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* ---- Empty state ---- */
|
||
|
|
#empty-message {
|
||
|
|
text-align: center;
|
||
|
|
color: var(--text-muted);
|
||
|
|
padding: 48px 0;
|
||
|
|
font-size: 14px;
|
||
|
|
}
|