.note-list { background: var(--bg-card); color: var(--text-primary); display: flex; flex-direction: column; overflow-y: auto; border-right: 1px solid var(--border-primary); } .note-list__header { padding: 14px 16px; border-bottom: 1px solid var(--border-primary); display: flex; align-items: center; justify-content: space-between; -webkit-app-region: drag; app-region: drag; } .note-list__header button { -webkit-app-region: no-drag; app-region: no-drag; } .note-list__header h3 { margin: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; } .note-list__header-right { display: flex; align-items: center; gap: 8px; } .note-list__count { font-size: 11px; color: var(--text-tertiary); background: var(--bg-button); padding: 2px 8px; border-radius: 10px; } .note-list__add-btn { width: 24px; height: 24px; border: none; border-radius: 6px; background: var(--bg-button); color: var(--text-tertiary); font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; transition: all 0.15s; } .note-list__add-btn:hover { background: var(--accent-blue); color: #fff; } /* Search */ .note-list__search { padding: 8px 12px; border-bottom: 1px solid var(--border-primary); } .note-list__search-input { width: 100%; padding: 7px 10px; background: var(--bg-input); border: 1px solid var(--border-input); border-radius: 6px; color: var(--text-primary); font-size: 13px; outline: none; box-sizing: border-box; transition: border-color 0.15s; } .note-list__search-input::placeholder { color: var(--text-faint); } .note-list__search-input:focus { border-color: var(--accent-blue); } /* Type filter pills */ .note-list__pills { display: flex; gap: 4px; padding: 8px 12px; border-bottom: 1px solid var(--border-primary); flex-wrap: wrap; } .note-list__pill { padding: 3px 10px; font-size: 11px; border: 1px solid var(--border-primary); border-radius: 12px; background: transparent; color: var(--text-tertiary); cursor: pointer; white-space: nowrap; transition: all 0.15s; } .note-list__pill:hover { background: var(--bg-button); color: var(--text-secondary); } .note-list__pill-count { font-size: 10px; opacity: 0.6; margin-left: 2px; } .note-list__pill--active { background: var(--accent-blue-bg); color: var(--accent-blue); border-color: var(--accent-blue-bg); } .note-list__pill--active .note-list__pill-count { opacity: 0.8; } .note-list__items { flex: 1; overflow-y: auto; } .note-list__empty { padding: 32px 16px; color: var(--text-faint); font-size: 13px; text-align: center; } /* Note items */ .note-list__item { padding: 10px 16px; border-bottom: 1px solid var(--border-subtle); cursor: pointer; transition: background 0.1s; } .note-list__item:hover { background: var(--bg-hover-subtle); } .note-list__item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .note-list__title { font-size: 13px; font-weight: 600; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; } .note-list__date { font-size: 11px; color: var(--text-faint); flex-shrink: 0; white-space: nowrap; } .note-list__snippet { font-size: 12px; color: var(--text-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; } .note-list__meta { display: flex; gap: 6px; font-size: 11px; color: var(--text-tertiary); margin-top: 5px; } /* Type badges with distinct colors */ .note-list__type { padding: 1px 7px; border-radius: 3px; font-weight: 500; font-size: 10px; letter-spacing: 0.02em; } .note-list__type--project { background: rgba(74, 158, 255, 0.15); color: #4a9eff; } .note-list__type--responsibility { background: rgba(156, 114, 255, 0.15); color: #9c72ff; } .note-list__type--procedure { background: rgba(255, 152, 0, 0.15); color: #ff9800; } .note-list__type--experiment { background: rgba(0, 200, 150, 0.15); color: #00c896; } .note-list__type--note { background: rgba(200, 200, 200, 0.1); color: #999; } .note-list__type--person { background: rgba(255, 100, 130, 0.15); color: #ff6482; } .note-list__type--event { background: rgba(255, 200, 50, 0.15); color: #e6b800; } .note-list__type--topic { background: rgba(100, 220, 200, 0.15); color: #64dcc8; } .note-list__status { color: var(--accent-green); font-size: 10px; } /* Git status indicators */ .note-list__git-status { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 3px; font-size: 10px; font-weight: 700; margin-right: 6px; flex-shrink: 0; font-family: 'SF Mono', 'Menlo', monospace; } .note-list__git-status--modified { background: rgba(255, 152, 0, 0.15); color: #ff9800; } .note-list__git-status--added { background: rgba(76, 175, 80, 0.15); color: #4caf50; } .note-list__git-status--deleted { background: rgba(244, 67, 54, 0.15); color: #f44336; } .note-list__git-status--untracked { background: rgba(76, 175, 80, 0.15); color: #4caf50; } .note-list__git-status--renamed { background: rgba(33, 150, 243, 0.15); color: #2196f3; } /* Selected & pinned states */ .note-list__item--selected { background: var(--bg-selected); border-left: 3px solid var(--accent-blue); padding-left: 13px; } .note-list__item--selected:hover { background: var(--bg-selected); } .note-list__item--pinned { background: var(--bg-hover-subtle); border-left: 3px solid var(--accent-green); padding-left: 13px; } /* Relationship groups */ .note-list__group { border-top: 1px solid var(--border-subtle); } .note-list__group-header { padding: 10px 16px 4px; display: flex; align-items: center; justify-content: space-between; } .note-list__group-label { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); } .note-list__group-count { font-size: 10px; color: var(--text-faint); background: var(--bg-button); padding: 1px 6px; border-radius: 8px; }