feat: refine profile and home UI with dynamic fortune rules
This commit is contained in:
1 parent
869376979c
commit
4608dbd5cf
59 files changed
+3424
-1347
No files matched your search
+98
-601
@@ -1,602 +1,99 @@
|
||||
.home-page {
|
||||
min-height: 100vh;
|
||||
padding: calc(216px + env(safe-area-inset-top)) 30px calc(178px + env(safe-area-inset-bottom));
|
||||
box-sizing: border-box;
|
||||
color: #29243a;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(154, 124, 255, 0.92) 0%, rgba(220, 201, 255, 0.76) 27%, rgba(253, 241, 255, 0.9) 52%, #eef6ff 100%);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.day-switch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 52px;
|
||||
}
|
||||
|
||||
.avatar-orb {
|
||||
width: 132px;
|
||||
height: 132px;
|
||||
flex: none;
|
||||
border-radius: 70px;
|
||||
background: #fffef0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 12px 26px rgba(119, 102, 154, 0.12);
|
||||
}
|
||||
|
||||
.water-face {
|
||||
width: 82px;
|
||||
height: 96px;
|
||||
border-radius: 50% 50% 52% 52%;
|
||||
background: linear-gradient(180deg, #9ff5ff 0%, #39c6ea 100%);
|
||||
color: #3274c8;
|
||||
font-size: 42px;
|
||||
line-height: 78px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.day-tabs {
|
||||
flex: 1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.day-tab {
|
||||
min-width: 0;
|
||||
text-align: center;
|
||||
color: rgba(42, 34, 62, 0.58);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.day-tab + .day-tab::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: -2px;
|
||||
top: 20px;
|
||||
width: 2px;
|
||||
height: 12px;
|
||||
background: rgba(42, 34, 62, 0.4);
|
||||
}
|
||||
|
||||
.day-label,
|
||||
.day-status {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.day-label {
|
||||
font-size: 36px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.day-status {
|
||||
width: 112px;
|
||||
height: 48px;
|
||||
margin: 12px auto 0;
|
||||
border-radius: 26px;
|
||||
font-size: 28px;
|
||||
line-height: 48px;
|
||||
}
|
||||
|
||||
.day-tab.active {
|
||||
color: #29243a;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.day-tab.active .day-label {
|
||||
font-size: 46px;
|
||||
}
|
||||
|
||||
.day-tab.active .day-status {
|
||||
background: #7956f4;
|
||||
color: #fff;
|
||||
box-shadow: 0 8px 18px rgba(105, 71, 220, 0.26);
|
||||
}
|
||||
|
||||
.date-row {
|
||||
margin-top: 52px;
|
||||
color: #4f485f;
|
||||
font-size: 28px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.month-day {
|
||||
font-size: 34px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.summary-card {
|
||||
min-height: 202px;
|
||||
margin-top: 38px;
|
||||
border-radius: 18px;
|
||||
background: linear-gradient(105deg, #7139f3 0%, #8344ff 54%, #d35af3 100%);
|
||||
color: #fff;
|
||||
padding: 42px 34px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.summary-card::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: -22px;
|
||||
top: -36px;
|
||||
width: 236px;
|
||||
height: 236px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(131, 226, 255, 0.95) 0%, rgba(61, 121, 250, 0.72) 50%, rgba(255, 255, 255, 0) 70%);
|
||||
filter: blur(1px);
|
||||
}
|
||||
|
||||
.summary-copy {
|
||||
width: 420px;
|
||||
font-size: 34px;
|
||||
line-height: 1.75;
|
||||
font-weight: 800;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.index-orb {
|
||||
width: 178px;
|
||||
height: 178px;
|
||||
border-radius: 96px;
|
||||
background: radial-gradient(circle at 45% 36%, #e8ffff 0%, #86dfff 42%, #5a71ff 100%);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.22);
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.index-number {
|
||||
font-size: 72px;
|
||||
line-height: 0.95;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.index-orb text:last-child {
|
||||
margin-top: 10px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.lucky-grid-home {
|
||||
margin-top: 24px;
|
||||
display: grid;
|
||||
grid-template-columns: 1.35fr 0.75fr;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.lucky-box {
|
||||
min-height: 90px;
|
||||
border-radius: 18px;
|
||||
padding: 0 28px;
|
||||
background: rgba(255, 255, 255, 0.52);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-sizing: border-box;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.colors-box {
|
||||
background: rgba(246, 233, 255, 0.72);
|
||||
}
|
||||
|
||||
.number-box {
|
||||
background: rgba(234, 225, 255, 0.72);
|
||||
}
|
||||
|
||||
.direction-box {
|
||||
background: rgba(255, 241, 198, 0.82);
|
||||
}
|
||||
|
||||
.hour-box {
|
||||
background: rgba(196, 235, 255, 0.82);
|
||||
}
|
||||
|
||||
.lucky-label {
|
||||
flex: none;
|
||||
color: #29243a;
|
||||
font-size: 30px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.color-chip,
|
||||
.hour-chip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
color: #423a52;
|
||||
font-size: 28px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.swatch {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.number-slots {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.number-slots text {
|
||||
width: 48px;
|
||||
height: 58px;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(180deg, #8f75ff, #7454ef);
|
||||
color: #fff;
|
||||
font-size: 48px;
|
||||
line-height: 58px;
|
||||
text-align: center;
|
||||
font-weight: 900;
|
||||
box-shadow: inset 0 -12px 0 rgba(255, 255, 255, 0.18);
|
||||
}
|
||||
|
||||
.compass-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
color: #ff9f27;
|
||||
font-size: 30px;
|
||||
line-height: 42px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hour-chip text:first-child {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 22px;
|
||||
background: #5bb8df;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 42px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.dimension-head {
|
||||
margin-top: 46px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.dimension-head > text {
|
||||
color: #29243a;
|
||||
font-size: 42px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.dimension-head button {
|
||||
color: #6d6578;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.dimension-list {
|
||||
margin-top: 28px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.dimension-card {
|
||||
min-height: 204px;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.84);
|
||||
padding: 26px 60px 28px 34px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
position: relative;
|
||||
box-shadow: 0 8px 22px rgba(90, 79, 116, 0.06);
|
||||
}
|
||||
|
||||
.dimension-card.suitable {
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
}
|
||||
|
||||
.dimension-card.avoid {
|
||||
background: linear-gradient(180deg, rgba(255, 249, 236, 0.9) 0%, rgba(255, 255, 255, 0.86) 48%);
|
||||
}
|
||||
|
||||
.dimension-icon {
|
||||
width: 62px;
|
||||
height: 62px;
|
||||
flex: none;
|
||||
margin-right: 20px;
|
||||
border-radius: 18px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.icon-heart {
|
||||
background: radial-gradient(circle at 32% 32%, #ffd2df, #ff79a3 68%, #fff 70%);
|
||||
transform: rotate(-10deg);
|
||||
}
|
||||
|
||||
.icon-gourd {
|
||||
background: radial-gradient(circle at 50% 28%, #ffc65c 0 28%, transparent 29%), radial-gradient(circle at 50% 65%, #f0a222 0 48%, transparent 49%);
|
||||
}
|
||||
|
||||
.icon-vase {
|
||||
background: radial-gradient(circle at 50% 18%, #d5fff0 0 24%, transparent 25%), linear-gradient(180deg, #7df0c9, #2ccda0);
|
||||
border-radius: 30px 30px 16px 16px;
|
||||
}
|
||||
|
||||
.icon-coin {
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, #fff8bb 0 33%, #f1b82d 34% 100%);
|
||||
}
|
||||
|
||||
.icon-fan {
|
||||
border-radius: 50% 50% 12px 12px;
|
||||
background: conic-gradient(from 235deg, #c29cff, #fff, #8e63ef, #c29cff);
|
||||
}
|
||||
|
||||
.icon-scroll {
|
||||
border-radius: 12px;
|
||||
background: repeating-linear-gradient(90deg, #ffe8aa 0 10px, #f5c868 11px 16px);
|
||||
}
|
||||
|
||||
.icon-bamboo {
|
||||
background: linear-gradient(135deg, transparent 20%, #30d3b9 21% 38%, transparent 39% 50%, #25bfa8 51% 68%, transparent 69%);
|
||||
}
|
||||
|
||||
.icon-horse {
|
||||
border-radius: 50% 28px 50% 30px;
|
||||
background: linear-gradient(135deg, #dbe9ff, #6b94f8);
|
||||
}
|
||||
|
||||
.dimension-copy {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.dimension-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.dimension-title {
|
||||
color: #29243a;
|
||||
font-size: 34px;
|
||||
font-weight: 900;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dimension-headline {
|
||||
min-width: 0;
|
||||
color: #5d5667;
|
||||
font-size: 28px;
|
||||
line-height: 1.3;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.dimension-detail {
|
||||
display: block;
|
||||
margin-top: 30px;
|
||||
color: #666071;
|
||||
font-size: 28px;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.dimension-tag {
|
||||
position: absolute;
|
||||
right: 34px;
|
||||
top: 30px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
font-size: 28px;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.dimension-tag.suitable {
|
||||
background: #4bc660;
|
||||
}
|
||||
|
||||
.dimension-tag.avoid {
|
||||
background: #f45b72;
|
||||
}
|
||||
|
||||
.dimension-arrow {
|
||||
position: absolute;
|
||||
right: 34px;
|
||||
bottom: 30px;
|
||||
color: #3f394a;
|
||||
font-size: 52px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.home-tabbar {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 12;
|
||||
height: calc(158px + env(safe-area-inset-bottom));
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
border-radius: 26px 26px 0 0;
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 -10px 32px rgba(85, 79, 110, 0.1);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.home-tabbar-item,
|
||||
.home-realm-tab {
|
||||
width: 150px;
|
||||
height: 132px;
|
||||
color: #29243a;
|
||||
font-size: 28px;
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.home-tabbar-item.active {
|
||||
color: #ff9b2a;
|
||||
}
|
||||
|
||||
.home-tab-icon {
|
||||
width: 42px;
|
||||
height: 36px;
|
||||
border-radius: 0 0 18px 18px;
|
||||
background: currentColor;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.home-tab-icon::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 5px;
|
||||
top: -22px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 18px 18px 10px 10px;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.home-mine-icon {
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
border-radius: 24px 24px 14px 14px;
|
||||
background: currentColor;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.home-mine-icon::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 13px;
|
||||
top: -26px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.home-realm-tab {
|
||||
margin-top: -78px;
|
||||
}
|
||||
|
||||
.home-realm-avatar {
|
||||
width: 112px;
|
||||
height: 112px;
|
||||
border-radius: 60px;
|
||||
border: 12px solid #f0f7ff;
|
||||
box-shadow: 0 10px 24px rgba(121, 129, 164, 0.16);
|
||||
}
|
||||
|
||||
.sort-page {
|
||||
padding-top: calc(188px + env(safe-area-inset-top));
|
||||
}
|
||||
|
||||
.sort-back {
|
||||
position: fixed;
|
||||
left: 30px;
|
||||
top: calc(48px + env(safe-area-inset-top));
|
||||
z-index: 3;
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
color: #2d2549;
|
||||
font-size: 72px;
|
||||
line-height: 44px;
|
||||
}
|
||||
|
||||
.sort-title {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: calc(116px + env(safe-area-inset-top));
|
||||
z-index: 2;
|
||||
color: #29243a;
|
||||
font-size: 42px;
|
||||
line-height: 1;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sort-hint-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #6e6678;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.sort-handle-symbol {
|
||||
margin: 0 16px;
|
||||
color: #6e6678;
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
.sort-done {
|
||||
margin-left: auto;
|
||||
color: #29243a;
|
||||
font-size: 30px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.sort-list {
|
||||
margin-top: 62px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.sort-item {
|
||||
height: 112px;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
padding: 0 34px 0 38px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
color: #29243a;
|
||||
font-size: 32px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.sort-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
color: #77717f;
|
||||
font-size: 38px;
|
||||
}
|
||||
|
||||
.sort-controls button {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 22px;
|
||||
background: rgba(121, 86, 244, 0.1);
|
||||
color: #6d57da;
|
||||
font-size: 28px;
|
||||
line-height: 44px;
|
||||
}
|
||||
position: relative; width: 100%; max-width: 750px; min-height: 100vh; margin: 0 auto;
|
||||
padding: calc(182px + env(safe-area-inset-top)) 30px calc(210px + env(safe-area-inset-bottom));
|
||||
box-sizing: border-box; color: #2c263a; overflow-x: hidden;
|
||||
background: linear-gradient(180deg,#9d81fb 0,#c6acfb 300px,#eddaff 660px,#f7edff 1120px,#f6f2ff 100%);
|
||||
}
|
||||
.home-preview-note { position: absolute; top: calc(110px + env(safe-area-inset-top)); left: 0; right: 0; color: rgba(60,41,104,.65); font-size: 22px; line-height: 1.5; text-align: center; }
|
||||
.home-day-switch { display: flex; align-items: center; gap: 38px; padding: 0 16px; }
|
||||
.home-avatar-orb { flex: none; width: 108px; height: 108px; border: 3px solid rgba(255,255,255,.75); border-radius: 50%; box-sizing: border-box; background: #fffef0; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(115,78,168,.1); overflow: hidden; }
|
||||
.home-water-image { width: 86px; height: 86px; }
|
||||
.home-avatar-image { width: 100%; height: 100%; border-radius: 50%; }
|
||||
.home-day-tabs { display: flex; flex: 1; min-width: 0; align-items: center; }
|
||||
.home-page .home-day-tab { flex: 1; min-width: 0; height: 108px; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; align-items: center; color: #6f568f; background: transparent; border: 0; font-weight: 500; }
|
||||
.home-page .home-day-tab + .home-day-tab { margin-top: 0; }
|
||||
.home-day-tab + .home-day-tab::before { content: ''; position: absolute; left: 0; top: 23px; width: 2px; height: 9px; border-radius: 2px; background: rgba(79,52,112,.3); }
|
||||
.home-day-label { display: block; height: 58px; font-size: 35px; line-height: 58px; white-space: nowrap; }
|
||||
.home-day-status { min-width: 96px; height: 40px; padding: 0 8px; box-sizing: border-box; margin-top: 6px; border-radius: 24px; font-size: 25px; line-height: 40px; color: #a17bb8; white-space: nowrap; }
|
||||
.home-day-tab.active .home-day-label { color: #2e2340; font-size: 43px; font-weight: 800; }
|
||||
.home-day-tab.active .home-day-status { color: #fff; background: linear-gradient(135deg,#9864fa,#8150ee); box-shadow: 0 5px 12px rgba(124,71,216,.13); font-weight: 700; }
|
||||
.home-date-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; margin: 38px 10px 28px; color: #5e486f; font-size: 25px; line-height: 1.5; }
|
||||
.home-solar-date { display: flex; align-items: baseline; white-space: nowrap; }
|
||||
.home-date-number { font-size: 38px; font-weight: 800; line-height: 1.1; }
|
||||
.home-lunar-date { font-size: 24px; }
|
||||
.home-summary-card { position: relative; min-height: 200px; padding: 28px; border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; box-sizing: border-box; color: #fff; background: linear-gradient(115deg,#7841f6 0,#8749fc 50%,#c773ef 100%); box-shadow: 0 12px 24px rgba(139,81,211,.1); overflow: hidden; }
|
||||
.home-summary-card::after { content: ''; position: absolute; right: -40px; top: -90px; width: 330px; height: 330px; border: 2px solid rgba(255,255,255,.15); border-radius: 50%; }
|
||||
.home-summary-copy { position: relative; z-index: 1; flex: 1; min-width: 0; font-size: 28px; font-weight: 600; line-height: 1.8; letter-spacing: 1px; }
|
||||
.home-index-halo { position: relative; z-index: 1; width: 174px; height: 174px; padding: 9px; border: 2px solid rgba(240,208,255,.4); border-radius: 50%; box-sizing: border-box; background: rgba(230,195,255,.16); box-shadow: 0 0 16px rgba(255,218,251,.3); flex: none; }
|
||||
.home-index-orb { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 36% 25%,#b8f3ff 0,#77b7ec 28%,#547be3 61%,#96b6fc 87%,#d9d7ff 100%); box-shadow: inset 0 3px 9px rgba(255,255,255,.8),inset 0 -8px 16px rgba(64,81,187,.2); }
|
||||
.home-index-number { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -3px; }
|
||||
.home-index-label { margin-top: 8px; font-size: 22px; line-height: 1.3; }
|
||||
.home-summary-stars { position: absolute; inset: 0; pointer-events: none; }
|
||||
.home-summary-stars > view { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,240,255,.7); }
|
||||
.home-summary-stars > view:nth-child(1) { top: 25px; left: 42px; }
|
||||
.home-summary-stars > view:nth-child(2) { top: 35px; right: 15px; width: 4px; height: 4px; }
|
||||
.home-summary-stars > view:nth-child(3) { bottom: 27px; right: 29px; width: 3px; height: 3px; }
|
||||
.home-lucky-row { display: flex; gap: 20px; margin-top: 20px; }
|
||||
.home-lucky-box { min-width: 0; min-height: 90px; padding: 18px 20px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.3); border-radius: 22px; display: flex; align-items: center; gap: 16px; }
|
||||
.home-colors-box { flex: 1.8; background: rgba(231,211,250,.68); }
|
||||
.home-numbers-box { flex: 1; background: rgba(220,208,252,.72); }
|
||||
.home-direction-box { flex: 1; background: linear-gradient(110deg,#ffe6bd,#fff0df); }
|
||||
.home-hours-box { flex: 1.8; background: linear-gradient(110deg,#c2e7fa,#dfedff); }
|
||||
.home-lucky-label { flex: none; font-size: 27px; font-weight: 800; white-space: nowrap; }
|
||||
.home-color-list { display: flex; gap: 16px; min-width: 0; flex: 1; flex-wrap: wrap; }
|
||||
.home-color-chip { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 25px; }
|
||||
.home-swatch { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid rgba(120,100,150,.06); box-sizing: border-box; }
|
||||
.home-number-slots { display: flex; gap: 10px; }
|
||||
.home-number-slot { position: relative; width: 43px; height: 52px; border-radius: 8px; color: #fff; background: linear-gradient(180deg,#9279ee 49%,#a18af1 50%); text-align: center; }
|
||||
.home-number-slot > text { position: relative; z-index: 1; font-size: 43px; font-weight: 700; line-height: 52px; }
|
||||
.home-number-slot::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(92,65,152,.26); }
|
||||
.home-compass { flex: none; width: 42px; height: 42px; border: 5px solid #f8d787; border-radius: 50%; background: #fff9eb; box-sizing: border-box; position: relative; }
|
||||
.home-compass-needle { position: absolute; inset: 0; }
|
||||
.home-compass-needle::before { content: ''; position: absolute; left: 10px; top: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 14px solid #ee9b82; }
|
||||
.home-compass-needle::after { content: ''; position: absolute; left: 10px; bottom: 3px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 14px solid #7eafdd; }
|
||||
.home-direction-value { font-size: 25px; white-space: nowrap; }
|
||||
.home-hours-list { display: flex; gap: 12px; flex-wrap: wrap; min-width: 0; }
|
||||
.home-hour-chip { display: flex; align-items: center; gap: 5px; color: #39495c; font-size: 23px; white-space: nowrap; }
|
||||
.home-hour-branch { width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #72b8df; line-height: 34px; text-align: center; font-weight: 700; }
|
||||
.home-no-hour { font-size: 22px; color: #7385a1; }
|
||||
.home-dimension-head { display: flex; align-items: center; justify-content: space-between; margin-top: 42px; }
|
||||
.home-dimension-head > text { flex: none; white-space: nowrap; font-size: 37px; font-weight: 800; letter-spacing: -1px; }
|
||||
.home-dimension-head > button { width: auto; flex: none; margin: 0; display: flex; align-items: center; gap: 9px; color: #85738f; font-size: 25px; padding: 14px 0 14px 20px; }
|
||||
.home-sort-symbol { width: 21px; height: 23px; position: relative; }
|
||||
.home-sort-symbol > view { position: absolute; top: 3px; width: 3px; height: 16px; border-radius: 2px; background: currentColor; }
|
||||
.home-sort-symbol > view:first-child { left: 5px; }
|
||||
.home-sort-symbol > view:last-child { right: 5px; }
|
||||
.home-sort-symbol > view:first-child::after { content: ''; position: absolute; top: 0; left: -3px; width: 6px; height: 6px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
|
||||
.home-sort-symbol > view:last-child::after { content: ''; position: absolute; bottom: 0; left: -3px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
|
||||
.home-dimension-list { display: flex; flex-direction: column; gap: 18px; margin-top: 26px; }
|
||||
.home-dimension-card { min-height: 206px; padding: 20px 26px 28px; border: 2px solid rgba(255,255,255,.9); border-radius: 26px; box-sizing: border-box; background: linear-gradient(180deg,#fff8ec,#fff 65%); box-shadow: 0 7px 18px rgba(115,83,149,.025); }
|
||||
.home-dimension-card.dimension-emotion { background: linear-gradient(180deg,#fff0f7,#fff 65%); }
|
||||
.home-dimension-card.dimension-life { background: linear-gradient(180deg,#f3fff0,#fff 65%); }
|
||||
.home-dimension-card.dimension-social { background: linear-gradient(180deg,#f6efff,#fff 65%); }
|
||||
.home-dimension-card.dimension-career { background: linear-gradient(180deg,#effff9,#fff 65%); }
|
||||
.home-dimension-card.dimension-travel { background: linear-gradient(180deg,#f0f7ff,#fff 65%); }
|
||||
.home-dimension-title-row { display: flex; align-items: center; gap: 11px; min-width: 0; }
|
||||
.home-dimension-icon { display: block; width: 56px; height: 56px; flex: none; }
|
||||
.home-dimension-title { font-size: 33px; font-weight: 800; white-space: nowrap; }
|
||||
.home-dimension-headline { min-width: 0; flex: 1; margin-left: 4px; font-size: 26px; line-height: 1.45; color: #665b6c; }
|
||||
.home-dimension-tag { flex: none; width: 43px; height: 43px; border-radius: 50%; color: #fff; font-size: 25px; font-weight: 700; line-height: 43px; text-align: center; }
|
||||
.home-dimension-tag.suitable { background: #6ac87d; }
|
||||
.home-dimension-tag.avoid { background: #f17d8f; }
|
||||
.home-dimension-detail { display: block; margin: 24px 1px 0; color: #77707d; font-size: 27px; line-height: 1.85; }
|
||||
.home-entertainment-note { display: block; margin: 28px 12px 0; color: #b0a1bd; font-size: 21px; line-height: 1.7; text-align: center; }
|
||||
.home-empty { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 90px 20px; color: #7d6593; font-size: 28px; line-height: 1.8; text-align: center; }
|
||||
.home-empty-image { width: 120px; height: 120px; }
|
||||
.home-empty button { padding: 22px 40px; border-radius: 40px; color: #fff; background: #9977e9; font-size: 28px; }
|
||||
.home-sort-page { padding-top: calc(130px + env(safe-area-inset-top)); }
|
||||
.home-sort-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
|
||||
.home-sort-nav > text { flex: 1; text-align: center; white-space: nowrap; font-size: 36px; font-weight: 800; }
|
||||
.home-sort-nav > button { width: auto; flex: none; min-width: 70px; margin: 0; font-size: 29px; color: #6e4e9c; line-height: 60px; }
|
||||
.home-sort-nav > button:first-child { font-size: 64px; text-align: left; }
|
||||
.home-sort-hint { display: block; margin: 24px 0; color: #8e7c9e; font-size: 25px; line-height: 1.8; }
|
||||
.home-sort-list { display: flex; flex-direction: column; gap: 12px; }
|
||||
.home-sort-item { min-height: 96px; display: flex; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 22px; box-sizing: border-box; background: rgba(255,255,255,.75); font-size: 28px; color: #5c466d; }
|
||||
.home-sort-icon { width: 48px; height: 48px; }
|
||||
.home-sort-controls { display: flex; gap: 16px; margin-left: auto; }
|
||||
.home-sort-controls > button { width: 46px; height: 46px; border-radius: 50%; font-size: 27px; color: #9174cc; background: rgba(175,144,223,.12); line-height: 46px; }
|
||||
.home-sort-controls > button[disabled] { opacity: .3; }
|
||||
@media screen and (max-height: 700px) { .home-page { padding-top: calc(148px + env(safe-area-inset-top)); } .home-preview-note { top: calc(98px + env(safe-area-inset-top)); } .home-sort-page { padding-top: calc(110px + env(safe-area-inset-top)); } }
|
||||
Reference in new issue
Block a user