tags
This commit is contained in:
1 parent
a9603aa0e8
commit
719f9d51ff
13 files changed
+625
-70
No files matched your search
+32
-4
@@ -369,7 +369,7 @@ body.detail-image-fs-open { overflow: hidden; }
|
||||
.theme-picker.open .theme-menu { display: block; }
|
||||
|
||||
/* Buckets */
|
||||
.bucket-tab.active { border-color: var(--t-accent); color: var(--t-accent); }
|
||||
.bucket-tab.active, .bucket-tab.active:hover { background: var(--t-accent); color: var(--t-bg); border-color: var(--t-accent); }
|
||||
.bucket-tab.drag-over {
|
||||
background: var(--t-accent) !important;
|
||||
color: var(--t-bg) !important;
|
||||
@@ -390,6 +390,21 @@ body.detail-image-fs-open { overflow: hidden; }
|
||||
.bucket-drop-left { border-left: 3px solid var(--t-accent) !important; }
|
||||
.bucket-drop-right { border-right: 3px solid var(--t-accent) !important; }
|
||||
|
||||
/* Tag chips */
|
||||
.tag-chip {
|
||||
display: inline-flex; align-items: center; padding: 1px 6px;
|
||||
font-size: 9px; font-family: var(--t-font-pixel, 'Silkscreen', cursive);
|
||||
color: var(--t-accent); background: color-mix(in srgb, var(--t-accent) 12%, transparent);
|
||||
border: 1px solid color-mix(in srgb, var(--t-accent) 25%, transparent);
|
||||
border-radius: 2px; cursor: pointer; line-height: 1.4;
|
||||
transition: background 0.12s, border-color 0.12s;
|
||||
}
|
||||
.tag-seg { cursor: pointer; border-radius: 1px; padding: 0 1px; }
|
||||
.tag-seg:hover { text-decoration: underline; color: var(--t-bright); }
|
||||
.tag-sep { color: var(--t-dim); margin: 0 0.5px; pointer-events: none; }
|
||||
.tag-chip-more { color: var(--t-dim); background: transparent; border-color: var(--t-border); cursor: default; }
|
||||
#tag-bar { border-top: 1px dashed color-mix(in srgb, var(--t-accent) 30%, transparent); }
|
||||
|
||||
/* Toolbar */
|
||||
.toolbar-btn { color: var(--t-muted); padding: 4px 6px; border-radius: 3px; transition: color 0.1s, background 0.1s; cursor: pointer; background: none; border: none; font-family: inherit; }
|
||||
.toolbar-btn:hover { color: var(--t-bright); background: var(--t-raised); }
|
||||
@@ -434,9 +449,9 @@ body.detail-image-fs-open { overflow: hidden; }
|
||||
.card-link.broken { color: var(--t-danger); border-color: var(--t-danger); opacity: 0.6; }
|
||||
|
||||
/* Autocomplete */
|
||||
#link-ac .ac-item { padding: 6px 12px; cursor: pointer; transition: background 0.1s; }
|
||||
#link-ac .ac-item:hover, #link-ac .ac-item.active { background: var(--t-raised); }
|
||||
#link-ac .ac-item .ac-title { font-size: 12px; color: var(--t-bright); }
|
||||
#link-ac .ac-item, #tag-ac .ac-item { padding: 6px 12px; cursor: pointer; transition: background 0.1s; }
|
||||
#link-ac .ac-item:hover, #link-ac .ac-item.active, #tag-ac .ac-item:hover, #tag-ac .ac-item.active { background: var(--t-raised); }
|
||||
#link-ac .ac-item .ac-title, #tag-ac .ac-item .ac-title { font-size: 12px; color: var(--t-bright); }
|
||||
#link-ac .ac-item .ac-bucket { font-size: 9px; color: var(--t-dim); margin-left: 6px; }
|
||||
|
||||
/* Prose (markdown) */
|
||||
@@ -574,6 +589,19 @@ body.detail-image-fs-open { overflow: hidden; }
|
||||
.prose th, .prose td { border: 1px solid var(--t-border); padding: 0.4em 0.8em; text-align: left; }
|
||||
.prose th { background: var(--t-raised); color: var(--t-bright); font-weight: 600; }
|
||||
|
||||
/* Markdown gallery */
|
||||
.md-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; margin: 0.8em 0; }
|
||||
.md-gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: 4px; border: 1px solid var(--t-border); cursor: pointer; }
|
||||
.md-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.15s; }
|
||||
.md-gallery-item:hover img { transform: scale(1.05); }
|
||||
|
||||
/* Image fullscreen prev/next */
|
||||
.detail-image-fs-nav { position: fixed; top: 50%; transform: translateY(-50%); z-index: 172; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); font-size: 20px; cursor: pointer; border-radius: 50%; transition: background 0.15s, color 0.15s; }
|
||||
.detail-image-fs-nav:hover { background: rgba(0,0,0,0.8); color: #fff; }
|
||||
.detail-image-fs-prev { left: 16px; }
|
||||
.detail-image-fs-next { right: 16px; }
|
||||
.detail-image-fs-counter { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 172; font-family: var(--font-pixel, monospace); font-size: 10px; color: rgba(255,255,255,0.5); }
|
||||
|
||||
/* Temporary reading aid in open detail view (not persisted) */
|
||||
#detail-body .detail-reading-resize {
|
||||
position: relative;
|
||||
|
||||
Reference in new issue
Block a user