|
90 | 90 | font-weight: 600; |
91 | 91 | } |
92 | 92 |
|
| 93 | +.favorites-group-toggle-button { |
| 94 | + display: flex; |
| 95 | + align-items: center; |
| 96 | + justify-content: center; |
| 97 | + padding: 0.5rem 0.625rem; |
| 98 | + border: 1px solid var(--divider-color); |
| 99 | + background: var(--bg-main-color); |
| 100 | + border-radius: 6px; |
| 101 | + cursor: pointer; |
| 102 | + color: var(--fg-placeholder-color); |
| 103 | + transition: all 0.2s ease; |
| 104 | + flex-shrink: 0; |
| 105 | +} |
| 106 | + |
| 107 | +.favorites-group-toggle-button:hover { |
| 108 | + background: var(--bg-mid-color); |
| 109 | + color: var(--fg-main-color); |
| 110 | +} |
| 111 | + |
| 112 | +.favorites-group-toggle-button-active { |
| 113 | + background: var(--tint-color); |
| 114 | + border-color: var(--tint-color); |
| 115 | + color: var(--fg-main-color); |
| 116 | +} |
| 117 | + |
| 118 | +.favorites-group-toggle-button-active:hover { |
| 119 | + background: var(--tint-color); |
| 120 | +} |
| 121 | + |
| 122 | +.favorites-group-toggle-icon { |
| 123 | + font-size: 0.875rem; |
| 124 | + width: 14px; |
| 125 | + text-align: center; |
| 126 | +} |
| 127 | + |
93 | 128 | .favorites-new-button { |
94 | 129 | display: flex; |
95 | 130 | align-items: center; |
|
179 | 214 | white-space: nowrap; |
180 | 215 | } |
181 | 216 |
|
| 217 | +/* Folder group header row */ |
| 218 | +.favorites-item-folder-header { |
| 219 | + display: flex; |
| 220 | + align-items: center; |
| 221 | + gap: 0.4rem; |
| 222 | + width: 100%; |
| 223 | + min-width: 0; |
| 224 | + font-size: 0.75rem; |
| 225 | + font-weight: 600; |
| 226 | + text-transform: uppercase; |
| 227 | + letter-spacing: 0.02em; |
| 228 | + color: var(--fg-placeholder-color); |
| 229 | +} |
| 230 | + |
| 231 | +.favorites-folder-header-icon { |
| 232 | + flex-shrink: 0; |
| 233 | + width: 12px; |
| 234 | + text-align: center; |
| 235 | + font-size: 0.75rem; |
| 236 | +} |
| 237 | + |
| 238 | +.favorites-folder-header-label { |
| 239 | + overflow: hidden; |
| 240 | + text-overflow: ellipsis; |
| 241 | + white-space: nowrap; |
| 242 | +} |
| 243 | + |
| 244 | +/* Folder headers are informational only - not selectable/clickable rows */ |
| 245 | +.list-item:has(.favorites-item-folder-header) { |
| 246 | + cursor: default; |
| 247 | + background: transparent !important; |
| 248 | + border-color: transparent !important; |
| 249 | + pointer-events: none; |
| 250 | + margin-top: 0.5rem; |
| 251 | +} |
| 252 | + |
| 253 | +.list-item:has(.favorites-item-folder-header):first-child { |
| 254 | + margin-top: 0.125rem; |
| 255 | +} |
| 256 | + |
182 | 257 | /* Unfavorite icon styling */ |
183 | 258 | .favorites-item-note .favorites-unfavorite-icon { |
184 | 259 | margin-left: auto; |
185 | 260 | margin-right: 0.25rem; |
186 | 261 | flex-shrink: 0; |
| 262 | + /* Override InfoIcon's default `top: -0.5em` offset, which clips the icon against |
| 263 | + the overflow:hidden list-item-content wrapper in this tightly-padded list row */ |
| 264 | + top: 0; |
187 | 265 | } |
188 | 266 |
|
189 | 267 | /* Styles for Add Favorite Note Dialog with Markdown Preview */ |
|
0 commit comments