国外MOSE官网
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.

174 lines
3.6 KiB

4 days ago
  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. .uv-line-1 {
  28. display: -webkit-box !important;
  29. overflow: hidden;
  30. text-overflow: ellipsis;
  31. word-break: break-all;
  32. -webkit-line-clamp: 1;
  33. -webkit-box-orient: vertical !important;
  34. }
  35. .uv-line-2 {
  36. display: -webkit-box !important;
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. word-break: break-all;
  40. -webkit-line-clamp: 2;
  41. -webkit-box-orient: vertical !important;
  42. }
  43. .uv-line-3 {
  44. display: -webkit-box !important;
  45. overflow: hidden;
  46. text-overflow: ellipsis;
  47. word-break: break-all;
  48. -webkit-line-clamp: 3;
  49. -webkit-box-orient: vertical !important;
  50. }
  51. .uv-line-4 {
  52. display: -webkit-box !important;
  53. overflow: hidden;
  54. text-overflow: ellipsis;
  55. word-break: break-all;
  56. -webkit-line-clamp: 4;
  57. -webkit-box-orient: vertical !important;
  58. }
  59. .uv-line-5 {
  60. display: -webkit-box !important;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. word-break: break-all;
  64. -webkit-line-clamp: 5;
  65. -webkit-box-orient: vertical !important;
  66. }
  67. .uv-border {
  68. border-width: 0.5px !important;
  69. border-color: #dadbde !important;
  70. border-style: solid;
  71. }
  72. .uv-border-top {
  73. border-top-width: 0.5px !important;
  74. border-color: #dadbde !important;
  75. border-top-style: solid;
  76. }
  77. .uv-border-left {
  78. border-left-width: 0.5px !important;
  79. border-color: #dadbde !important;
  80. border-left-style: solid;
  81. }
  82. .uv-border-right {
  83. border-right-width: 0.5px !important;
  84. border-color: #dadbde !important;
  85. border-right-style: solid;
  86. }
  87. .uv-border-bottom {
  88. border-bottom-width: 0.5px !important;
  89. border-color: #dadbde !important;
  90. border-bottom-style: solid;
  91. }
  92. .uv-border-top-bottom {
  93. border-top-width: 0.5px !important;
  94. border-bottom-width: 0.5px !important;
  95. border-color: #dadbde !important;
  96. border-top-style: solid;
  97. border-bottom-style: solid;
  98. }
  99. .uv-reset-button {
  100. padding: 0;
  101. background-color: transparent;
  102. font-size: inherit;
  103. line-height: inherit;
  104. color: inherit;
  105. }
  106. .uv-reset-button::after {
  107. border: none;
  108. }
  109. .uv-hover-class {
  110. opacity: 0.7;
  111. }
  112. .uv-safe-area-inset-top {
  113. padding-top: 0;
  114. padding-top: constant(safe-area-inset-top);
  115. padding-top: env(safe-area-inset-top);
  116. }
  117. .uv-safe-area-inset-right {
  118. padding-right: 0;
  119. padding-right: constant(safe-area-inset-right);
  120. padding-right: env(safe-area-inset-right);
  121. }
  122. .uv-safe-area-inset-bottom {
  123. padding-bottom: 0;
  124. padding-bottom: constant(safe-area-inset-bottom);
  125. padding-bottom: env(safe-area-inset-bottom);
  126. }
  127. .uv-safe-area-inset-left {
  128. padding-left: 0;
  129. padding-left: constant(safe-area-inset-left);
  130. padding-left: env(safe-area-inset-left);
  131. }
  132. ::-webkit-scrollbar {
  133. display: none;
  134. width: 0 !important;
  135. height: 0 !important;
  136. -webkit-appearance: none;
  137. background: transparent;
  138. }