antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
64 lines (62 loc) • 1.27 kB
text/less
@import (reference) './variable.less';
.ant-indexbar-side {
z-index: 9;
&-mask {
position: fixed;
width: 100vw;
height: 100vh;
left: 0;
top: 0;
z-index: 9;
}
&-content {
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
text-align: center;
}
&-item {
position: relative;
padding-left: 20 * @rpx;
&-default {
font-size: 22 * @rpx;
font-weight: bold;
color: @index-bar-assist-color;
display: flex;
align-items: center;
justify-content: center;
}
&-tip {
position: absolute;
left: -158 * @rpx;
top: 50%;
transform: translateY(-50%);
width: 94 * @rpx;
height: 94 * @rpx;
border-radius: 94 * @rpx;
line-height: 94 * @rpx;
text-align: center;
background: @index-bar-tip-background-color;
color: @index-bar-text-color;
font-size: 50 * @rpx;
}
}
&-active {
border-radius: 16 * @rpx;
background-color: @index-bar-active-color;
color: @index-bar-text-color;
}
&-scroll {
width: 100%;
height: 100%;
overflow: scroll;
scrollbar-width: none;
}
&-notSee {
position: fixed;
left: -200%;
top: 0;
z-index: -1;
}
}