204 lines
4.1 KiB
Plaintext
204 lines
4.1 KiB
Plaintext
.bar {
|
|
position: fixed;
|
|
left: 24rpx;
|
|
right: 24rpx;
|
|
bottom: calc(env(safe-area-inset-bottom) + 20rpx);
|
|
height: 112rpx;
|
|
display: flex;
|
|
align-items: stretch;
|
|
background: rgba(255, 255, 255, 0.98);
|
|
border: 2rpx solid #ece2d8;
|
|
border-radius: 42rpx;
|
|
box-shadow: 0 12rpx 42rpx rgba(123, 84, 58, 0.12);
|
|
z-index: 20;
|
|
}
|
|
.item {
|
|
position: relative;
|
|
width: 20%;
|
|
min-height: 112rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #9d8779;
|
|
}
|
|
.item.active {
|
|
color: #b95738;
|
|
}
|
|
.icon-wrap {
|
|
width: 58rpx;
|
|
height: 58rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 22rpx;
|
|
}
|
|
.active .icon-wrap {
|
|
background: #fff0e2;
|
|
transform: translateY(-4rpx);
|
|
}
|
|
.label {
|
|
font-size: 21rpx;
|
|
line-height: 27rpx;
|
|
font-weight: 600;
|
|
}
|
|
.active-dot {
|
|
position: absolute;
|
|
bottom: 4rpx;
|
|
width: 7rpx;
|
|
height: 7rpx;
|
|
border-radius: 50%;
|
|
background: #df936a;
|
|
}
|
|
.daily-icon {
|
|
position: relative;
|
|
width: 39rpx;
|
|
height: 37rpx;
|
|
margin-top: 5rpx;
|
|
border: 3rpx solid currentColor;
|
|
border-radius: 9rpx;
|
|
}
|
|
.calendar-ring {
|
|
position: absolute;
|
|
top: -8rpx;
|
|
width: 3rpx;
|
|
height: 11rpx;
|
|
border-radius: 3rpx;
|
|
background: currentColor;
|
|
}
|
|
.ring-left { left: 7rpx; }
|
|
.ring-right { right: 7rpx; }
|
|
.calendar-divider {
|
|
position: absolute;
|
|
top: 7rpx;
|
|
left: 0;
|
|
right: 0;
|
|
border-top: 3rpx solid currentColor;
|
|
}
|
|
.daily-rays {
|
|
position: absolute;
|
|
left: 6rpx;
|
|
top: 12rpx;
|
|
width: 21rpx;
|
|
height: 21rpx;
|
|
}
|
|
.daily-rays::before, .daily-rays::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: 2rpx;
|
|
background: currentColor;
|
|
}
|
|
.daily-rays::before { left: 9rpx; top: 0; width: 3rpx; height: 21rpx; }
|
|
.daily-rays::after { left: 0; top: 9rpx; width: 21rpx; height: 3rpx; }
|
|
.daily-sun {
|
|
position: absolute;
|
|
left: 10rpx;
|
|
top: 16rpx;
|
|
width: 13rpx;
|
|
height: 13rpx;
|
|
border: 3rpx solid currentColor;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
}
|
|
.active .daily-sun { background: #fff0e2; }
|
|
.friends-icon {
|
|
position: relative;
|
|
width: 48rpx;
|
|
height: 45rpx;
|
|
}
|
|
.friend {
|
|
position: absolute;
|
|
bottom: 2rpx;
|
|
width: 25rpx;
|
|
height: 16rpx;
|
|
border: 4rpx solid currentColor;
|
|
border-radius: 18rpx 18rpx 5rpx 5rpx;
|
|
}
|
|
.friend::before {
|
|
content: "";
|
|
position: absolute;
|
|
top: -25rpx;
|
|
left: 3rpx;
|
|
width: 13rpx;
|
|
height: 13rpx;
|
|
border: 4rpx solid currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
.friend-left { left: 1rpx; }
|
|
.friend-right { right: 1rpx; background: #fff; }
|
|
.active .friend-right { background: #fff0e2; }
|
|
.task-icon {
|
|
position: relative;
|
|
width: 35rpx;
|
|
height: 35rpx;
|
|
border: 4rpx solid currentColor;
|
|
border-radius: 9rpx;
|
|
}
|
|
.task-tick {
|
|
position: absolute;
|
|
left: 8rpx;
|
|
top: 6rpx;
|
|
width: 13rpx;
|
|
height: 18rpx;
|
|
border-right: 4rpx solid currentColor;
|
|
border-bottom: 4rpx solid currentColor;
|
|
transform: rotate(45deg);
|
|
}
|
|
.pet-icon {
|
|
width: 46rpx;
|
|
height: 46rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.active .pet-icon { opacity: 1; }
|
|
.walk-bubble {
|
|
position: absolute;
|
|
top: -43rpx;
|
|
width: 104rpx;
|
|
height: 104rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 8rpx solid #fff9f3;
|
|
border-radius: 38rpx;
|
|
background: linear-gradient(145deg, #f8bd8e, #e38e69);
|
|
box-shadow: 0 10rpx 24rpx rgba(178, 105, 72, 0.26);
|
|
transform: rotate(-8deg);
|
|
}
|
|
.walk.active .walk-bubble {
|
|
background: linear-gradient(145deg, #df8b61, #b95738);
|
|
box-shadow: 0 10rpx 24rpx rgba(185, 87, 56, 0.22);
|
|
}
|
|
.walk .label {
|
|
position: absolute;
|
|
bottom: 13rpx;
|
|
color: #aa7356;
|
|
}
|
|
.walk.active .label { color: #b95738; }
|
|
.paw {
|
|
position: relative;
|
|
width: 62rpx;
|
|
height: 62rpx;
|
|
transform: rotate(8deg);
|
|
}
|
|
.toe,
|
|
.pad {
|
|
position: absolute;
|
|
background: #fff;
|
|
}
|
|
.toe {
|
|
width: 11rpx;
|
|
height: 16rpx;
|
|
border-radius: 50%;
|
|
}
|
|
.toe-one { left: 3rpx; top: 19rpx; transform: rotate(-28deg); }
|
|
.toe-two { left: 17rpx; top: 5rpx; transform: rotate(-12deg); }
|
|
.toe-three { right: 17rpx; top: 5rpx; transform: rotate(12deg); }
|
|
.toe-four { right: 3rpx; top: 19rpx; transform: rotate(28deg); }
|
|
.pad {
|
|
left: 15rpx;
|
|
top: 30rpx;
|
|
width: 32rpx;
|
|
height: 26rpx;
|
|
border-radius: 50% 50% 45% 45%;
|
|
}
|