Stage Zyphos article nodes by zoom proximity
This commit is contained in:
parent
010a284fb0
commit
85110bec92
3 changed files with 74 additions and 21 deletions
|
|
@ -1 +1 @@
|
|||
html,body,#root{width:100%;min-height:100%;margin:0}body{background:radial-gradient(circle at 72% 12%,rgba(255,174,88,.16),transparent 24%),radial-gradient(circle at 10% 18%,rgba(142,223,176,.16),transparent 28%),linear-gradient(180deg,#03070d,#07110f 52%,#091712);color:#effcf8;font-family:Ubuntu,Segoe UI,sans-serif}.zyphos-epiphany-graph-app{box-sizing:border-box;width:100vw;min-height:100vh;padding:0}.zyphos-epiphany-graph-app *{box-sizing:border-box}.zyphos-epiphany-graph-root{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;min-height:100vh;margin:0!important;border:0!important;border-radius:0!important;background:#03070d}.zyphos-graph-error{white-space:pre-wrap;color:#fecaca;background:#450a0a99;border:1px solid rgba(248,113,113,.45);border-radius:16px;padding:16px}.zyphos-graph-loading{display:grid;min-height:320px;place-items:center;color:#cfeee4;font-size:.95rem}body.zyphos-graph-spa-active{overflow:hidden}.zyphos-graph-shell{width:100vw;height:100vh}.zyphos-graph-shell .epiphany-graph-overlay-panel{opacity:.25;transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease}.zyphos-graph-shell .epiphany-graph-overlay-panel:hover,.zyphos-graph-shell .epiphany-graph-overlay-panel:focus-within{opacity:1;transform:translateY(-1px)}.zyphos-graph-shell aside.epiphany-graph-overlay-panel>section{display:none!important}.zyphos-graph-shell aside.epiphany-graph-overlay-panel>section:last-child{display:grid!important;grid-row:1 / -1}.zyphos-expanded-article-node{box-sizing:border-box;padding:clamp(1.2rem,2.2vw,2.4rem);scrollbar-color:rgba(142,223,176,.58) rgba(3,7,13,.32)}.zyphos-expanded-article-node .zyphos-spa-panel{max-height:none;overflow:visible}.zyphos-spa-panel{min-height:0;max-height:100%;overflow:auto;color:#effcf8}.zyphos-spa-panel h1{margin:0 0 .9rem;color:#f7fffb;font-size:clamp(1.7rem,2.8vw,3.2rem);line-height:1;letter-spacing:0}.zyphos-spa-kicker{margin:0 0 .55rem;color:#8edfb0;font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.zyphos-spa-summary,.zyphos-spa-status{color:#effcf8c2;line-height:1.55}.zyphos-spa-status{margin:1rem 0;padding:.75rem .9rem;border:1px solid rgba(142,223,176,.16);border-radius:16px;background:#03070d73}.zyphos-spa-status-error{color:#fecaca;border-color:#f8717159}.zyphos-spa-article-header{margin-bottom:1rem}.zyphos-spa-actions{display:flex;gap:.6rem;flex-wrap:wrap}.zyphos-spa-actions a,.zyphos-spa-note-list button{border:1px solid rgba(142,223,176,.18);border-radius:16px;background:#8edfb014;color:#effcf8}.zyphos-spa-actions a{padding:.5rem .7rem;text-decoration:none}.zyphos-spa-article{color:#effcf8db;line-height:1.65}.zyphos-spa-article h1{display:none}.zyphos-spa-article h2,.zyphos-spa-article h3{color:#f7fffb;line-height:1.12}.zyphos-spa-article a{color:#ffe0a8}.zyphos-spa-article img{max-width:100%;border-radius:18px}.zyphos-spa-note-list{display:grid;gap:.7rem}.zyphos-spa-note-list button{display:grid;gap:.35rem;padding:.85rem;text-align:left;cursor:pointer}.zyphos-spa-note-list button:hover{border-color:#ffae5861;background:#ffae581c}.zyphos-spa-note-list strong{color:#f7fffb}.zyphos-spa-note-list span{color:#effcf8ad;font-size:.92rem;line-height:1.45}@media(max-width:900px){.zyphos-graph-shell aside.epiphany-graph-overlay-panel{left:12px;right:12px;top:auto!important;bottom:12px!important;width:auto!important;max-height:48vh}}
|
||||
html,body,#root{width:100%;min-height:100%;margin:0}body{background:radial-gradient(circle at 72% 12%,rgba(255,174,88,.16),transparent 24%),radial-gradient(circle at 10% 18%,rgba(142,223,176,.16),transparent 28%),linear-gradient(180deg,#03070d,#07110f 52%,#091712);color:#effcf8;font-family:Ubuntu,Segoe UI,sans-serif}.zyphos-epiphany-graph-app{box-sizing:border-box;width:100vw;min-height:100vh;padding:0}.zyphos-epiphany-graph-app *{box-sizing:border-box}.zyphos-epiphany-graph-root{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;min-height:100vh;margin:0!important;border:0!important;border-radius:0!important;background:#03070d}.zyphos-graph-error{white-space:pre-wrap;color:#fecaca;background:#450a0a99;border:1px solid rgba(248,113,113,.45);border-radius:16px;padding:16px}.zyphos-graph-loading{display:grid;min-height:320px;place-items:center;color:#cfeee4;font-size:.95rem}body.zyphos-graph-spa-active{overflow:hidden}.zyphos-graph-shell{width:100vw;height:100vh}.zyphos-graph-shell .epiphany-graph-overlay-panel{opacity:.25;transition:opacity .16s ease,transform .16s ease,box-shadow .16s ease}.zyphos-graph-shell .epiphany-graph-overlay-panel:hover,.zyphos-graph-shell .epiphany-graph-overlay-panel:focus-within{opacity:1;transform:translateY(-1px)}.zyphos-graph-shell aside.epiphany-graph-overlay-panel>section{display:none!important}.zyphos-graph-shell aside.epiphany-graph-overlay-panel>section:last-child{display:grid!important;grid-row:1 / -1}.zyphos-expanded-article-node{box-sizing:border-box;padding:clamp(1.2rem,2.2vw,2.4rem);scrollbar-color:rgba(142,223,176,.58) rgba(3,7,13,.32);transition:border-radius .18s ease,box-shadow .18s ease,padding .18s ease}.zyphos-expanded-article-node .zyphos-spa-panel{max-height:none;overflow:visible}.zyphos-expanded-article-node[data-node-stage=summary]{padding:.75rem 1rem;overflow:hidden}.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-panel{display:flex;align-items:center;gap:.8rem;min-height:100%}.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-kicker,.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-status,.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-article{display:none}.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-article-header{margin:0;min-width:0}.zyphos-expanded-article-node[data-node-stage=summary] .zyphos-spa-panel h1{margin:0;overflow:hidden;font-size:1.05rem;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.zyphos-expanded-article-node[data-node-stage=preview]{padding:clamp(1rem,1.7vw,1.6rem);overflow:hidden}.zyphos-expanded-article-node[data-node-stage=preview] .zyphos-spa-panel h1{font-size:clamp(1.35rem,3vw,2.3rem)}.zyphos-expanded-article-node[data-node-stage=preview] .zyphos-spa-article>*:nth-child(n+5){display:none}.zyphos-expanded-article-node[data-node-stage=article]{overflow:auto}.zyphos-spa-panel{min-height:0;max-height:100%;overflow:auto;color:#effcf8}.zyphos-spa-panel h1{margin:0 0 .9rem;color:#f7fffb;font-size:clamp(1.7rem,2.8vw,3.2rem);line-height:1;letter-spacing:0}.zyphos-spa-kicker{margin:0 0 .55rem;color:#8edfb0;font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.zyphos-spa-summary,.zyphos-spa-status{color:#effcf8c2;line-height:1.55}.zyphos-spa-status{margin:1rem 0;padding:.75rem .9rem;border:1px solid rgba(142,223,176,.16);border-radius:16px;background:#03070d73}.zyphos-spa-status-error{color:#fecaca;border-color:#f8717159}.zyphos-spa-article-header{margin-bottom:1rem}.zyphos-spa-actions{display:flex;gap:.6rem;flex-wrap:wrap}.zyphos-spa-actions a,.zyphos-spa-note-list button{border:1px solid rgba(142,223,176,.18);border-radius:16px;background:#8edfb014;color:#effcf8}.zyphos-spa-actions a{padding:.5rem .7rem;text-decoration:none}.zyphos-spa-article{color:#effcf8db;line-height:1.65}.zyphos-spa-article h1{display:none}.zyphos-spa-article h2,.zyphos-spa-article h3{color:#f7fffb;line-height:1.12}.zyphos-spa-article a{color:#ffe0a8}.zyphos-spa-article img{max-width:100%;border-radius:18px}.zyphos-spa-note-list{display:grid;gap:.7rem}.zyphos-spa-note-list button{display:grid;gap:.35rem;padding:.85rem;text-align:left;cursor:pointer}.zyphos-spa-note-list button:hover{border-color:#ffae5861;background:#ffae581c}.zyphos-spa-note-list strong{color:#f7fffb}.zyphos-spa-note-list span{color:#effcf8ad;font-size:.92rem;line-height:1.45}@media(max-width:900px){.zyphos-graph-shell aside.epiphany-graph-overlay-panel{left:12px;right:12px;top:auto!important;bottom:12px!important;width:auto!important;max-height:48vh}}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -92,6 +92,10 @@ body.zyphos-graph-spa-active {
|
|||
box-sizing: border-box;
|
||||
padding: clamp(1.2rem, 2.2vw, 2.4rem);
|
||||
scrollbar-color: rgba(142, 223, 176, 0.58) rgba(3, 7, 13, 0.32);
|
||||
transition:
|
||||
border-radius 180ms ease,
|
||||
box-shadow 180ms ease,
|
||||
padding 180ms ease;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node .zyphos-spa-panel {
|
||||
|
|
@ -99,6 +103,55 @@ body.zyphos-graph-spa-active {
|
|||
overflow: visible;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] {
|
||||
padding: 0.75rem 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-panel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-kicker,
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-status,
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-article {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-article-header {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="summary"] .zyphos-spa-panel h1 {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.05;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="preview"] {
|
||||
padding: clamp(1rem, 1.7vw, 1.6rem);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="preview"] .zyphos-spa-panel h1 {
|
||||
font-size: clamp(1.35rem, 3vw, 2.3rem);
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="preview"] .zyphos-spa-article > *:nth-child(n + 5) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.zyphos-expanded-article-node[data-node-stage="article"] {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.zyphos-spa-panel {
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
|
|
|
|||
Loading…
Reference in a new issue