Files
dukang/apps/mini-hq/src/components/HqTabBar.css
T

52 lines
1021 B
CSS

.hq-tabbar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
display: flex;
justify-content: space-around;
align-items: center;
padding: 10px 12px calc(10px + var(--hq-safe-bottom));
background: #fff;
border-top: 1px solid rgba(226, 190, 188, 0.2);
border-radius: 16px 16px 0 0;
box-shadow: 0 -4px 20px rgba(166, 29, 36, 0.05);
box-sizing: border-box;
}
.hq-tabbar__item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
padding: 6px 4px;
border-radius: 12px;
color: #4e5852;
opacity: 0.75;
transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.hq-tabbar__item--active {
color: var(--hq-red);
background: rgba(255, 218, 215, 0.35);
opacity: 1;
}
.hq-tabbar__icon {
font-size: 24px;
line-height: 1;
}
.hq-tabbar__icon--active {
font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.hq-tabbar__label {
font-size: 12px;
font-weight: 500;
line-height: 1.2;
}