u-tabs.wxss 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. view.data-v-0546c3e4, scroll-view.data-v-0546c3e4, swiper-item.data-v-0546c3e4 {
  27. display: flex;
  28. flex-direction: column;
  29. flex-shrink: 0;
  30. flex-grow: 0;
  31. flex-basis: auto;
  32. align-items: stretch;
  33. align-content: flex-start;
  34. }
  35. .u-tabs__wrapper.data-v-0546c3e4 {
  36. display: flex;
  37. flex-direction: row;
  38. align-items: center;
  39. }
  40. .u-tabs__wrapper__scroll-view-wrapper.data-v-0546c3e4 {
  41. flex: 1;
  42. overflow: auto hidden;
  43. }
  44. .u-tabs__wrapper__scroll-view.data-v-0546c3e4 {
  45. display: flex;
  46. flex-direction: row;
  47. flex: 1;
  48. }
  49. .u-tabs__wrapper__nav.data-v-0546c3e4 {
  50. display: flex;
  51. flex-direction: row;
  52. position: relative;
  53. }
  54. .u-tabs__wrapper__nav__item.data-v-0546c3e4 {
  55. padding: 0 11px;
  56. display: flex;
  57. flex-direction: row;
  58. align-items: center;
  59. justify-content: center;
  60. }
  61. .u-tabs__wrapper__nav__item--disabled.data-v-0546c3e4 {
  62. cursor: not-allowed;
  63. }
  64. .u-tabs__wrapper__nav__item__text.data-v-0546c3e4 {
  65. font-size: 15px;
  66. color: #606266;
  67. }
  68. .u-tabs__wrapper__nav__item__text--disabled.data-v-0546c3e4 {
  69. color: #c8c9cc !important;
  70. }
  71. .u-tabs__wrapper__nav__line.data-v-0546c3e4 {
  72. height: 3px;
  73. background: #3c9cff;
  74. width: 30px;
  75. position: absolute;
  76. bottom: 2px;
  77. border-radius: 100px;
  78. transition-property: transform;
  79. transition-duration: 300ms;
  80. }