u-message-input.wxss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. @-webkit-keyframes breathe-data-v-1817e481 {
  28. 0% {
  29. opacity: 0.3;
  30. }
  31. 50% {
  32. opacity: 1;
  33. }
  34. 100% {
  35. opacity: 0.3;
  36. }
  37. }
  38. @keyframes breathe-data-v-1817e481 {
  39. 0% {
  40. opacity: 0.3;
  41. }
  42. 50% {
  43. opacity: 1;
  44. }
  45. 100% {
  46. opacity: 0.3;
  47. }
  48. }
  49. .u-char-box.data-v-1817e481 {
  50. text-align: center;
  51. }
  52. .u-char-flex.data-v-1817e481 {
  53. display: -webkit-box;
  54. display: -webkit-flex;
  55. display: flex;
  56. -webkit-box-orient: horizontal;
  57. -webkit-box-direction: normal;
  58. -webkit-flex-direction: row;
  59. flex-direction: row;
  60. -webkit-box-pack: center;
  61. -webkit-justify-content: center;
  62. justify-content: center;
  63. -webkit-flex-wrap: wrap;
  64. flex-wrap: wrap;
  65. position: relative;
  66. }
  67. .u-input.data-v-1817e481 {
  68. position: absolute;
  69. top: 0;
  70. left: -100%;
  71. width: 200%;
  72. height: 100%;
  73. text-align: left;
  74. z-index: 9;
  75. opacity: 0;
  76. background: none;
  77. }
  78. .u-char-item.data-v-1817e481 {
  79. position: relative;
  80. width: 90rpx;
  81. height: 90rpx;
  82. margin: 10rpx 10rpx;
  83. font-size: 60rpx;
  84. font-weight: bold;
  85. color: #303133;
  86. line-height: 90rpx;
  87. display: -webkit-box;
  88. display: -webkit-flex;
  89. display: flex;
  90. -webkit-box-orient: horizontal;
  91. -webkit-box-direction: normal;
  92. -webkit-flex-direction: row;
  93. flex-direction: row;
  94. -webkit-box-pack: center;
  95. -webkit-justify-content: center;
  96. justify-content: center;
  97. -webkit-box-align: center;
  98. -webkit-align-items: center;
  99. align-items: center;
  100. }
  101. .u-middle-line.data-v-1817e481 {
  102. border: none;
  103. }
  104. .u-box.data-v-1817e481 {
  105. box-sizing: border-box;
  106. border: 2rpx solid #cccccc;
  107. border-radius: 6rpx;
  108. }
  109. .u-box-active.data-v-1817e481 {
  110. overflow: hidden;
  111. -webkit-animation-timing-function: ease-in-out;
  112. animation-timing-function: ease-in-out;
  113. -webkit-animation-duration: 1500ms;
  114. animation-duration: 1500ms;
  115. -webkit-animation-iteration-count: infinite;
  116. animation-iteration-count: infinite;
  117. -webkit-animation-direction: alternate;
  118. animation-direction: alternate;
  119. border: 2rpx solid #2979ff;
  120. }
  121. .u-middle-line-active.data-v-1817e481 {
  122. background: #2979ff;
  123. }
  124. .u-breathe.data-v-1817e481 {
  125. -webkit-animation: breathe-data-v-1817e481 2s infinite ease;
  126. animation: breathe-data-v-1817e481 2s infinite ease;
  127. }
  128. .u-placeholder-line.data-v-1817e481 {
  129. display: none;
  130. position: absolute;
  131. left: 50%;
  132. top: 50%;
  133. -webkit-transform: translate(-50%, -50%);
  134. transform: translate(-50%, -50%);
  135. width: 2rpx;
  136. height: 40rpx;
  137. background: #333333;
  138. -webkit-animation: twinkling 1.5s infinite ease;
  139. animation: twinkling 1.5s infinite ease;
  140. }
  141. .u-animation-breathe.data-v-1817e481 {
  142. -webkit-animation-name: breathe-data-v-1817e481;
  143. animation-name: breathe-data-v-1817e481;
  144. }
  145. .u-dot.data-v-1817e481 {
  146. font-size: 34rpx;
  147. line-height: 34rpx;
  148. }
  149. .u-middle-line.data-v-1817e481 {
  150. height: 4px;
  151. background: #000000;
  152. width: 80%;
  153. position: absolute;
  154. border-radius: 2px;
  155. top: 50%;
  156. left: 50%;
  157. -webkit-transform: translate(-50%, -50%);
  158. transform: translate(-50%, -50%);
  159. }
  160. .u-buttom-line-active.data-v-1817e481 {
  161. background: #2979ff;
  162. }
  163. .u-bottom-line.data-v-1817e481 {
  164. height: 4px;
  165. background: #000000;
  166. width: 80%;
  167. position: absolute;
  168. border-radius: 2px;
  169. bottom: 0;
  170. left: 50%;
  171. -webkit-transform: translate(-50%);
  172. transform: translate(-50%);
  173. }