uni-easyinput.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /* 水平间距 */
  2. /* 水平间距 */
  3. .uni-easyinput {
  4. width: 100%;
  5. flex: 1;
  6. position: relative;
  7. text-align: left;
  8. color: #333;
  9. font-size: 14px;
  10. }
  11. .uni-easyinput__content {
  12. flex: 1;
  13. width: 100%;
  14. display: flex;
  15. box-sizing: border-box;
  16. flex-direction: row;
  17. align-items: center;
  18. border-color: #fff;
  19. transition-property: border-color;
  20. transition-duration: 0.3s;
  21. }
  22. .uni-easyinput__content-input {
  23. width: auto;
  24. position: relative;
  25. overflow: hidden;
  26. flex: 1;
  27. line-height: 1;
  28. font-size: 14px;
  29. height: 35px;
  30. /*ifdef H5*/
  31. /*endif*/
  32. }
  33. .uni-easyinput__content-input ::-ms-reveal {
  34. display: none;
  35. }
  36. .uni-easyinput__content-input ::-ms-clear {
  37. display: none;
  38. }
  39. .uni-easyinput__content-input ::-o-clear {
  40. display: none;
  41. }
  42. .uni-easyinput__placeholder-class {
  43. color: #999;
  44. font-size: 12px;
  45. }
  46. .is-textarea {
  47. align-items: flex-start;
  48. }
  49. .is-textarea-icon {
  50. margin-top: 5px;
  51. }
  52. .uni-easyinput__content-textarea {
  53. position: relative;
  54. overflow: hidden;
  55. flex: 1;
  56. line-height: 1.5;
  57. font-size: 14px;
  58. margin: 6px;
  59. margin-left: 0;
  60. height: 80px;
  61. min-height: 80px;
  62. min-height: 80px;
  63. width: auto;
  64. }
  65. .input-padding {
  66. padding-left: 10px;
  67. }
  68. .content-clear-icon {
  69. padding: 0 5px;
  70. }
  71. .label-icon {
  72. margin-right: 5px;
  73. margin-top: -1px;
  74. }
  75. .is-input-border {
  76. display: flex;
  77. box-sizing: border-box;
  78. flex-direction: row;
  79. align-items: center;
  80. border: 1px solid #F0F0F0;
  81. border-radius: 4px;
  82. }
  83. .uni-error-message {
  84. position: absolute;
  85. bottom: -17px;
  86. left: 0;
  87. line-height: 12px;
  88. color: #e43d33;
  89. font-size: 12px;
  90. text-align: left;
  91. }
  92. .uni-error-msg--boeder {
  93. position: relative;
  94. bottom: 0;
  95. line-height: 22px;
  96. }
  97. .is-input-error-border {
  98. border-color: #e43d33;
  99. }
  100. .is-input-error-border .uni-easyinput__placeholder-class {
  101. color: #f29e99;
  102. }
  103. .uni-easyinput--border {
  104. margin-bottom: 0;
  105. padding: 10px 15px;
  106. border-top: 1px #eee solid;
  107. }
  108. .uni-easyinput-error {
  109. padding-bottom: 0;
  110. }
  111. .is-first-border {
  112. border: none;
  113. }
  114. .is-disabled {
  115. background-color: #f7f6f6;
  116. color: #d5d5d5;
  117. }
  118. .is-disabled .uni-easyinput__placeholder-class {
  119. color: #d5d5d5;
  120. font-size: 12px;
  121. }