jhprjv2/ruoyi-ui-app/miniprogram/components/@mkl/tabs/index.wxss

135 lines
2.9 KiB
Plaintext

/* @import "../common/index.wxss"; */
.van-tabs {
position: relative;
-webkit-tap-highlight-color: transparent;
}
.van-tabs__wrap {
display: -webkit-flex;
display: flex;
overflow: hidden;
}
.van-tabs__wrap--scrollable .van-tab {
-webkit-flex: 0 0 22%;
flex: 0 0 22%;
}
.van-tabs__scroll {
background-color: #fff;
}
.van-tabs__scroll--line {
box-sizing: initial;
height: calc(100% + 15px);
}
.van-tabs__scroll--card {
margin: 0 16px;
}
.van-tabs__scroll::-webkit-scrollbar {
display: none;
}
.van-tabs__nav {
position: relative;
display: -webkit-flex;
display: flex;
-webkit-user-select: none;
user-select: none;
}
.van-tabs__nav--card {
box-sizing: border-box;
height: 30px;
border: 1px solid #ee0a24;
border-radius: 2px;
}
.van-tabs__nav--card .van-tab {
color: #ee0a24;
line-height: 28px;
border-right: 1px solid #ee0a24;
}
.van-tabs__nav--card .van-tab:last-child {
border-right: none;
}
.van-tabs__nav--card .van-tab.van-tab--active {
color: #fff;
background-color: #ee0a24;
}
.van-tabs__nav--card .van-tab--disabled {
color: #c8c9cc;
}
.van-tabs__line {
position: absolute;
bottom: 0;
left: 0;
z-index: 1;
height: 3px;
border-radius: 3px;
background-color: #ee0a24;
}
.van-tabs__track {
position: relative;
width: 100%;
height: 100%;
}
.van-tabs__track--animated {
display: -webkit-flex;
display: flex;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
}
.van-tabs__content {
overflow: hidden;
}
.van-tabs--line .van-tabs__wrap {
height: 44px;
}
.van-tabs--card .van-tabs__wrap {
height: 30px;
}
.van-tab {
position: relative;
-webkit-flex: 1;
flex: 1;
box-sizing: border-box;
min-width: 0;
padding: 0 5px;
text-align: center;
cursor: pointer;
/* color: #646566;
font-size: 14px;
line-height: 44px; */
}
/* .van-tab--active {
font-weight: 500;
color: #323233;
} */
.mkl-ellipsis {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 30rpx;
color: #999;
background: #ffffff;
height: 100rpx;
line-height: 100rpx;
}
.van-tab--active .mkl-ellipsis .mkl-active {
/* font-weight: 500;
color: #323233; */
background: url("https://xiangguan.sxyanzhu.com/statics/static/img/CORE_38D582DD840F4816B1F14D964F0046E9.png") no-repeat bottom/100% 15rpx;
font-size: 30rpx;
color: #000;
font-weight: bold;
}
.van-tab--disabled {
color: #c8c9cc;
}
.van-tab--complete {
-webkit-flex: 1 0 auto !important;
flex: 1 0 auto !important;
}
.van-tab__title__info {
position: relative !important;
top: -1px !important;
display: inline-block;
-webkit-transform: translateX(0) !important;
transform: translateX(0) !important;
}