feat: add contextual heaven loading rituals

This commit is contained in:
leefer
2026-07-23 23:11:51 +08:00
parent d520749252
commit bc7521a591
5 changed files with 728 additions and 23 deletions
+34 -17
View File
@@ -11819,23 +11819,35 @@ button.account-role-badge:focus-visible { outline: 2px solid var(--blue); outlin
background: rgba(112, 94, 72, .34);
background-clip: padding-box;
}
.heaven-reading-loading { min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; }
.heaven-reading-loading[hidden] { display: none; }
.heaven-reading-mark {
width: 64px;
height: 64px;
display: grid;
place-items: center;
border: 1px solid rgba(154, 91, 69, .35);
border-radius: 50%;
color: #8b503e;
font-family: var(--heaven-serif);
font-size: 24px;
animation: heaven-reading-breathe 2.4s ease-in-out infinite;
.heaven-reading-loading {
width: 100%;
height: 100%;
min-height: 360px;
position: relative;
overflow: hidden;
background: #fdfcf8;
}
@keyframes heaven-reading-breathe { 50% { opacity: .55; box-shadow: 0 0 0 10px rgba(154, 91, 69, .05); } }
.heaven-reading-loading strong { margin-top: 8px; color: #343a35; font-family: var(--heaven-serif); font-size: 18px; letter-spacing: 0; }
.heaven-reading-loading small { color: var(--text-secondary); }
.heaven-reading-loading[hidden] { display: none; }
.heaven-reading-loading canvas {
width: 100%;
height: 100%;
display: block;
}
.heaven-reading-loading-status {
position: absolute;
right: 20px;
bottom: 8px;
left: 20px;
display: grid;
justify-items: center;
gap: 2px;
padding: 7px 10px 5px;
background: linear-gradient(180deg, rgba(253, 252, 248, 0), rgba(253, 252, 248, .9) 34%);
text-align: center;
pointer-events: none;
}
.heaven-reading-loading-status strong { color: #69493a; font-family: var(--heaven-serif); font-size: 12px; letter-spacing: 0; }
.heaven-reading-loading-status small { color: var(--text-secondary); font-family: var(--heaven-serif); font-size: 10px; }
.heaven-reading-result > header,
.heaven-reading-history-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.heaven-reading-result > header span,
@@ -11879,8 +11891,13 @@ button.account-role-badge:focus-visible { outline: 2px solid var(--blue); outlin
.heaven-reading-history-detail > header { display: grid; }
}
@media (max-height: 520px) {
.heaven-reading-loading { min-height: 260px; }
.heaven-reading-loading-status small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.heaven-reading-mark { animation: none; }
.heaven-reading-loading-status { transition: none; }
}
/* Mentor directory: dense evidence-aware navigation for larger skill libraries. */