@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
65 lines • 1.17 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-tabbar-item {
display: flex;
flex-direction: column;
align-items: center;
flex: 1;
padding: 6px 0 2px;
color: #1a1a1a;
height: 100%;
}
.nut-tabbar-item .nut-icon {
width: 24px;
height: 24px;
font-size: 24px;
/* #ifdef harmony*/
color: #1a1a1a;
/* #endif*/
/* #ifndef harmony*/
color: inherit;
/* #endif*/
}
.nut-tabbar-item-text {
display: block;
color: #505259;
font-size: 10px;
line-height: 10px;
margin-top: 4px;
}
.nut-tabbar-item .nut-image-default {
width: 38px;
height: 38px;
border-radius: 38px;
}
.nut-tabbar-item-large {
justify-content: center;
padding: 0;
}
.nut-tabbar-item-large .nut-tabbar-item-text {
font-size: 16px;
margin-top: 0;
line-height: 16px;
font-weight: 400;
}
.nut-tabbar-item-active {
color: #ff0f23;
}
.nut-tabbar-item-active .nut-tabbar-item-text {
/* #ifdef harmony*/
color: #ff0f23;
/* #endif*/
/* #ifndef harmony*/
color: inherit;
/* #endif*/
}
.nut-tabbar-item-active .nut-icon {
/* #ifdef harmony*/
color: #ff0f23;
/* #endif*/
/* #ifndef harmony*/
color: inherit;
/* #endif*/
}