diff options
| -rw-r--r-- | frontend-vanilla/src/style.css | 525 | ||||
| -rw-r--r-- | web/dist/v3/assets/index-DY2Nq02d.js (renamed from web/dist/v3/assets/index-BHuENXaY.js) | 0 | ||||
| -rw-r--r-- | web/dist/v3/assets/index-DhBfP27o.css (renamed from web/dist/v3/assets/index-qSXfOguP.css) | 2 | ||||
| -rw-r--r-- | web/dist/v3/index.html | 4 |
4 files changed, 165 insertions, 366 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index ca2fdf5..a13651e 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -536,295 +536,194 @@ select:focus { /* Settings View */ .settings-view { padding-top: 2rem; + font-family: var(--font-heading); +} + +.settings-view h2 { + font-size: 2rem; + font-weight: 700; + margin-bottom: 2rem; + letter-spacing: -0.02em; +} + +.settings-grid { + display: flex; + flex-direction: column; + gap: 3rem; + margin-bottom: 2rem; } .settings-section { - margin-bottom: 2.5rem; + margin: 0; + padding: 0; + border: none; } .settings-section h3 { font-family: var(--font-heading); - border-bottom: 1px solid var(--border-color); - padding-bottom: 0.5rem; + font-size: 1.2rem; + font-weight: 700; + margin-top: 0; margin-bottom: 1rem; + border-bottom: none; + padding-bottom: 0; + color: var(--text-color); +} + +.settings-group label, +.data-group label { + display: block; + font-size: 0.8rem; + font-weight: 700; + text-transform: uppercase; + margin-bottom: 0.5rem; + opacity: 0.6; + font-family: var(--font-heading); } .theme-options { display: flex; - gap: 1rem; + gap: 0.5rem; } -button { - border-radius: 8px; +button, +.button { + border-radius: 6px; border: 1px solid var(--border-color); - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: bold; - font-family: inherit; - background-color: #f9f9f9; + padding: 0.5rem 1rem; + font-size: 0.8rem; + font-weight: 700; + text-transform: uppercase; + font-family: var(--font-heading); + background-color: var(--bg-color); cursor: pointer; transition: all 0.2s; + color: var(--text-color); + text-decoration: none; + display: inline-block; + text-align: center; } -.theme-dark button { - background-color: #1a1a1a; - color: #fff; - border-color: #333; +button:hover, +.button:hover { + border-color: var(--text-color); + background: rgba(0, 0, 0, 0.05); } -button.active { - border-color: var(--accent-color); - background-color: #eef; +.theme-dark button, +.theme-dark .button { + background-color: transparent; + color: var(--text-color); + border-color: var(--border-color); } -.theme-dark button.active { - background-color: #282e34; - border-color: var(--accent-color); +.theme-dark button:hover, +.theme-dark .button:hover { + background: rgba(255, 255, 255, 0.1); + border-color: var(--text-color); } -.theme-dark input, -.theme-dark select { - background-color: #111; - color: #ffffff; - border-color: #333; +button.active, +.theme-dark button.active { + background-color: var(--text-color); + color: var(--bg-color); + border-color: var(--text-color); } .add-feed-form { display: flex; gap: 0.5rem; + max-width: 600px; } .add-feed-form input { flex: 1; - padding: 0.6rem 1rem; - border-radius: 8px; - border: 1px solid var(--border-color); - background: var(--bg-color); - color: var(--text-color); -} - -.settings-group label { - display: block; - font-size: 0.85rem; - font-weight: 600; - margin-bottom: 0.5rem; - opacity: 0.7; -} - -#font-selector { - width: 100%; - padding: 0.6rem; - border-radius: 8px; - border: 1px solid var(--border-color); - background: var(--bg-color); - color: var(--text-color); -} - -.data-actions button, -.data-actions .button { - display: inline-block; - text-align: center; - width: 100%; -} - -label.button { - cursor: pointer; -} -/* Settings Grid Layout */ -.settings-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 2rem; - margin-bottom: 2rem; -} - -.settings-section { - background: var(--bg-color); - padding: 0; - border: none; - margin-bottom: 0; -} - -.settings-section h3 { - font-size: 1.1rem; - margin-top: 0; - margin-bottom: 1rem; - border-bottom: 1px solid var(--border-color); - padding-bottom: 0.5rem; - opacity: 0.7; -} - -.manage-feeds-section { - grid-column: 1 / -1; - margin-top: 1rem; } .button-group { - display: flex; - gap: 0.5rem; - flex-wrap: wrap; -} - -.button-group a.button, -.button-group button { - flex: 1; - display: inline-block; - padding: 0.5rem; - text-align: center; - background: var(--bg-color); - border: 1px solid var(--border-color); - border-radius: 6px; - text-decoration: none; - color: var(--text-color); - font-size: 0.9rem; - cursor: pointer; - line-height: 1.5; -} - -.button-group a.button:hover, -.button-group button:hover { - background: rgba(0,0,0,0.05); - border-color: var(--accent-color); -} - -.theme-dark .button-group a.button:hover, -.theme-dark .button-group button:hover { - background: rgba(255,255,255,0.1); + display: flex; + gap: 0.5rem; } +/* Manage Feeds - List View */ .manage-feed-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); - gap: 1rem; - padding: 0; - list-style: none; + display: flex; + flex-direction: column; + padding: 0; + list-style: none; + border-top: 1px solid var(--border-color); } .manage-feed-item { - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 1rem; - background: rgba(0,0,0,0.02); - display: flex; - flex-direction: column; - gap: 0.5rem; + display: flex; + align-items: center; + padding: 1rem 0; + border-bottom: 1px solid var(--border-color); + background: transparent; + gap: 1rem; } -.theme-dark .manage-feed-item { - background: rgba(255,255,255,0.02); +.feed-info { + flex: 1; + min-width: 0; + /* Text truncation */ } .feed-title { - font-weight: bold; - margin-bottom: 0.25rem; - font-size: 0.95rem; + font-weight: 700; + font-size: 1rem; + margin-bottom: 0.2rem; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-family: var(--font-heading); } .feed-url { - font-size: 0.8em; - opacity: 0.7; - margin-bottom: 0.5rem; - word-break: break-all; - overflow-wrap: anywhere; -} - -/* Settings Grid Layout */ -.settings-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 2rem; - margin-bottom: 2rem; -} - -.settings-section { - background: var(--bg-color); - padding: 0; - border: none; - margin-bottom: 0; -} - -.settings-section h3 { - font-size: 1.1rem; - margin-top: 0; - margin-bottom: 1rem; - border-bottom: 1px solid var(--border-color); - padding-bottom: 0.5rem; - opacity: 0.7; + font-size: 0.85rem; + opacity: 0.6; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + font-family: var(--font-heading); } -.manage-feeds-section { - grid-column: 1 / -1; - margin-top: 1rem; +.feed-actions { + display: flex; + gap: 0.5rem; + align-items: center; } -.button-group { - display: flex; - gap: 0.5rem; - flex-wrap: wrap; +.feed-tag-input { + width: 120px; + padding: 0.4rem; } -.button-group a.button, -.button-group button { - flex: 1; - display: inline-block; - padding: 0.5rem; - text-align: center; - background: var(--bg-color); - border: 1px solid var(--border-color); - border-radius: 6px; - text-decoration: none; - color: var(--text-color); - font-size: 0.9rem; - cursor: pointer; - line-height: 1.5; +.delete-feed-btn { + color: var(--error-color, #d32f2f) !important; + border-color: var(--error-color, #d32f2f) !important; } -.button-group a.button:hover, -.button-group button:hover { - background: rgba(0,0,0,0.05); - border-color: var(--accent-color); +.delete-feed-btn:hover { + background-color: rgba(211, 47, 47, 0.1) !important; } -.theme-dark .button-group a.button:hover, -.theme-dark .button-group button:hover { - background: rgba(255,255,255,0.1); -} - -.manage-feed-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); - gap: 1rem; - padding: 0; - list-style: none; -} - -.manage-feed-item { - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 1rem; - background: rgba(0,0,0,0.02); - display: flex; +@media (max-width: 768px) { + .manage-feed-item { flex-direction: column; - gap: 0.5rem; -} + align-items: flex-start; + } -.theme-dark .manage-feed-item { - background: rgba(255,255,255,0.02); -} + .feed-actions { + width: 100%; + margin-top: 0.5rem; + } -.feed-title { - font-weight: bold; - margin-bottom: 0.25rem; - font-size: 0.95rem; + .feed-tag-input { + flex: 1; + } } -.feed-url { - font-size: 0.8em; - opacity: 0.7; - margin-bottom: 0.5rem; - word-break: break-all; - overflow-wrap: anywhere; -} /* Settings Grid Layout */ .settings-grid { @@ -851,175 +750,75 @@ label.button { } .manage-feeds-section { - grid-column: 1 / -1; - margin-top: 1rem; + grid-column: 1 / -1; + margin-top: 1rem; } .button-group { - display: flex; - gap: 0.5rem; - flex-wrap: wrap; + display: flex; + gap: 0.5rem; + flex-wrap: wrap; } .button-group a.button, .button-group button { - flex: 1; - display: inline-block; - padding: 0.5rem; - text-align: center; - background: var(--bg-color); - border: 1px solid var(--border-color); - border-radius: 6px; - text-decoration: none; - color: var(--text-color); - font-size: 0.9rem; - cursor: pointer; - line-height: 1.5; + flex: 1; + display: inline-block; + padding: 0.5rem; + text-align: center; + background: var(--bg-color); + border: 1px solid var(--border-color); + border-radius: 6px; + text-decoration: none; + color: var(--text-color); + font-size: 0.9rem; + cursor: pointer; + line-height: 1.5; } .button-group a.button:hover, .button-group button:hover { - background: rgba(0,0,0,0.05); - border-color: var(--accent-color); + background: rgba(0, 0, 0, 0.05); + border-color: var(--accent-color); } .theme-dark .button-group a.button:hover, .theme-dark .button-group button:hover { - background: rgba(255,255,255,0.1); + background: rgba(255, 255, 255, 0.1); } .manage-feed-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); - gap: 1rem; - padding: 0; - list-style: none; -} - -.manage-feed-item { - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 1rem; - background: rgba(0,0,0,0.02); - display: flex; - flex-direction: column; - gap: 0.5rem; -} - -.theme-dark .manage-feed-item { - background: rgba(255,255,255,0.02); -} - -.feed-title { - font-weight: bold; - margin-bottom: 0.25rem; - font-size: 0.95rem; -} - -.feed-url { - font-size: 0.8em; - opacity: 0.7; - margin-bottom: 0.5rem; - word-break: break-all; - overflow-wrap: anywhere; -} - - -/* Settings Grid Layout */ -.settings-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); - gap: 2rem; - margin-bottom: 2rem; -} - -.settings-section { - background: var(--bg-color); + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + gap: 1rem; padding: 0; - border: none; - margin-bottom: 0; -} - -.settings-section h3 { - font-size: 1.1rem; - margin-top: 0; - margin-bottom: 1rem; - border-bottom: 1px solid var(--border-color); - padding-bottom: 0.5rem; - opacity: 0.7; -} - -.manage-feeds-section { - grid-column: 1 / -1; - margin-top: 1rem; -} - -.button-group { - display: flex; - gap: 0.5rem; - flex-wrap: wrap; -} - -.button-group a.button, -.button-group button { - flex: 1; - display: inline-block; - padding: 0.5rem; - text-align: center; - background: var(--bg-color); - border: 1px solid var(--border-color); - border-radius: 6px; - text-decoration: none; - color: var(--text-color); - font-size: 0.9rem; - cursor: pointer; - line-height: 1.5; -} - -.button-group a.button:hover, -.button-group button:hover { - background: rgba(0,0,0,0.05); - border-color: var(--accent-color); -} - -.theme-dark .button-group a.button:hover, -.theme-dark .button-group button:hover { - background: rgba(255,255,255,0.1); -} - -.manage-feed-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); - gap: 1rem; - padding: 0; - list-style: none; + list-style: none; } .manage-feed-item { - border: 1px solid var(--border-color); - border-radius: 8px; - padding: 1rem; - background: rgba(0,0,0,0.02); - display: flex; - flex-direction: column; - gap: 0.5rem; + border: 1px solid var(--border-color); + border-radius: 8px; + padding: 1rem; + background: rgba(0, 0, 0, 0.02); + display: flex; + flex-direction: column; + gap: 0.5rem; } .theme-dark .manage-feed-item { - background: rgba(255,255,255,0.02); + background: rgba(255, 255, 255, 0.02); } .feed-title { - font-weight: bold; - margin-bottom: 0.25rem; - font-size: 0.95rem; + font-weight: bold; + margin-bottom: 0.25rem; + font-size: 0.95rem; } .feed-url { - font-size: 0.8em; - opacity: 0.7; - margin-bottom: 0.5rem; - word-break: break-all; - overflow-wrap: anywhere; -} - + font-size: 0.8em; + opacity: 0.7; + margin-bottom: 0.5rem; + word-break: break-all; + overflow-wrap: anywhere; +}
\ No newline at end of file diff --git a/web/dist/v3/assets/index-BHuENXaY.js b/web/dist/v3/assets/index-DY2Nq02d.js index 62f8857..62f8857 100644 --- a/web/dist/v3/assets/index-BHuENXaY.js +++ b/web/dist/v3/assets/index-DY2Nq02d.js diff --git a/web/dist/v3/assets/index-qSXfOguP.css b/web/dist/v3/assets/index-DhBfP27o.css index 36e7ff1..45c2f33 100644 --- a/web/dist/v3/assets/index-qSXfOguP.css +++ b/web/dist/v3/assets/index-DhBfP27o.css @@ -1 +1 @@ -:root{--font-body: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;--font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;--font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;line-height:1.5;font-size:18px;--bg-color: #ffffff;--text-color: rgba(0, 0, 0, .87);--sidebar-bg: #ccc;--link-color: #0000ee;--border-color: #999;--accent-color: #007bff;color-scheme:light dark}*{box-sizing:border-box}body{margin:0;font-family:var(--font-body);background-color:var(--bg-color);color:var(--text-color);height:100vh;width:100%;max-width:100vw;overflow:hidden}html{overflow-x:hidden;max-width:100vw}#app{height:100%;width:100%}.layout{display:flex;height:100%;width:100%;overflow-x:hidden;position:relative}.sidebar{width:11rem;background:#ffffff0d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;height:100%;overflow:hidden;z-index:100;padding:5rem 1.5rem 1.5rem}.theme-dark .sidebar{background:#0003;border-right-color:#ffffff0d}.sidebar-search{margin-top:1rem;margin-bottom:1rem}.sidebar-search input{width:100%;border-radius:20px;background:#0000000d;border:1px solid rgba(255,255,255,.1);color:var(--text-color);padding:.5rem 1rem;font-size:.9rem}.sidebar-scroll{flex:1;overflow-y:auto;margin:0 -1.5rem;padding:0 1.5rem}.sidebar-section h3{font-family:var(--font-sans);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;opacity:.5;margin-top:2rem;margin-bottom:.5rem;font-weight:700;display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none}.sidebar-section h3:hover{opacity:.8}.sidebar-section .caret{font-size:.6rem;transition:transform .2s ease;transform:rotate(90deg)}.sidebar-section.collapsed .caret{transform:rotate(0)}.sidebar-section.collapsed ul{display:none}.sidebar-section ul{list-style:none;padding:0;margin:0}.sidebar-section li a{display:block;padding:.3rem .8rem;margin:.1rem 0;border-radius:8px;transition:all .2s ease;font-weight:500;font-size:.85rem;text-decoration:none;color:var(--text-color);opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-sans)}.sidebar-section li a:hover{background:#ffffff1a;opacity:1;transform:translate(4px)}.sidebar-section li.active a{background:#ffffff40;opacity:1;font-weight:700;box-shadow:0 4px 12px #0000001a;border:1px solid rgba(255,255,255,.2)}.sidebar-footer{margin-top:auto;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:.5rem}.sidebar-footer a{opacity:.6;padding:.5rem .8rem;border-radius:8px;text-decoration:none;color:var(--text-color);font-size:.9rem;font-family:var(--font-sans)}.sidebar-footer a:hover{background:#ffffff0d;opacity:1}.main-content{width:100%;height:100%;min-width:0;overflow-y:auto;background-color:var(--bg-color);padding:1.5rem 2rem;transition:padding .3s ease}@media(max-width:1024px){.main-content{padding:4rem 1rem 1rem}}.main-content>*{max-width:35em;margin-left:auto;margin-right:auto}.sidebar-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:none;border:none;width:3rem;height:3rem;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s cubic-bezier(.175,.885,.32,1.275)}.sidebar-toggle:hover{transform:scale(1.1)}.sidebar-toggle:active{transform:scale(.95)}.sidebar-backdrop{display:none;position:fixed;inset:0;background:#0000004d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:999}@media(max-width:1024px){.sidebar-visible .sidebar-backdrop{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:none}.sidebar-visible .sidebar{transform:translate(0);box-shadow:10px 0 20px #0000001a}}@media(min-width:1025px){.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.sidebar-visible .sidebar{transform:translate(0);box-shadow:10px 0 20px #0000001a}.sidebar-hidden .sidebar{transform:translate(-100%)}}.sidebar-hidden .sidebar,.sidebar-visible .sidebar{display:flex}input[type=text],input[type=url],input[type=search],select{padding:.4rem .8rem;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-color);color:var(--text-color);font-family:inherit;font-size:.9rem}input:focus,select:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 2px #007bff33}.logo{font-size:2.5rem;margin:0 0 1.5rem;cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none}.sidebar .logo{margin-bottom:1.5rem}.item-list{list-style:none;padding:0;margin:0}.feed-item{padding:1rem .5rem;margin-top:2rem;border-bottom:none;border-radius:8px;transition:background-color .2s ease}.feed-item.selected{background-color:#007bff0d;box-shadow:inset 4px 0 0 var(--accent-color)}.theme-dark .feed-item.selected{background-color:#2188ff1a}.item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.item-title{font-family:var(--font-heading);font-size:1.8rem;font-weight:700;text-decoration:none;color:var(--link-color);display:block;flex:1;cursor:pointer}.item-title:hover{text-decoration:underline}.star-btn{background:none;border:none;cursor:pointer;font-size:1.25rem;padding:0 0 0 .5rem;vertical-align:middle;transition:color .2s;line-height:1}.star-btn.is-starred{color:#00f}.star-btn.is-unstarred{color:var(--text-color);opacity:.3}.dateline{margin-top:0;font-weight:400;font-size:.75em;color:#ccc;margin-bottom:1rem}.dateline a{color:#ccc;text-decoration:none}.item-description{color:var(--text-color);line-height:1.5;font-size:1rem;margin-top:1rem;overflow-wrap:break-word;word-break:break-word}.item-description a{text-decoration:none;color:var(--link-color)}.item-description img,.item-description video,.item-description pre{max-width:100%;height:auto;display:block;margin:1rem 0}.item-description pre{white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;background:#0000000d;padding:1em;border-radius:4px}.scrape-btn{background:var(--bg-color);border:1px solid var(--border-color, #ccc);color:#00f;cursor:pointer;font-family:var(--font-heading);font-weight:700;font-size:.8rem;padding:2px 6px;margin-left:.5rem}.theme-dark{--bg-color: #000000;--text-color: #ffffff;--sidebar-bg: #000000;--link-color: #5ac8fa;--border-color: #333333;--accent-color: #2188ff;--sidebar-text-color: rgba(0, 0, 0, .87)}.theme-dark .sidebar{background:#b4b4b4d9;border-right-color:#00000026}.theme-dark .sidebar-section li a,.theme-dark .sidebar-section h3,.theme-dark .sidebar-footer a{color:#000000de}.theme-dark .sidebar-section li.active a{background:#00000026}.theme-dark .sidebar-section li a:hover{background:#00000014}.theme-dark .sidebar-toggle{background:none}.theme-dark .sidebar-search input{background:#ffffffb3;color:#000000de;border-color:#0003}.font-serif{--font-body: Georgia, "Times New Roman", Times, serif;font-family:var(--font-body)}.font-sans{--font-body: var(--font-heading);font-family:var(--font-body)}.font-mono{--font-body: Menlo, Monaco, Consolas, "Courier New", monospace;font-family:var(--font-body)}.settings-view{padding-top:2rem}.settings-section{margin-bottom:2.5rem}.settings-section h3{font-family:var(--font-heading);border-bottom:1px solid var(--border-color);padding-bottom:.5rem;margin-bottom:1rem}.theme-options{display:flex;gap:1rem}button{border-radius:8px;border:1px solid var(--border-color);padding:.6em 1.2em;font-size:1em;font-weight:700;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:all .2s}.theme-dark button{background-color:#1a1a1a;color:#fff;border-color:#333}button.active{border-color:var(--accent-color);background-color:#eef}.theme-dark button.active{background-color:#282e34;border-color:var(--accent-color)}.theme-dark input,.theme-dark select{background-color:#111;color:#fff;border-color:#333}.add-feed-form{display:flex;gap:.5rem}.add-feed-form input{flex:1;padding:.6rem 1rem;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-color);color:var(--text-color)}.settings-group label{display:block;font-size:.85rem;font-weight:600;margin-bottom:.5rem;opacity:.7}#font-selector{width:100%;padding:.6rem;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-color);color:var(--text-color)}.data-actions button,.data-actions .button{display:inline-block;text-align:center;width:100%}label.button{cursor:pointer}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:2rem}.settings-section{background:var(--bg-color);padding:0;border:none;margin-bottom:0}.settings-section h3{font-size:1.1rem;margin-top:0;margin-bottom:1rem;border-bottom:1px solid var(--border-color);padding-bottom:.5rem;opacity:.7}.manage-feeds-section{grid-column:1 / -1;margin-top:1rem}.button-group{display:flex;gap:.5rem;flex-wrap:wrap}.button-group a.button,.button-group button{flex:1;display:inline-block;padding:.5rem;text-align:center;background:var(--bg-color);border:1px solid var(--border-color);border-radius:6px;text-decoration:none;color:var(--text-color);font-size:.9rem;cursor:pointer;line-height:1.5}.button-group a.button:hover,.button-group button:hover{background:#0000000d;border-color:var(--accent-color)}.theme-dark .button-group a.button:hover,.theme-dark .button-group button:hover{background:#ffffff1a}.manage-feed-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;padding:0;list-style:none}.manage-feed-item{border:1px solid var(--border-color);border-radius:8px;padding:1rem;background:#00000005;display:flex;flex-direction:column;gap:.5rem}.theme-dark .manage-feed-item{background:#ffffff05}.feed-title{font-weight:700;margin-bottom:.25rem;font-size:.95rem}.feed-url{font-size:.8em;opacity:.7;margin-bottom:.5rem;word-break:break-all;overflow-wrap:anywhere} +:root{--font-body: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;--font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;--font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;line-height:1.5;font-size:18px;--bg-color: #ffffff;--text-color: rgba(0, 0, 0, .87);--sidebar-bg: #ccc;--link-color: #0000ee;--border-color: #999;--accent-color: #007bff;color-scheme:light dark}*{box-sizing:border-box}body{margin:0;font-family:var(--font-body);background-color:var(--bg-color);color:var(--text-color);height:100vh;width:100%;max-width:100vw;overflow:hidden}html{overflow-x:hidden;max-width:100vw}#app{height:100%;width:100%}.layout{display:flex;height:100%;width:100%;overflow-x:hidden;position:relative}.sidebar{width:11rem;background:#ffffff0d;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-right:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;height:100%;overflow:hidden;z-index:100;padding:5rem 1.5rem 1.5rem}.theme-dark .sidebar{background:#0003;border-right-color:#ffffff0d}.sidebar-search{margin-top:1rem;margin-bottom:1rem}.sidebar-search input{width:100%;border-radius:20px;background:#0000000d;border:1px solid rgba(255,255,255,.1);color:var(--text-color);padding:.5rem 1rem;font-size:.9rem}.sidebar-scroll{flex:1;overflow-y:auto;margin:0 -1.5rem;padding:0 1.5rem}.sidebar-section h3{font-family:var(--font-sans);font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;opacity:.5;margin-top:2rem;margin-bottom:.5rem;font-weight:700;display:flex;align-items:center;justify-content:space-between;cursor:pointer;-webkit-user-select:none;user-select:none}.sidebar-section h3:hover{opacity:.8}.sidebar-section .caret{font-size:.6rem;transition:transform .2s ease;transform:rotate(90deg)}.sidebar-section.collapsed .caret{transform:rotate(0)}.sidebar-section.collapsed ul{display:none}.sidebar-section ul{list-style:none;padding:0;margin:0}.sidebar-section li a{display:block;padding:.3rem .8rem;margin:.1rem 0;border-radius:8px;transition:all .2s ease;font-weight:500;font-size:.85rem;text-decoration:none;color:var(--text-color);opacity:.8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-sans)}.sidebar-section li a:hover{background:#ffffff1a;opacity:1;transform:translate(4px)}.sidebar-section li.active a{background:#ffffff40;opacity:1;font-weight:700;box-shadow:0 4px 12px #0000001a;border:1px solid rgba(255,255,255,.2)}.sidebar-footer{margin-top:auto;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:.5rem}.sidebar-footer a{opacity:.6;padding:.5rem .8rem;border-radius:8px;text-decoration:none;color:var(--text-color);font-size:.9rem;font-family:var(--font-sans)}.sidebar-footer a:hover{background:#ffffff0d;opacity:1}.main-content{width:100%;height:100%;min-width:0;overflow-y:auto;background-color:var(--bg-color);padding:1.5rem 2rem;transition:padding .3s ease}@media(max-width:1024px){.main-content{padding:4rem 1rem 1rem}}.main-content>*{max-width:35em;margin-left:auto;margin-right:auto}.sidebar-toggle{position:fixed;top:1rem;left:1rem;z-index:1001;background:none;border:none;width:3rem;height:3rem;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s cubic-bezier(.175,.885,.32,1.275)}.sidebar-toggle:hover{transform:scale(1.1)}.sidebar-toggle:active{transform:scale(.95)}.sidebar-backdrop{display:none;position:fixed;inset:0;background:#0000004d;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:999}@media(max-width:1024px){.sidebar-visible .sidebar-backdrop{display:block}.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:none}.sidebar-visible .sidebar{transform:translate(0);box-shadow:10px 0 20px #0000001a}}@media(min-width:1025px){.sidebar{position:fixed;top:0;left:0;bottom:0;z-index:1000;transform:translate(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1)}.sidebar-visible .sidebar{transform:translate(0);box-shadow:10px 0 20px #0000001a}.sidebar-hidden .sidebar{transform:translate(-100%)}}.sidebar-hidden .sidebar,.sidebar-visible .sidebar{display:flex}input[type=text],input[type=url],input[type=search],select{padding:.4rem .8rem;border-radius:8px;border:1px solid var(--border-color);background:var(--bg-color);color:var(--text-color);font-family:inherit;font-size:.9rem}input:focus,select:focus{outline:none;border-color:var(--accent-color);box-shadow:0 0 0 2px #007bff33}.logo{font-size:2.5rem;margin:0 0 1.5rem;cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none}.sidebar .logo{margin-bottom:1.5rem}.item-list{list-style:none;padding:0;margin:0}.feed-item{padding:1rem .5rem;margin-top:2rem;border-bottom:none;border-radius:8px;transition:background-color .2s ease}.feed-item.selected{background-color:#007bff0d;box-shadow:inset 4px 0 0 var(--accent-color)}.theme-dark .feed-item.selected{background-color:#2188ff1a}.item-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.5rem}.item-title{font-family:var(--font-heading);font-size:1.8rem;font-weight:700;text-decoration:none;color:var(--link-color);display:block;flex:1;cursor:pointer}.item-title:hover{text-decoration:underline}.star-btn{background:none;border:none;cursor:pointer;font-size:1.25rem;padding:0 0 0 .5rem;vertical-align:middle;transition:color .2s;line-height:1}.star-btn.is-starred{color:#00f}.star-btn.is-unstarred{color:var(--text-color);opacity:.3}.dateline{margin-top:0;font-weight:400;font-size:.75em;color:#ccc;margin-bottom:1rem}.dateline a{color:#ccc;text-decoration:none}.item-description{color:var(--text-color);line-height:1.5;font-size:1rem;margin-top:1rem;overflow-wrap:break-word;word-break:break-word}.item-description a{text-decoration:none;color:var(--link-color)}.item-description img,.item-description video,.item-description pre{max-width:100%;height:auto;display:block;margin:1rem 0}.item-description pre{white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;background:#0000000d;padding:1em;border-radius:4px}.scrape-btn{background:var(--bg-color);border:1px solid var(--border-color, #ccc);color:#00f;cursor:pointer;font-family:var(--font-heading);font-weight:700;font-size:.8rem;padding:2px 6px;margin-left:.5rem}.theme-dark{--bg-color: #000000;--text-color: #ffffff;--sidebar-bg: #000000;--link-color: #5ac8fa;--border-color: #333333;--accent-color: #2188ff;--sidebar-text-color: rgba(0, 0, 0, .87)}.theme-dark .sidebar{background:#b4b4b4d9;border-right-color:#00000026}.theme-dark .sidebar-section li a,.theme-dark .sidebar-section h3,.theme-dark .sidebar-footer a{color:#000000de}.theme-dark .sidebar-section li.active a{background:#00000026}.theme-dark .sidebar-section li a:hover{background:#00000014}.theme-dark .sidebar-toggle{background:none}.theme-dark .sidebar-search input{background:#ffffffb3;color:#000000de;border-color:#0003}.font-serif{--font-body: Georgia, "Times New Roman", Times, serif;font-family:var(--font-body)}.font-sans{--font-body: var(--font-heading);font-family:var(--font-body)}.font-mono{--font-body: Menlo, Monaco, Consolas, "Courier New", monospace;font-family:var(--font-body)}.settings-view{padding-top:2rem;font-family:var(--font-heading)}.settings-view h2{font-size:2rem;font-weight:700;margin-bottom:2rem;letter-spacing:-.02em}.settings-grid{display:flex;flex-direction:column;gap:3rem;margin-bottom:2rem}.settings-section{margin:0;padding:0;border:none}.settings-section h3{font-family:var(--font-heading);font-size:1.2rem;font-weight:700;margin-top:0;margin-bottom:1rem;border-bottom:none;padding-bottom:0;color:var(--text-color)}.settings-group label,.data-group label{display:block;font-size:.8rem;font-weight:700;text-transform:uppercase;margin-bottom:.5rem;opacity:.6;font-family:var(--font-heading)}.theme-options{display:flex;gap:.5rem}button,.button{border-radius:6px;border:1px solid var(--border-color);padding:.5rem 1rem;font-size:.8rem;font-weight:700;text-transform:uppercase;font-family:var(--font-heading);background-color:var(--bg-color);cursor:pointer;transition:all .2s;color:var(--text-color);text-decoration:none;display:inline-block;text-align:center}button:hover,.button:hover{border-color:var(--text-color);background:#0000000d}.theme-dark button,.theme-dark .button{background-color:transparent;color:var(--text-color);border-color:var(--border-color)}.theme-dark button:hover,.theme-dark .button:hover{background:#ffffff1a;border-color:var(--text-color)}button.active,.theme-dark button.active{background-color:var(--text-color);color:var(--bg-color);border-color:var(--text-color)}.add-feed-form{display:flex;gap:.5rem;max-width:600px}.add-feed-form input{flex:1}.button-group{display:flex;gap:.5rem}.manage-feed-list{display:flex;flex-direction:column;padding:0;list-style:none;border-top:1px solid var(--border-color)}.manage-feed-item{display:flex;align-items:center;padding:1rem 0;border-bottom:1px solid var(--border-color);background:transparent;gap:1rem}.feed-info{flex:1;min-width:0}.feed-title{font-weight:700;font-size:1rem;margin-bottom:.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-heading)}.feed-url{font-size:.85rem;opacity:.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:var(--font-heading)}.feed-actions{display:flex;gap:.5rem;align-items:center}.feed-tag-input{width:120px;padding:.4rem}.delete-feed-btn{color:var(--error-color, #d32f2f)!important;border-color:var(--error-color, #d32f2f)!important}.delete-feed-btn:hover{background-color:#d32f2f1a!important}@media(max-width:768px){.manage-feed-item{flex-direction:column;align-items:flex-start}.feed-actions{width:100%;margin-top:.5rem}.feed-tag-input{flex:1}}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-bottom:2rem}.settings-section{background:var(--bg-color);padding:0;border:none;margin-bottom:0}.settings-section h3{font-size:1.1rem;margin-top:0;margin-bottom:1rem;border-bottom:1px solid var(--border-color);padding-bottom:.5rem;opacity:.7}.manage-feeds-section{grid-column:1 / -1;margin-top:1rem}.button-group{display:flex;gap:.5rem;flex-wrap:wrap}.button-group a.button,.button-group button{flex:1;display:inline-block;padding:.5rem;text-align:center;background:var(--bg-color);border:1px solid var(--border-color);border-radius:6px;text-decoration:none;color:var(--text-color);font-size:.9rem;cursor:pointer;line-height:1.5}.button-group a.button:hover,.button-group button:hover{background:#0000000d;border-color:var(--accent-color)}.theme-dark .button-group a.button:hover,.theme-dark .button-group button:hover{background:#ffffff1a}.manage-feed-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;padding:0;list-style:none}.manage-feed-item{border:1px solid var(--border-color);border-radius:8px;padding:1rem;background:#00000005;display:flex;flex-direction:column;gap:.5rem}.theme-dark .manage-feed-item{background:#ffffff05}.feed-title{font-weight:700;margin-bottom:.25rem;font-size:.95rem}.feed-url{font-size:.8em;opacity:.7;margin-bottom:.5rem;word-break:break-all;overflow-wrap:anywhere} diff --git a/web/dist/v3/index.html b/web/dist/v3/index.html index ed9abfd..d0e3279 100644 --- a/web/dist/v3/index.html +++ b/web/dist/v3/index.html @@ -5,8 +5,8 @@ <link rel="icon" type="image/svg+xml" href="/vite.svg" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>neko</title> - <script type="module" crossorigin src="/v3/assets/index-BHuENXaY.js"></script> - <link rel="stylesheet" crossorigin href="/v3/assets/index-qSXfOguP.css"> + <script type="module" crossorigin src="/v3/assets/index-DY2Nq02d.js"></script> + <link rel="stylesheet" crossorigin href="/v3/assets/index-DhBfP27o.css"> </head> <body> <div id="app"></div> |
