uni-swiper-dot.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. .uni-swiper__warp.data-v-0667e3db {
  27. display: flex;
  28. flex: 1;
  29. flex-direction: column;
  30. position: relative;
  31. overflow: hidden;
  32. }
  33. .uni-swiper__dots-box.data-v-0667e3db {
  34. position: absolute;
  35. bottom: 10px;
  36. left: 0;
  37. right: 0;
  38. display: flex;
  39. flex: 1;
  40. flex-direction: row;
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .uni-swiper__dots-item.data-v-0667e3db {
  45. width: 8px;
  46. border-radius: 100px;
  47. margin-left: 6px;
  48. background-color: rgba(0, 0, 0, 0.4);
  49. cursor: pointer;
  50. }
  51. .uni-swiper__dots-item.data-v-0667e3db:first-child {
  52. margin: 0;
  53. }
  54. .uni-swiper__dots-default.data-v-0667e3db {
  55. border-radius: 100px;
  56. }
  57. .uni-swiper__dots-long.data-v-0667e3db {
  58. border-radius: 50px;
  59. }
  60. .uni-swiper__dots-bar.data-v-0667e3db {
  61. border-radius: 50px;
  62. }
  63. .uni-swiper__dots-nav.data-v-0667e3db {
  64. bottom: 0px;
  65. padding: 8px 0;
  66. display: flex;
  67. flex: 1;
  68. flex-direction: row;
  69. justify-content: flex-start;
  70. align-items: center;
  71. background-color: rgba(0, 0, 0, 0.2);
  72. }
  73. .uni-swiper__dots-nav-item.data-v-0667e3db {
  74. /* overflow: hidden;
  75. text-overflow: ellipsis;
  76. white-space: nowrap; */
  77. font-size: 14px;
  78. color: #fff;
  79. margin: 0 15px;
  80. }
  81. .uni-swiper__dots-indexes.data-v-0667e3db {
  82. display: flex;
  83. justify-content: center;
  84. align-items: center;
  85. }
  86. .uni-swiper__dots-indexes-text.data-v-0667e3db {
  87. color: #fff;
  88. font-size: 12px;
  89. line-height: 14px;
  90. }