木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.6 KiB

  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. .search-container.data-v-20c51190 {
  28. display: flex;
  29. align-items: center;
  30. padding: 20rpx;
  31. }
  32. .search-container .search-input.data-v-20c51190 {
  33. flex: 1;
  34. display: flex;
  35. align-items: center;
  36. border-radius: 30rpx;
  37. padding: 0 20rpx;
  38. position: relative;
  39. }
  40. .search-container .search-input .search-icon.data-v-20c51190 {
  41. display: flex;
  42. align-items: center;
  43. justify-content: center;
  44. width: 40rpx;
  45. height: 40rpx;
  46. }
  47. .search-container .search-input .search-icon.left.data-v-20c51190 {
  48. margin-right: 10rpx;
  49. }
  50. .search-container .search-input .search-icon.right.data-v-20c51190 {
  51. margin-left: 10rpx;
  52. }
  53. .search-container .search-input .search-icon .iconfont.data-v-20c51190 {
  54. font-size: 28rpx;
  55. color: #999;
  56. }
  57. .search-container .search-input .input-field.data-v-20c51190 {
  58. flex: 1;
  59. padding-left: 4rpx;
  60. border: none;
  61. outline: none;
  62. background: transparent;
  63. font-size: 28rpx;
  64. color: #333;
  65. }
  66. .search-container .search-input .input-field.data-v-20c51190::-webkit-input-placeholder {
  67. color: #999;
  68. }
  69. .search-container .search-input .input-field.data-v-20c51190::placeholder {
  70. color: #999;
  71. }
  72. .search-container .search-input .clear-icon.data-v-20c51190 {
  73. display: flex;
  74. line-height: 40rpx;
  75. justify-content: center;
  76. width: 40rpx;
  77. height: 40rpx;
  78. margin-left: 10rpx;
  79. border-radius: 50%;
  80. background: #f0f0f0;
  81. }
  82. .search-container .search-input .clear-icon .iconfont.data-v-20c51190 {
  83. font-size: 20rpx;
  84. color: #b2b2b2;
  85. }
  86. .search-container .cancel-btn.data-v-20c51190 {
  87. margin-left: 20rpx;
  88. padding: 0 20rpx;
  89. }
  90. .search-container .cancel-btn text.data-v-20c51190 {
  91. font-size: 28rpx;
  92. color: #007aff;
  93. }