45 lines
875 B
CSS
45 lines
875 B
CSS
.u-tabbar {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
|
|
background: var(--color-card, #fff);
|
|
border-top: 1px solid rgba(226, 190, 188, 0.3);
|
|
box-shadow: var(--shadow-tabbar, 0 -4px 20px rgba(0, 0, 0, 0.06));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.u-tabbar__item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
padding: 4px;
|
|
border-radius: 8px;
|
|
color: var(--color-subtle-gray, #999);
|
|
}
|
|
|
|
.u-tabbar__item--active {
|
|
color: var(--color-heritage-red, #a61d24);
|
|
}
|
|
|
|
.u-tabbar__icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: block;
|
|
}
|
|
|
|
.u-tabbar__label {
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
letter-spacing: 0.02em;
|
|
}
|