index.scss 980 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @import '../common/abstracts/variable';
  2. @import '../common/abstracts/mixin';
  3. .wot-theme-dark {
  4. @include b(tabbar-item) {
  5. @include e(body) {
  6. :deep(){
  7. @include when(inactive) {
  8. color: $-dark-color-gray;
  9. }
  10. }
  11. }
  12. }
  13. }
  14. @include b(tabbar-item) {
  15. flex: 1;
  16. text-align: center;
  17. text-decoration: none;
  18. height: 100%;
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. @include e(body) {
  23. display: flex;
  24. align-items: center;
  25. flex-direction: column;
  26. line-height: 1;
  27. padding: 0;
  28. position: relative;
  29. :deep(){
  30. @include when(active) {
  31. color: $-tabbar-active-color;
  32. }
  33. @include when(inactive) {
  34. color: $-tabbar-inactive-color;
  35. }
  36. }
  37. }
  38. @include e(body-title) {
  39. font-size: $-tabbar-item-title-font-size;
  40. line-height: $-tabbar-item-title-line-height;
  41. }
  42. @include edeep(body-icon) {
  43. font-size: $-tabbar-item-icon-size;
  44. }
  45. }