upload-file.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. .uni-file-picker__files {
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: flex-start;
  31. }
  32. .uni-file-picker__lists {
  33. position: relative;
  34. margin-top: 5px;
  35. overflow: hidden;
  36. }
  37. .file-picker__mask {
  38. display: flex;
  39. justify-content: center;
  40. align-items: center;
  41. position: absolute;
  42. right: 0;
  43. top: 0;
  44. bottom: 0;
  45. left: 0;
  46. color: #fff;
  47. font-size: 14px;
  48. background-color: rgba(0, 0, 0, 0.4);
  49. }
  50. .uni-file-picker__lists-box {
  51. position: relative;
  52. }
  53. .uni-file-picker__item {
  54. display: flex;
  55. align-items: center;
  56. padding: 8px 10px;
  57. padding-right: 5px;
  58. padding-left: 10px;
  59. }
  60. .files-border {
  61. border-top: 1px #eee solid;
  62. }
  63. .files__name {
  64. flex: 1;
  65. font-size: 14px;
  66. color: #666;
  67. margin-right: 25px;
  68. word-break: break-all;
  69. word-wrap: break-word;
  70. }
  71. .icon-files {
  72. position: static;
  73. background-color: initial;
  74. }
  75. .is-list-card {
  76. border: 1px #eee solid;
  77. margin-bottom: 5px;
  78. border-radius: 5px;
  79. box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.1);
  80. padding: 5px;
  81. }
  82. .files__image {
  83. width: 40px;
  84. height: 40px;
  85. margin-right: 10px;
  86. }
  87. .header-image {
  88. width: 100%;
  89. height: 100%;
  90. }
  91. .is-text-box {
  92. border: 1px #eee solid;
  93. border-radius: 5px;
  94. }
  95. .is-text-image {
  96. width: 25px;
  97. height: 25px;
  98. margin-left: 5px;
  99. }
  100. .rotate {
  101. position: absolute;
  102. -webkit-transform: rotate(90deg);
  103. transform: rotate(90deg);
  104. }
  105. .icon-del-box {
  106. display: flex;
  107. margin: auto 0;
  108. align-items: center;
  109. justify-content: center;
  110. position: absolute;
  111. top: 0px;
  112. bottom: 0;
  113. right: 5px;
  114. height: 26px;
  115. width: 26px;
  116. z-index: 2;
  117. -webkit-transform: rotate(-45deg);
  118. transform: rotate(-45deg);
  119. }
  120. .icon-del {
  121. width: 15px;
  122. height: 1px;
  123. background-color: #333;
  124. }