@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
62 lines (59 loc) • 1.14 kB
CSS
/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-input {
position: relative;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
flex: 1;
align-items: center;
font-size: 14px;
box-sizing: border-box;
}
.nut-input .nut-input-native .weui-input::placeholder {
color: rgb(117, 117, 117);
font-size: 14px;
}
.nut-input-placeholder {
color: rgb(117, 117, 117);
font-size: 14px;
}
.nut-input .nut-icon {
color: #c2c4cc;
width: 14px;
height: 14px;
font-size: 14px;
}
.nut-input-container {
height: 38px;
padding: 12px;
background-color: #ffffff;
border-radius: 6px;
border-bottom: 0px solid rgba(0, 0, 0, 0.06);
}
.nut-input-native {
flex: 1;
color: #1a1a1a;
font-size: 14px;
line-height: 16px;
padding: 0;
border: 0;
outline: 0 none;
text-decoration: none;
background-color: transparent;
}
.nut-input-readonly .nut-input-native {
color: #888b94;
}
.nut-input-disabled {
color: #c2c4cc ;
}
.nut-input-disabled input:disabled {
color: #c2c4cc;
cursor: not-allowed;
background: none;
opacity: 1;
-webkit-text-fill-color: #c2c4cc;
}