sun-tab.wxss 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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-tab.data-v-f9a426f6 {
  28. position: relative;
  29. display: -webkit-box;
  30. display: -webkit-flex;
  31. display: -ms-flexbox;
  32. display: flex;
  33. font-size: 14px;
  34. height: 44px;
  35. line-height: 44px;
  36. background-color: #fff;
  37. }
  38. .uni-tab .uni-tab-item.data-v-f9a426f6 {
  39. -webkit-box-flex: 1;
  40. -webkit-flex: 1;
  41. -ms-flex: 1;
  42. flex: 1;
  43. height: 100%;
  44. text-align: center;
  45. -webkit-box-sizing: border-box;
  46. box-sizing: border-box;
  47. overflow: hidden;
  48. }
  49. .uni-tab .uni-tab-scroll-item.data-v-f9a426f6 {
  50. -webkit-box-flex: 0;
  51. -webkit-flex: none;
  52. -ms-flex: none;
  53. flex: none;
  54. padding: 0px 12px;
  55. }
  56. .uni-tab .uni-tab-active.data-v-f9a426f6 {
  57. color: #1e9fff;
  58. }
  59. .uni-tab .uni-tab-scroll-active.data-v-f9a426f6 {
  60. border-bottom: 3px solid #1e9fff;
  61. }
  62. .uni-tab .uni-tab-bar.data-v-f9a426f6 {
  63. display: block;
  64. height: 3px;
  65. position: absolute;
  66. bottom: 0;
  67. border-bottom: 3px solid #1e9fff;
  68. }
  69. .uni-tab .uni-tab-bar-forward.data-v-f9a426f6 {
  70. -webkit-transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s;
  71. -o-transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s;
  72. transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s;
  73. }
  74. .uni-tab .uni-tab-bar-backward.data-v-f9a426f6 {
  75. -webkit-transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s, left 0.3s cubic-bezier(0.35, 0, 0.25, 1);
  76. -o-transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s, left 0.3s cubic-bezier(0.35, 0, 0.25, 1);
  77. transition: right 0.3s cubic-bezier(0.35, 0, 0.25, 1) 0.09s, left 0.3s cubic-bezier(0.35, 0, 0.25, 1);
  78. }
  79. .uni-scroll-tab.data-v-f9a426f6 {
  80. overflow-x: scroll;
  81. }