Files
Anya Tokugawa c1175d389f Implement Knowledge City platform, organizer and DAV integration
Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming.

Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
2026-09-27 14:44:43 +09:00

64 lines
6.6 KiB
CSS

.bookmark-sections { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,13rem),1fr)); gap:1rem; margin-block:1rem; }
.bookmark-section { border:1px solid var(--border); background:var(--panel,var(--bg)); border-radius:.75rem; padding:1rem; min-width:0; }
.home-bookmarks > .bookmark-sections > .bookmark-section { background:color-mix(in srgb,var(--bg) var(--home-glass-opacity,58%),transparent); border-color:color-mix(in srgb,var(--border) 72%,var(--accent) 28%); box-shadow:0 .45rem 1.4rem #0002; -webkit-backdrop-filter:blur(10px) saturate(115%); backdrop-filter:blur(10px) saturate(115%); }
body:has(> .home-wallpaper) .home-bookmarks > .bookmark-sections > .bookmark-section { background:color-mix(in srgb,var(--bg) var(--home-glass-opacity,58%),transparent); box-shadow:0 .55rem 1.8rem #0005; }
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) { body:has(> .home-wallpaper) .home-bookmarks > .bookmark-sections > .bookmark-section { background:color-mix(in srgb,var(--bg) 90%,transparent); } }
@media (forced-colors:active) { .home-bookmarks > .bookmark-sections > .bookmark-section { background:Canvas; border-color:CanvasText; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; } }
.bookmark-section h2 { font-size:1rem; color:var(--fg); margin:0 0 .75rem; }
.bookmark-section ul { margin:0; padding:0; list-style:none; }
.bookmark-section a { display:block; padding:.5rem; color:var(--link); text-decoration:none; overflow-wrap:anywhere; border-radius:.35rem; }
.bookmark-section a:hover { background:var(--row-hover,var(--border-soft)); }
.home-bookmark-manager { margin-block:1rem; }
.home-bookmark-manager summary { cursor:pointer; color:var(--link); }
.home-bookmark-manager #panel-bookmarks { display:block; margin-top:1rem; padding:1rem; border:1px solid var(--border); border-radius:.75rem; }
.home-bookmark-manager .table-scroll { overflow:auto; }
.home-bookmark-manager table { width:100%; border-collapse:collapse; text-align:left; }
.home-bookmark-manager th,.home-bookmark-manager td { padding:.5rem; }
.home-bookmark-manager input:not([type=checkbox]),.home-bookmark-manager select { box-sizing:border-box; width:100%; min-width:8rem; padding:.5rem; }
.home-bookmark-manager .row-actions { white-space:nowrap; }
.home-bookmark-manager button { cursor:pointer; padding:.4rem .7rem; }
.home-bookmark-manager .config-actions { display:flex; gap:.5rem; margin-top:1rem; }
.bookmark-section-row { background:var(--row-hover,var(--border-soft)); }
.bookmark-toggle { display:flex; gap:.4rem; align-items:center; font-size:.85rem; margin-top:.5rem; }
.bookmark-toggle[hidden] { display:none!important; }
.bookmark-toggle input { appearance:none; width:2rem; height:1.1rem; border-radius:1rem; background:var(--border); flex-shrink:0; position:relative; cursor:pointer; }
.bookmark-toggle input::after { content:''; position:absolute; width:.8rem; height:.8rem; top:.15rem; left:.15rem; border-radius:50%; background:var(--fg); transition:transform .15s; }
.bookmark-toggle input:checked { background:var(--accent); }
.bookmark-toggle input:checked::after { transform:translateX(.9rem); }
.bookmark-toggle input:focus-visible { outline:2px solid var(--link); outline-offset:2px; }
.bookmark-toolbar { display:flex; justify-content:flex-end; }
.bookmark-settings-icon { display:grid; place-items:center; width:2rem; height:2rem; padding:.35rem; background:transparent; color:var(--muted,var(--fg)); border:0; border-radius:.4rem; cursor:pointer; }
.bookmark-settings-icon:hover { color:var(--link); background:var(--row-hover,var(--border-soft)); }
.bookmark-settings-icon svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linejoin:round; }
dialog.home-bookmark-manager { width:min(72rem,calc(100vw - 2rem)); max-height:90vh; max-height:90svh; box-sizing:border-box; margin:auto; padding:0; border:1px solid var(--border); border-radius:.85rem; background:var(--bg); color:var(--fg); box-shadow:0 1.5rem 5rem #0009; overflow:auto; }
dialog.home-bookmark-manager::backdrop { background:#0009; backdrop-filter:blur(3px); }
.bookmark-dialog-header { position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.75rem 1.25rem; background:var(--bg); border-bottom:1px solid var(--border); }
.bookmark-dialog-header h2 { margin:0; color:var(--fg); font-size:1.1rem; }
.bookmark-dialog-header button { border:0; background:transparent; color:var(--fg); font-size:1.5rem; }
dialog.home-bookmark-manager #panel-bookmarks { border:0; margin:0; padding:1.25rem; }
dialog.home-bookmark-manager #panel-bookmarks > h1 { display:none; }
.bookmark-editor-toolbar { display:flex; gap:.5rem; margin-block:1rem; }
.bookmark-card-editor { display:grid; gap:1rem; }
.bookmark-editor-card { min-width:0; border:1px solid var(--border); border-radius:.65rem; padding:1rem; margin:0; background:var(--panel,var(--bg)); }
.bookmark-card-head { display:flex; align-items:end; gap:.5rem; margin-bottom:1rem; }
.bookmark-card-head .bookmark-field { flex:1; }
.bookmark-card-head h3 { margin:0; }
.bookmark-field { display:flex; flex-direction:column; gap:.35rem; min-width:0; }
.bookmark-field > span { font-size:.8rem; color:var(--muted,var(--fg)); }
.bookmark-field input { width:100%; min-width:0!important; box-sizing:border-box; }
.bookmark-section-options { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; padding-bottom:.75rem; }
.bookmark-section-options .muted { flex-basis:100%; margin:0; font-size:.85rem; }
.bookmark-link-row { display:grid; grid-template-columns:minmax(7rem,1fr) 5rem minmax(9rem,2fr) minmax(5rem,1fr) repeat(3,2rem); gap:.5rem; align-items:end; margin-bottom:.75rem; }
.bookmark-link-row > select { min-width:0; width:100%; }
.bookmark-link-row button { padding:.4rem!important; }
.bookmark-savebar { position:sticky; bottom:0; background:var(--bg); padding-block:1rem; display:flex; gap:1rem; align-items:center; }
.bookmark-legacy[hidden] { display:none!important; }
.vim-config-code { font-family:"Hack Nerd Font",monospace; width:100%; resize:vertical; line-height:1.5; tab-size:4; }
#vim-settings-form input[type=file]::file-selector-button { padding:.45rem .8rem; margin-right:.8rem; border:1px solid var(--border); border-radius:.35rem; background:var(--button-bg,var(--bg)); color:var(--fg); cursor:pointer; }
@media(max-width:700px) {
.bookmark-link-row { grid-template-columns:1fr 1fr repeat(3,2rem); border-top:1px solid var(--border); padding-top:.75rem; }
.bookmark-link-row .bookmark-field { grid-column:span 2; }
.bookmark-link-row .bookmark-field:nth-child(3) { grid-column:1 / -1; }
dialog.home-bookmark-manager { width:calc(100vw - 1rem); max-height:95svh; }
}