feedback2 WE: a 玩法说明 page none of whose copies loads shows the official tips text again, as in 0.1.1 (data/assets.json listing pages that are not on disk showed a blank notice); guide.js guideStage, neighbours preload their next loadable copy
This commit is contained in:
1 parent
2f0a980b2e
commit
7f7df66977
3 files changed
+49
-14
No files matched your search
@@ -61,8 +61,6 @@
|
||||
.guide__page img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; user-select: none; opacity: 0; transition: opacity 160ms ease; }
|
||||
.guide__page.is-loaded img { opacity: 1; }
|
||||
.guide__loading { position: absolute; inset: 0; display: grid; place-items: center; }
|
||||
.guide__missing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .1rem; color: var(--text-lo); font-size: .2rem; }
|
||||
.guide__missing .icon { width: .3rem; height: .3rem; }
|
||||
.guide__nav {
|
||||
position: absolute; top: 0; bottom: 0; z-index: 2; width: 1rem; display: grid; place-items: center;
|
||||
color: rgba(242, 242, 242, .7); background: transparent; border: 0;
|
||||
@@ -93,7 +91,7 @@
|
||||
.guide__dot.is-on { width: .42rem; background: var(--mint-500); box-shadow: 0 0 .08rem rgba(23, 249, 183, .5); }
|
||||
.guide__count { justify-self: end; font-size: .24rem; color: var(--text-md); letter-spacing: .06em; }
|
||||
|
||||
/* text fallback (no local tutorial art) */
|
||||
/* text fallback: the official tips when no tutorial page can be shown (none listed, or none of a page's copies loads) */
|
||||
.guide__stage--text { width: min(92vw, 10rem); max-height: calc(100vh - 2rem); overflow: auto; padding: .1rem .06rem; }
|
||||
.guide__tips ol { margin: .14rem 0 0; padding-left: .34rem; display: flex; flex-direction: column; gap: .08rem; }
|
||||
.guide__tips li { font-size: .18rem; line-height: 1.6; color: var(--text-md); }
|
||||
|
||||
Reference in new issue
Block a user