649 lines
12 KiB
CSS
649 lines
12 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
overflow-x: hidden;
|
|
background: #15101d;
|
|
color: #fff;
|
|
font-family:
|
|
'SF Pro Display', 'SF Pro Text', 'Source Han Sans SC',
|
|
'Noto Sans CJK SC', Arial, 'Helvetica Neue', Helvetica, sans-serif;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.yumi-cp-page {
|
|
display: flex;
|
|
justify-content: center;
|
|
width: 100%;
|
|
min-height: 100svh;
|
|
background: #15101d;
|
|
}
|
|
|
|
.yumi-cp-stage {
|
|
--accent: #ff0979;
|
|
--accent-soft: #ff5762;
|
|
--tab-bg: rgba(94, 13, 35, 0.8);
|
|
--tab-glow: #ff7948;
|
|
--tab-jewel-left: -7px;
|
|
--avatar-top: 204px;
|
|
--center-height: 120px;
|
|
--exp-top: 271px;
|
|
--progress-from: #ff1e37;
|
|
--progress-mid: #fe6a30;
|
|
--progress-to: #ffcf67;
|
|
--exp-pill-bg: rgba(255, 102, 169, 0.74);
|
|
position: relative;
|
|
width: min(100vw, 375px);
|
|
height: min(812px, 216.533333vw);
|
|
max-height: 812px;
|
|
overflow: hidden;
|
|
background: #440b23;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.yumi-cp-page[data-tab='brother'] .yumi-cp-stage {
|
|
--accent: #5709ff;
|
|
--accent-soft: #5709ff;
|
|
--tab-bg: rgba(17, 13, 94, 0.8);
|
|
--tab-glow: #4872ff;
|
|
--tab-jewel-left: 110px;
|
|
--avatar-top: 210px;
|
|
--center-height: 136px;
|
|
--exp-top: 271px;
|
|
--progress-from: #471eff;
|
|
--progress-mid: #30bcfe;
|
|
--progress-to: #67acff;
|
|
--exp-pill-bg: rgba(97, 180, 255, 0.74);
|
|
background: #080636;
|
|
}
|
|
|
|
.yumi-cp-page[data-tab='sister'] .yumi-cp-stage {
|
|
--accent: #ff4a09;
|
|
--accent-soft: #ff4a09;
|
|
--tab-bg: rgba(94, 29, 13, 0.8);
|
|
--tab-glow: #ff7948;
|
|
--tab-jewel-left: 220px;
|
|
--avatar-top: 210px;
|
|
--center-height: 136px;
|
|
--exp-top: 262px;
|
|
--progress-from: #ff5e1e;
|
|
--progress-mid: #fe6a30;
|
|
--progress-to: #ffb167;
|
|
--exp-pill-bg: rgba(255, 142, 43, 0.74);
|
|
background: #301008;
|
|
}
|
|
|
|
.yumi-bg-layer,
|
|
.yumi-card-skin,
|
|
.yumi-tab-jewel,
|
|
.yumi-center-art,
|
|
.yumi-avatar-frame,
|
|
.yumi-level-bg {
|
|
display: block;
|
|
user-select: none;
|
|
-webkit-user-drag: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.yumi-bg-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.yumi-status,
|
|
.yumi-nav,
|
|
.yumi-tabs,
|
|
.yumi-card {
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
|
|
.yumi-status {
|
|
left: 0;
|
|
top: 0;
|
|
width: 375px;
|
|
height: 44px;
|
|
color: #fff;
|
|
pointer-events: none;
|
|
transform-origin: left top;
|
|
}
|
|
|
|
.yumi-status-time {
|
|
position: absolute;
|
|
left: 33.87px;
|
|
top: 13px;
|
|
width: 54px;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-size: 15px;
|
|
line-height: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.yumi-status-cellular {
|
|
position: absolute;
|
|
left: 294.34px;
|
|
top: 15px;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
width: 17px;
|
|
height: 12px;
|
|
}
|
|
|
|
.yumi-status-cellular i {
|
|
display: block;
|
|
width: 3px;
|
|
border-radius: 2px;
|
|
background: #fff;
|
|
}
|
|
|
|
.yumi-status-cellular i:nth-child(1) {
|
|
height: 4px;
|
|
}
|
|
|
|
.yumi-status-cellular i:nth-child(2) {
|
|
height: 7px;
|
|
}
|
|
|
|
.yumi-status-cellular i:nth-child(3) {
|
|
height: 10px;
|
|
}
|
|
|
|
.yumi-status-cellular i:nth-child(4) {
|
|
height: 12px;
|
|
}
|
|
|
|
.yumi-status-wifi {
|
|
position: absolute;
|
|
left: 316.34px;
|
|
top: 16px;
|
|
width: 16px;
|
|
height: 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.yumi-status-wifi::before,
|
|
.yumi-status-wifi::after,
|
|
.yumi-status-wifi i {
|
|
position: absolute;
|
|
left: 50%;
|
|
border: 2px solid #fff;
|
|
border-right-color: transparent;
|
|
border-bottom-color: transparent;
|
|
border-left-color: transparent;
|
|
border-radius: 50%;
|
|
content: '';
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-status-wifi::before {
|
|
top: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
.yumi-status-wifi::after {
|
|
top: 4px;
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.yumi-status-wifi i {
|
|
top: 8px;
|
|
width: 4px;
|
|
height: 4px;
|
|
background: #fff;
|
|
}
|
|
|
|
.yumi-status-battery {
|
|
position: absolute;
|
|
left: 336.67px;
|
|
top: 16.33px;
|
|
width: 24.33px;
|
|
height: 11.33px;
|
|
}
|
|
|
|
.yumi-status-battery::before {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 21px;
|
|
height: 11px;
|
|
border: 1.2px solid #fff;
|
|
border-radius: 2.7px;
|
|
content: '';
|
|
}
|
|
|
|
.yumi-status-battery::after {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 3.4px;
|
|
width: 1.4px;
|
|
height: 4.5px;
|
|
border-radius: 0 1px 1px 0;
|
|
background: #fff;
|
|
content: '';
|
|
}
|
|
|
|
.yumi-status-battery i {
|
|
position: absolute;
|
|
left: 2.3px;
|
|
top: 2.3px;
|
|
width: 17px;
|
|
height: 6.8px;
|
|
border-radius: 1.5px;
|
|
background: #fff;
|
|
}
|
|
|
|
.yumi-nav {
|
|
left: 0;
|
|
top: 44px;
|
|
width: 375px;
|
|
height: 44px;
|
|
}
|
|
|
|
.yumi-title {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 9px;
|
|
margin: 0;
|
|
color: #fff;
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
line-height: 22px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-nav-button {
|
|
position: absolute;
|
|
top: 10px;
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
.yumi-nav-button--back {
|
|
left: 16px;
|
|
}
|
|
|
|
.yumi-nav-button--back::before {
|
|
position: absolute;
|
|
left: 8px;
|
|
top: 5px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-left: 4px solid #fff;
|
|
border-bottom: 4px solid #fff;
|
|
border-radius: 2px;
|
|
content: '';
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.yumi-nav-button--help {
|
|
left: 335px;
|
|
border: 2px solid #fff;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.yumi-nav-button--help::before {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 2px;
|
|
color: #fff;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
content: '?';
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-tabs {
|
|
left: 16px;
|
|
top: 109px;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
width: 343px;
|
|
height: 37px;
|
|
border: 0.5px solid #f4b747;
|
|
border-radius: 32px;
|
|
background: var(--tab-bg);
|
|
box-shadow: inset 0 0 5.5px var(--tab-glow);
|
|
}
|
|
|
|
.yumi-tab-jewel {
|
|
position: absolute;
|
|
z-index: 0;
|
|
left: var(--tab-jewel-left);
|
|
top: -2px;
|
|
width: 130px;
|
|
height: 48px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.yumi-tab-button {
|
|
position: relative;
|
|
z-index: 1;
|
|
height: 37px;
|
|
color: rgba(255, 255, 255, 0.8);
|
|
font-size: 18px;
|
|
font-weight: 400;
|
|
line-height: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
.yumi-tab-button[aria-selected='true'] {
|
|
color: #fff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.yumi-tab-button span {
|
|
position: relative;
|
|
top: -1px;
|
|
}
|
|
|
|
.yumi-card {
|
|
left: 14px;
|
|
top: 169px;
|
|
width: 347px;
|
|
height: 199px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.yumi-card-skin {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
width: 347px;
|
|
height: 199px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.yumi-avatar {
|
|
position: absolute;
|
|
z-index: 2;
|
|
top: calc(var(--avatar-top) - 169px);
|
|
width: 66px;
|
|
height: 66px;
|
|
margin: 0;
|
|
}
|
|
|
|
.yumi-avatar--left {
|
|
left: 32px;
|
|
}
|
|
|
|
.yumi-avatar--right {
|
|
left: 250px;
|
|
}
|
|
|
|
.yumi-avatar-photo {
|
|
position: absolute;
|
|
left: 2.36px;
|
|
top: 2.36px;
|
|
z-index: 1;
|
|
display: block;
|
|
width: 61.29px;
|
|
height: 61.29px;
|
|
overflow: hidden;
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at 50% 38%, #f0eee7 0 19px, transparent 20px),
|
|
linear-gradient(135deg, #d5d0c2, #85806f);
|
|
}
|
|
|
|
.yumi-avatar-photo img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.yumi-avatar-frame {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
width: 66px;
|
|
height: 66px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.yumi-center-art-wrap {
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 106px;
|
|
top: 6px;
|
|
width: 136px;
|
|
height: var(--center-height);
|
|
text-align: center;
|
|
}
|
|
|
|
.yumi-center-art {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
width: 136px;
|
|
height: var(--center-height);
|
|
object-fit: fill;
|
|
}
|
|
|
|
.yumi-days-value {
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 50%;
|
|
top: 45px;
|
|
color: var(--accent);
|
|
font-size: 18px;
|
|
font-weight: 800;
|
|
line-height: 18px;
|
|
text-shadow:
|
|
0 1px 0 #fff,
|
|
0 0 4px rgba(255, 255, 255, 0.75);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-days-unit {
|
|
position: absolute;
|
|
z-index: 1;
|
|
left: 50%;
|
|
top: 68px;
|
|
color: var(--accent);
|
|
font-size: 8px;
|
|
font-weight: 600;
|
|
line-height: 8px;
|
|
text-shadow: 0 1px 0 #fff;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-exp-pill {
|
|
position: absolute;
|
|
z-index: 3;
|
|
left: 119px;
|
|
top: calc(var(--exp-top) - 169px);
|
|
display: grid;
|
|
place-items: center;
|
|
width: 112px;
|
|
height: 28px;
|
|
border: 1px solid rgba(255, 255, 255, 0.78);
|
|
border-radius: 14px;
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
|
|
var(--exp-pill-bg);
|
|
box-shadow:
|
|
inset 0 1px 2px rgba(255, 255, 255, 0.8),
|
|
inset 0 -2px 3px rgba(255, 255, 255, 0.28),
|
|
0 0 6px rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.yumi-exp-pill span {
|
|
color: var(--accent);
|
|
font-size: 8px;
|
|
font-weight: 400;
|
|
line-height: 8px;
|
|
text-align: center;
|
|
text-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.95),
|
|
0 0 2px rgba(255, 255, 255, 0.85);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.yumi-progress-block {
|
|
position: absolute;
|
|
z-index: 3;
|
|
left: 32px;
|
|
top: 134px;
|
|
width: 289px;
|
|
height: 35px;
|
|
}
|
|
|
|
.yumi-level-badge {
|
|
position: absolute;
|
|
top: 1.5px;
|
|
width: 24px;
|
|
height: 13px;
|
|
}
|
|
|
|
.yumi-level-badge--left {
|
|
left: 0;
|
|
}
|
|
|
|
.yumi-level-badge--right {
|
|
right: 0;
|
|
}
|
|
|
|
.yumi-level-bg {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 24px;
|
|
height: 13px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.yumi-level-badge span {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #fff;
|
|
font-size: 9px;
|
|
font-weight: 600;
|
|
line-height: 9px;
|
|
text-shadow: 0 0 1px var(--accent);
|
|
}
|
|
|
|
.yumi-progress-track {
|
|
position: absolute;
|
|
left: 28px;
|
|
top: 0;
|
|
width: 233px;
|
|
height: 16px;
|
|
border-radius: 74px;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
overflow: hidden;
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.yumi-progress-fill {
|
|
position: absolute;
|
|
left: 1px;
|
|
top: 1px;
|
|
width: 52px;
|
|
height: 14px;
|
|
border-radius: 7px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--progress-from) 0%,
|
|
var(--progress-mid) 50%,
|
|
var(--progress-to) 100%
|
|
);
|
|
box-shadow:
|
|
inset -4px 0 3px #fffef8,
|
|
inset 0 2px 2px rgba(255, 254, 239, 0.48),
|
|
inset 0 -2px 2px rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.yumi-progress-fill::after {
|
|
position: absolute;
|
|
inset: 1px 2px;
|
|
border-radius: inherit;
|
|
background: radial-gradient(
|
|
circle,
|
|
rgba(255, 255, 255, 0.95) 0 1px,
|
|
transparent 2px
|
|
)
|
|
0 0 / 7px 7px;
|
|
mix-blend-mode: screen;
|
|
content: '';
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.yumi-progress-text {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 2px;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
line-height: 14px;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.yumi-time-text {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 20px;
|
|
width: 289px;
|
|
margin: 0;
|
|
color: var(--accent-soft);
|
|
font-size: 11px;
|
|
font-weight: 400;
|
|
line-height: 15px;
|
|
text-align: center;
|
|
text-shadow:
|
|
0 1px 0 rgba(255, 255, 255, 0.82),
|
|
0 0 2px rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.yumi-nav-button:focus-visible,
|
|
.yumi-tab-button:focus-visible {
|
|
border-radius: 18px;
|
|
outline: 2px solid var(--hy-theme-focus-ring, rgba(255, 255, 255, 0.42));
|
|
}
|
|
|
|
[dir='rtl'] .yumi-nav-button--back::before {
|
|
transform: rotate(225deg);
|
|
}
|
|
|
|
[dir='rtl'] .yumi-tabs {
|
|
direction: ltr;
|
|
}
|
|
|
|
@media (max-width: 374.98px) {
|
|
.yumi-status,
|
|
.yumi-nav,
|
|
.yumi-tabs,
|
|
.yumi-card {
|
|
transform: scale(calc(100vw / 375));
|
|
transform-origin: left top;
|
|
}
|
|
}
|