@import '../common/style/var.less'; .van-field { &__body { display: flex; align-items: center; &--textarea { min-height: 24px; } } &__input { border: 0; margin: 0; padding: 0; width: 100%; height: 24px; resize: none; display: block; text-align: left; min-height: 24px; color: @text-color; line-height: inherit; box-sizing: border-box; background-color: transparent; &--disabled { opacity: 1; color: @gray-dark; background-color: transparent; } &--center { text-align: center; } &--right { text-align: right; } &--error { color: @red; } } &__placeholder { color: @gray-dark; } &__clear-root { height: 24px; } &__clear, &__icon-container, &__button { flex-shrink: 0; } &__clear, &__icon-container { padding: 0 10px; line-height: inherit; margin-right: -10px; vertical-align: middle; } &__clear { color: @gray; } &__icon-container { color: @gray-dark; } &__icon { display: block !important; } &__button { padding-left: 10px; } &__error-message { color: @red; font-size: 12px; text-align: left; } }