118 lines
2.1 KiB
CSS
118 lines
2.1 KiB
CSS
.app-bottom-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
min-width: 100%;
|
|
max-width: 100vw;
|
|
box-sizing: border-box;
|
|
min-height: 64px;
|
|
height: calc(64px + env(safe-area-inset-bottom, 0));
|
|
padding-bottom: env(safe-area-inset-bottom, 0);
|
|
padding-left: env(safe-area-inset-left, 0);
|
|
padding-right: env(safe-area-inset-right, 0);
|
|
background: #ffffff;
|
|
border-top: 1px solid rgba(15, 23, 42, 0.08);
|
|
box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
z-index: 100;
|
|
}
|
|
|
|
.app-bar-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
padding: 8px 12px;
|
|
color: #6b7280;
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
transition: color 0.2s ease;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.app-bar-item:hover {
|
|
color: #111827;
|
|
}
|
|
|
|
.app-bar-item:disabled {
|
|
cursor: default;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.app-bar-item:disabled:hover {
|
|
color: #6b7280;
|
|
}
|
|
|
|
.app-bar-item--active {
|
|
color: #2563EB;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.app-bar-item--active:hover {
|
|
color: #2563EB;
|
|
}
|
|
|
|
.app-bar-item--exit:hover {
|
|
color: #dc2626;
|
|
}
|
|
|
|
.app-bar-item-icon-wrap {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.app-bar-avatar {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.app-bar-profile-badge {
|
|
position: absolute;
|
|
top: -4px;
|
|
right: -6px;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
padding: 0 4px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 16px;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: #dc2626;
|
|
border: 1.5px solid #fff;
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.app-bar-support-badge {
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 50%;
|
|
transform: translate(-50%, 50%);
|
|
min-width: 18px;
|
|
height: 18px;
|
|
padding: 0 5px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
line-height: 18px;
|
|
color: #fff;
|
|
text-align: center;
|
|
background: #dc2626;
|
|
border: 1.5px solid #fff;
|
|
border-radius: 9px;
|
|
box-sizing: border-box;
|
|
}
|