65 lines
1.1 KiB
Plaintext
65 lines
1.1 KiB
Plaintext
.tabbar {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
min-height: 112rpx;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
border-top: 1rpx solid rgba(209, 209, 214, 0.72);
|
|
background: rgba(248, 250, 252, 0.92);
|
|
-webkit-backdrop-filter: blur(24rpx) saturate(180%);
|
|
backdrop-filter: blur(24rpx) saturate(180%);
|
|
}
|
|
|
|
.tab-item {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6rpx;
|
|
min-height: 112rpx;
|
|
color: #8e8e93;
|
|
transition: transform 140ms cubic-bezier(0.23, 1, 0.32, 1);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.tab-item-active {
|
|
color: #007aff;
|
|
}
|
|
|
|
.tab-item:active {
|
|
transform: scale(0.96);
|
|
}
|
|
|
|
.tab-glyph {
|
|
font-size: 42rpx;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
}
|
|
|
|
.tab-label {
|
|
font-size: 24rpx;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.tab-item {
|
|
transition: none;
|
|
}
|
|
|
|
.tab-item:active {
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-transparency: reduce) {
|
|
.tabbar {
|
|
background: #f8fafc;
|
|
-webkit-backdrop-filter: none;
|
|
backdrop-filter: none;
|
|
}
|
|
}
|