index.less 687 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @import (reference) './variable.less';
  2. @tabsPrefix: ant-tab-bar;
  3. @tabSize: 48 * @rpx;
  4. @textSize: 20 * @rpx;
  5. .@{tabsPrefix} {
  6. &-wrap {
  7. display: flex;
  8. align-items: center;
  9. background-color: @COLOR_CARD;
  10. }
  11. &-item {
  12. flex: 1;
  13. display: flex;
  14. flex-direction: column;
  15. align-items: center;
  16. justify-content: center;
  17. padding: 8 * @rpx 0;
  18. color: @COLOR_TEXT_SECONDARY;
  19. &-active {
  20. color: @COLOR_BRAND1;
  21. }
  22. }
  23. &-icon {
  24. max-width: @tabSize;
  25. max-height: @tabSize;
  26. font-size: @tabSize;
  27. }
  28. &-image {
  29. font-size: @tabSize;
  30. max-width: @tabSize;
  31. max-height: @tabSize;
  32. }
  33. &-text {
  34. font-size: @textSize;
  35. }
  36. }