@import '../common/style/var.less'; @import "../common/style/mixins/hairline.less"; .van-cell { width: 100%; display: flex; padding: 10px 15px; box-sizing: border-box; line-height: 24px; position: relative; background-color: @white; color: @text-color; font-size: 14px; &::after { .hairline-bottom(@border-color, 15px); } &--borderless::after { display: none; } &-group { background-color: @white; } &__label { color: @gray-dark; font-size: 12px; margin-top: 3px; line-height: 18px; } &__title, &__value { flex: 1; &:empty { display: none; } } &__value { color: @gray-dark; overflow: hidden; text-align: right; vertical-align: middle; } &__left-icon-wrap, &__right-icon-wrap { display: flex; align-items: center; height: 24px; font-size: 16px; } &__left-icon-wrap { margin-right: 5px; } &__right-icon-wrap { margin-left: 5px; color: @gray-dark; } &__left-icon { line-height: 24px; vertical-align: middle; } &__right-icon { line-height: 24px; } &--clickable { &:active { background-color: @active-color; } } &--required { overflow: visible; &::before { content: '*'; position: absolute; left: 7px; font-size: 14px; color: @red; } } &--center { align-items: center; } &--large { padding-top: 12px; padding-bottom: 12px; .van-cell__title { font-size: 16px; } .van-cell__label { font-size: 14px; } } }