138 lines
3.1 KiB
Plaintext
138 lines
3.1 KiB
Plaintext
.weui-navigation-bar {
|
|
--weui-FG-0: rgba(0, 0, 0, 0.92);
|
|
--height: 44px;
|
|
--left: 20rpx;
|
|
color: var(--weui-FG-0);
|
|
position: relative;
|
|
z-index: 30;
|
|
}
|
|
|
|
.weui-navigation-bar .android {
|
|
--height: 48px;
|
|
}
|
|
|
|
.weui-navigation-bar--overlay {
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.weui-navigation-bar__inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
height: calc(var(--height) + env(safe-area-inset-top));
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: env(safe-area-inset-top);
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.weui-navigation-bar__left,
|
|
.weui-navigation-bar__right {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.weui-navigation-bar__left {
|
|
padding-left: var(--left);
|
|
}
|
|
|
|
.weui-navigation-bar__right {
|
|
justify-content: flex-end;
|
|
min-width: 120rpx;
|
|
padding-right: 24rpx;
|
|
}
|
|
|
|
.weui-navigation-bar__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
}
|
|
|
|
.weui-navigation-bar__action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10rpx;
|
|
min-height: 64rpx;
|
|
padding: 0 18rpx 0 8rpx;
|
|
border-radius: 999rpx;
|
|
background: rgba(255, 255, 255, 0.86);
|
|
border: 1rpx solid rgba(255, 255, 255, 0.94);
|
|
box-shadow: 0 10rpx 28rpx rgba(45, 36, 48, 0.08);
|
|
}
|
|
|
|
.weui-navigation-bar__action--active {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.weui-navigation-bar__arrow {
|
|
font-size: 40rpx;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.weui-navigation-bar__home-dot {
|
|
width: 20rpx;
|
|
height: 20rpx;
|
|
border-radius: 999rpx;
|
|
background: currentColor;
|
|
}
|
|
|
|
.weui-navigation-bar__label {
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.weui-navigation-bar__center {
|
|
font-size: 17px;
|
|
text-align: center;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 700;
|
|
flex: 1;
|
|
height: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.weui-navigation-bar__center text {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.weui-navigation-bar__loading {
|
|
margin-right: 8rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.weui-loading {
|
|
font-size: 16px;
|
|
width: 16px;
|
|
height: 16px;
|
|
display: block;
|
|
background: transparent url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='80px' height='80px' viewBox='0 0 80 80' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' opacity='0.9'%3E%3Cg%3E%3Cpath d='M40,0 C62.09139,0 80,17.90861 80,40 C80,62.09139 62.09139,80 40,80 L40,73 C58.2253967,73 73,58.2253967 73,40 C73,21.7746033 58.2253967,7 40,7 L40,0 Z' fill='rgba(96,96,96,0.3)'/%3E%3Cpath d='M40,0 L40,7 C21.7746033,7 7,21.7746033 7,40 C7,58.2253967 21.7746033,73 40,73 L40,80 C17.90861,80 0,62.09139 0,40 C0,17.90861 17.90861,0 40,0 Z' fill='%23606060'/%3E%3Ccircle fill='%23606060' cx='40.5' cy='3.5' r='3.5'%3E%3C/circle%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat;
|
|
background-size: 100%;
|
|
animation: loading 1s linear infinite;
|
|
}
|
|
|
|
@keyframes loading {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|