u-input.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. /*自定义主题色 */
  27. .u-empty.data-v-4eec3aee,
  28. .u-empty__wrap.data-v-4eec3aee,
  29. .u-tabs.data-v-4eec3aee,
  30. .u-tabs__wrapper.data-v-4eec3aee,
  31. .u-tabs__wrapper__scroll-view-wrapper.data-v-4eec3aee,
  32. .u-tabs__wrapper__scroll-view.data-v-4eec3aee,
  33. .u-tabs__wrapper__nav.data-v-4eec3aee,
  34. .u-tabs__wrapper__nav__line.data-v-4eec3aee {
  35. display: flex;
  36. flex-direction: column;
  37. flex-shrink: 0;
  38. flex-grow: 0;
  39. flex-basis: auto;
  40. align-items: stretch;
  41. align-content: flex-start;
  42. }
  43. .u-input.data-v-4eec3aee {
  44. display: flex;
  45. flex-direction: row;
  46. align-items: center;
  47. justify-content: space-between;
  48. flex: 1;
  49. }
  50. .u-input--radius.data-v-4eec3aee, .u-input--square.data-v-4eec3aee {
  51. border-radius: 4px;
  52. }
  53. .u-input--no-radius.data-v-4eec3aee {
  54. border-radius: 0;
  55. }
  56. .u-input--circle.data-v-4eec3aee {
  57. border-radius: 100px;
  58. }
  59. .u-input__content.data-v-4eec3aee {
  60. flex: 1;
  61. display: flex;
  62. flex-direction: row;
  63. align-items: center;
  64. justify-content: space-between;
  65. }
  66. .u-input__content__field-wrapper.data-v-4eec3aee {
  67. position: relative;
  68. display: flex;
  69. flex-direction: row;
  70. margin: 0;
  71. flex: 1;
  72. }
  73. .u-input__content__field-wrapper__field.data-v-4eec3aee {
  74. line-height: 26px;
  75. text-align: left;
  76. color: #303133;
  77. height: 24px;
  78. font-size: 15px;
  79. flex: 1;
  80. }
  81. .u-input__content__clear.data-v-4eec3aee {
  82. width: 20px;
  83. height: 20px;
  84. border-radius: 100px;
  85. background-color: #c6c7cb;
  86. display: flex;
  87. flex-direction: row;
  88. align-items: center;
  89. justify-content: center;
  90. transform: scale(0.82);
  91. margin-left: 4px;
  92. }
  93. .u-input__content__subfix-icon.data-v-4eec3aee {
  94. margin-left: 4px;
  95. }
  96. .u-input__content__prefix-icon.data-v-4eec3aee {
  97. margin-right: 4px;
  98. }