您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

45 行
1.0 KiB

  1. @import '../colors';
  2. ion-tab-bar {
  3. --background: transparent;
  4. background: linear-gradient(to right, darken($brand-blue, 10%), $brand-blue);
  5. --border: none;
  6. margin-top: -2px;
  7. box-shadow: 0px 0px 15px -2px darken($brand-blue, 20%);
  8. ion-tab-button {
  9. ion-icon {
  10. font-size: 25px;
  11. &:nth-child(1) {
  12. display: block;
  13. color: lighten($brand-blue, 30%);
  14. }
  15. &:nth-child(2) {
  16. display: none;
  17. }
  18. }
  19. &.tab-selected {
  20. ion-icon {
  21. &:nth-child(2) {
  22. display: block;
  23. color: lighten($green, 10%);
  24. }
  25. &:nth-child(1) {
  26. display: none;
  27. }
  28. }
  29. }
  30. &:nth-child(2) {
  31. ion-icon {
  32. font-size: 30px;
  33. border-radius: 50%;
  34. overflow: hidden;
  35. }
  36. }
  37. }
  38. }