u-tabs-swiper.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. view.data-v-9c8ef540,
  28. scroll-view.data-v-9c8ef540 {
  29. box-sizing: border-box;
  30. }
  31. .u-tabs.data-v-9c8ef540 {
  32. width: 100%;
  33. transition-property: background-color, color;
  34. }
  35. .data-v-9c8ef540::-webkit-scrollbar,.data-v-9c8ef540::-webkit-scrollbar,.data-v-9c8ef540::-webkit-scrollbar {
  36. display: none;
  37. width: 0 !important;
  38. height: 0 !important;
  39. -webkit-appearance: none;
  40. background: transparent;
  41. }
  42. .u-scroll-view.data-v-9c8ef540 {
  43. width: 100%;
  44. white-space: nowrap;
  45. position: relative;
  46. }
  47. .u-tabs-scroll-box.data-v-9c8ef540 {
  48. position: relative;
  49. }
  50. .u-tabs-scorll-flex.data-v-9c8ef540 {
  51. display: flex;
  52. flex-direction: row;
  53. justify-content: space-between;
  54. }
  55. .u-tabs-scorll-flex .u-tabs-item.data-v-9c8ef540 {
  56. flex: 1;
  57. }
  58. .u-tabs-item.data-v-9c8ef540 {
  59. position: relative;
  60. display: inline-block;
  61. text-align: center;
  62. transition-property: background-color, color, font-weight;
  63. }
  64. .content.data-v-9c8ef540 {
  65. overflow: hidden;
  66. white-space: nowrap;
  67. text-overflow: ellipsis;
  68. }
  69. .boxStyle.data-v-9c8ef540 {
  70. pointer-events: none;
  71. position: absolute;
  72. transition-property: all;
  73. }
  74. .boxStyle2.data-v-9c8ef540 {
  75. pointer-events: none;
  76. position: absolute;
  77. bottom: 0;
  78. transition-property: all;
  79. -webkit-transform: translateY(-100%);
  80. transform: translateY(-100%);
  81. }
  82. .itemBackgroundBox.data-v-9c8ef540 {
  83. pointer-events: none;
  84. position: absolute;
  85. top: 0;
  86. transition-property: left, background-color;
  87. display: flex;
  88. flex-direction: row;
  89. flex-direction: row;
  90. justify-content: center;
  91. align-items: center;
  92. }
  93. .itemBackground.data-v-9c8ef540 {
  94. height: 100%;
  95. width: 100%;
  96. transition-property: all;
  97. }
  98. .u-scroll-bar.data-v-9c8ef540 {
  99. position: absolute;
  100. bottom: 4rpx;
  101. }