You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.1 KiB
62 lines
1.1 KiB
.wux-textarea {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center
|
|
}
|
|
.wux-textarea__label {
|
|
margin-left: 0;
|
|
margin-right: 10rpx;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
width: 210rpx;
|
|
align-self: flex-start
|
|
}
|
|
.wux-textarea__control {
|
|
flex: 1
|
|
}
|
|
.wux-textarea__item {
|
|
width: 100%;
|
|
border: 0;
|
|
outline: 0;
|
|
-webkit-appearance: none;
|
|
background-color: transparent;
|
|
font-size: inherit;
|
|
color: inherit;
|
|
height: 1.47058824em;
|
|
min-height: 1.47058824em;
|
|
line-height: 1.47058824
|
|
}
|
|
.wux-textarea__extra {
|
|
color: rgba(0,0,0,.45);
|
|
margin-left: 10rpx
|
|
}
|
|
.wux-textarea__error {
|
|
margin-left: 10rpx
|
|
}
|
|
.wux-textarea__clear {
|
|
display: none
|
|
}
|
|
.wux-textarea--focus .wux-textarea__clear {
|
|
display: block
|
|
}
|
|
.wux-textarea--disabled {
|
|
opacity: .3
|
|
}
|
|
.wux-textarea--error .wux-textarea__control {
|
|
color: #ef473a
|
|
}
|
|
.wux-textarea__count {
|
|
position: absolute;
|
|
bottom: -12rpx;
|
|
right: 0;
|
|
color: rgba(0,0,0,.45);
|
|
font-size: 28rpx;
|
|
line-height: 1.47058824
|
|
}
|
|
.wux-textarea__current {
|
|
color: rgba(0,0,0,.85)
|
|
}
|
|
.wux-textarea--has-count .wux-textarea__control {
|
|
padding-bottom: 20rpx
|
|
}
|