style(web): style browsing and management controls

Style filters, pagination, administration tabs, creator forms and hidden content, including narrow-screen layouts.
This commit is contained in:
rekushi committed 2026-10-29 04:23:15 +00:00
1 parent 0c38c3bada
commit bf6bbef978
1 file changed
+19 -1
+19 -1
View File
@@ -17,6 +17,24 @@
color-scheme:dark; color-scheme:dark;
font-family:"Trebuchet MS",Arial,Helvetica,sans-serif; font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;
} }
/* Paged lists, creator controls and the compact administration pages. */
.pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:24px 0}
.pagination a,.pagination>span{display:grid;place-items:center;min-width:36px;height:36px;padding:0 9px;border:1px solid var(--line);border-radius:4px;background:var(--surface)}
.pagination [aria-current=page]{background:var(--accent);border-color:var(--accent);color:#fff}
.pagination svg{width:19px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.browse-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;margin:16px 0 22px}
.browse-controls label{display:grid;gap:5px;flex:1 1 150px;font-size:13px;color:var(--muted)}
.browse-controls input,.browse-controls select,.padded-form input:not([type=checkbox]),.padded-form textarea,.padded-form select{width:100%;min-width:0;padding:10px;border:1px solid var(--line);border-radius:4px;background:var(--bg);color:var(--text)}
.padded-form{padding:20px}.padded-form label{display:grid;gap:6px}.padded-form .check-label{display:flex;align-items:center;justify-content:flex-start;gap:9px}.padded-form .check-label input{width:auto;flex:0 0 auto;margin:0}.padded-form input[type=color]{height:45px;max-width:100px}
.results-count{color:var(--muted)}.creator-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}.creator-result{display:grid;gap:8px;padding:20px}.creator-result p{margin:0;color:var(--muted)}.creator-result small{color:var(--quiet)}
.admin-tabs{display:flex;flex-wrap:wrap;margin-bottom:24px}.admin-tabs .active{background:var(--accent);color:#fff}
.moderation-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;margin:12px 0}.moderation-row>div{min-width:0;overflow-wrap:anywhere}.moderation-row p{margin:5px 0;color:var(--muted)}.moderation-row form{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.moderation-row input{min-width:0;max-width:200px;padding:8px;background:var(--bg);border:1px solid var(--line);border-radius:4px}
.hidden-content{border-color:#bd7d29!important}.hidden-content .flipnote-title,.hidden-content>div>strong,.hidden-content>div>a>strong{color:#f0ad52}.moderation-note{padding:10px 14px;background:#452d16;border:1px solid #9c682d;border-radius:4px;color:#f5c17b}
.watch-management{display:flex;align-items:center;justify-content:flex-end;gap:15px;flex-wrap:wrap;margin:0 0 18px}.watch-management .moderation-note{flex:1;margin:0}
.comment-tools{display:flex;justify-content:flex-end;margin-top:10px}.description-panel{margin:20px 0}.description-panel>p{padding:0 20px 20px;white-space:pre-wrap;overflow-wrap:anywhere}
.delete-confirm{padding:18px;margin:20px 0}.delete-confirm summary{cursor:pointer;color:var(--danger)}.delete-confirm p{color:var(--muted)}.channel-edit{margin:20px 0}.channel-edit .delete-confirm{margin:0;border-top:1px solid var(--line)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:620px){.moderation-row{align-items:stretch;flex-direction:column}.moderation-row form{width:100%}.moderation-row input{flex:1}.browse-controls{align-items:stretch}.browse-controls label{flex-basis:100%}.padded-form{padding:15px}.watch-management{justify-content:flex-start}.pagination{gap:4px}.pagination a,.pagination>span{min-width:30px}}
*{box-sizing:border-box} *{box-sizing:border-box}
html{background:var(--bg);scrollbar-gutter:stable} html{background:var(--bg);scrollbar-gutter:stable}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-family:inherit;font-size:15px;line-height:1.45} body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:var(--bg);color:var(--text);font-family:inherit;font-size:15px;line-height:1.45}
@@ -80,7 +98,7 @@ input,textarea,select{width:100%;border:1px solid var(--line);border-radius:3px;
@media(max-width:1050px){.flipnote-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.watch-layout{grid-template-columns:minmax(0,1fr) 270px}.docs-layout{grid-template-columns:205px minmax(0,1fr)}} @media(max-width:1050px){.flipnote-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.watch-layout{grid-template-columns:minmax(0,1fr) 270px}.docs-layout{grid-template-columns:205px minmax(0,1fr)}}
@media(max-width:820px){.credit-list{grid-template-columns:1fr}.docs-layout{grid-template-columns:1fr}.docs-nav{position:static}.docs-nav nav{grid-template-columns:repeat(3,minmax(0,1fr))}.watch-head{align-items:flex-start}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{height:auto;min-height:68px;flex-wrap:wrap;gap:0 12px;padding-top:6px;padding-bottom:6px}.brand{width:164px;height:54px}.brand img{width:164px}.main-nav{order:3;width:100%;height:36px}.nav-link{padding:0 10px}.header-actions{margin-left:auto}.flipnote-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.watch-layout{grid-template-columns:1fr}.detail-panel{position:static}.comment{grid-template-columns:120px 1fr}.admin-ban-form{grid-template-columns:1fr}.page-shell{padding-top:20px}} @media(max-width:820px){.credit-list{grid-template-columns:1fr}.docs-layout{grid-template-columns:1fr}.docs-nav{position:static}.docs-nav nav{grid-template-columns:repeat(3,minmax(0,1fr))}.watch-head{align-items:flex-start}.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{height:auto;min-height:68px;flex-wrap:wrap;gap:0 12px;padding-top:6px;padding-bottom:6px}.brand{width:164px;height:54px}.brand img{width:164px}.main-nav{order:3;width:100%;height:36px}.nav-link{padding:0 10px}.header-actions{margin-left:auto}.flipnote-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.watch-layout{grid-template-columns:1fr}.detail-panel{position:static}.comment{grid-template-columns:120px 1fr}.admin-ban-form{grid-template-columns:1fr}.page-shell{padding-top:20px}}
@media(max-width:580px){.docs-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}.watch-head{flex-direction:column;align-items:stretch}.preview-stage{min-height:220px}.preview-footer{align-items:flex-start;flex-direction:column}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{padding-left:12px;padding-right:12px}.brand{width:150px}.brand img{width:150px}.nav-action{padding:0 8px;font-size:12px}.nav-action:not(.ghost){display:none}.page-shell{padding:16px 12px 50px}.page-head,.page-head.split,.home-intro-card,.site-footer{align-items:flex-start;flex-direction:column}.page-head h1{font-size:25px}.tabs{width:100%;justify-content:space-between}.flipnote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.comment{grid-template-columns:1fr;gap:4px}.comment-form{align-items:stretch;flex-direction:column}.site-footer{padding-left:12px;padding-right:12px}.site-footer>div{flex-wrap:wrap}} @media(max-width:580px){.docs-nav nav{grid-template-columns:repeat(2,minmax(0,1fr))}.watch-head{flex-direction:column;align-items:stretch}.preview-stage{min-height:220px}.preview-footer{align-items:flex-start;flex-direction:column}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{padding-left:12px;padding-right:12px}.brand{width:150px}.brand img{width:150px}.nav-action{padding:0 8px;font-size:12px}.nav-action:not(.ghost){display:inline-flex}.main-nav{height:auto;flex-wrap:wrap;min-width:0}.nav-link{min-height:36px}.header-actions{flex-wrap:wrap;justify-content:flex-end}.page-shell{padding:16px 12px 50px}.page-head,.page-head.split,.home-intro-card,.site-footer{align-items:flex-start;flex-direction:column}.page-head h1{font-size:25px}.tabs{width:100%;justify-content:space-between}.flipnote-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.comment{grid-template-columns:1fr;gap:4px}.comment-form{align-items:stretch;flex-direction:column}.site-footer{padding-left:12px;padding-right:12px}.site-footer>div{flex-wrap:wrap}}
/* flipnote.js web player */ /* flipnote.js web player */
.flipnote-stage{position:relative;overflow:hidden;min-height:0;aspect-ratio:4/3}.flipnote-player-canvas{display:none;width:100%;height:100%;align-items:center;justify-content:center;background:#080708;cursor:pointer}.flipnote-stage.is-ready .flipnote-player-canvas{display:flex}.flipnote-player-canvas canvas{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;background:#080708;image-rendering:auto}.flipnote-player-fallback{display:block;width:100%;height:100%;object-fit:contain;background:#080708}.flipnote-stage.is-ready .flipnote-player-fallback,.flipnote-player-fallback[hidden]{display:none}.flipnote-player-status{position:absolute;left:12px;bottom:12px;padding:5px 8px;border:1px solid rgba(255,255,255,.12);border-radius:3px;background:rgba(8,7,8,.84);color:#d7cfcd;font-size:11px;font-weight:700}.flipnote-big-play{position:absolute;left:50%;top:50%;width:64px;height:64px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(8,7,8,.78);color:#fff;font:700 25px/1 system-ui,sans-serif;cursor:pointer;padding:0 0 1px 4px;box-shadow:0 3px 18px rgba(0,0,0,.35)}.flipnote-big-play:hover{background:rgba(177,59,41,.9)}.flipnote-big-play[hidden]{display:none}.flipnote-stage.has-player-error .flipnote-player-status{border-color:#70423b;background:rgba(33,21,19,.94)} .flipnote-stage{position:relative;overflow:hidden;min-height:0;aspect-ratio:4/3}.flipnote-player-canvas{display:none;width:100%;height:100%;align-items:center;justify-content:center;background:#080708;cursor:pointer}.flipnote-stage.is-ready .flipnote-player-canvas{display:flex}.flipnote-player-canvas canvas{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;background:#080708;image-rendering:auto}.flipnote-player-fallback{display:block;width:100%;height:100%;object-fit:contain;background:#080708}.flipnote-stage.is-ready .flipnote-player-fallback,.flipnote-player-fallback[hidden]{display:none}.flipnote-player-status{position:absolute;left:12px;bottom:12px;padding:5px 8px;border:1px solid rgba(255,255,255,.12);border-radius:3px;background:rgba(8,7,8,.84);color:#d7cfcd;font-size:11px;font-weight:700}.flipnote-big-play{position:absolute;left:50%;top:50%;width:64px;height:64px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.28);border-radius:50%;background:rgba(8,7,8,.78);color:#fff;font:700 25px/1 system-ui,sans-serif;cursor:pointer;padding:0 0 1px 4px;box-shadow:0 3px 18px rgba(0,0,0,.35)}.flipnote-big-play:hover{background:rgba(177,59,41,.9)}.flipnote-big-play[hidden]{display:none}.flipnote-stage.has-player-error .flipnote-player-status{border-color:#70423b;background:rgba(33,21,19,.94)}