init
This commit is contained in:
62
uni_modules/nutui-uni/components/textarea/index.scss
Normal file
62
uni_modules/nutui-uni/components/textarea/index.scss
Normal file
@@ -0,0 +1,62 @@
|
||||
.nut-theme-dark {
|
||||
.nut-textarea {
|
||||
background: $dark-background;
|
||||
|
||||
&__textarea {
|
||||
color: $dark-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nut-textarea {
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
padding: 10px 25px;
|
||||
font-size: $textarea-font;
|
||||
background: $white;
|
||||
|
||||
&--disabled {
|
||||
.nut-textarea__textarea,
|
||||
|
||||
// TODO PR原版类名错误
|
||||
.nut-textarea__limit {
|
||||
color: $textarea-disabled-color !important;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
&__limit {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
bottom: 12px;
|
||||
font-size: $textarea-font;
|
||||
color: $textarea-limit-color;
|
||||
}
|
||||
|
||||
&__textarea {
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: $textarea-font;
|
||||
line-height: 20px;
|
||||
color: $textarea-text-color;
|
||||
text-align: left;
|
||||
resize: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
outline: none;
|
||||
|
||||
.taro-textarea {
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
&__ali {
|
||||
line-height: 17px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user