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