VBottomNavigation.sass 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @use '../../styles/tools'
  2. @use './variables' as *
  3. .v-bottom-navigation
  4. display: flex
  5. max-width: 100%
  6. overflow: hidden
  7. position: absolute
  8. transition: $bottom-navigation-transition
  9. @include tools.border($bottom-navigation-border...)
  10. @include tools.rounded($bottom-navigation-border-radius)
  11. @include tools.theme($bottom-navigation-theme...)
  12. &--active
  13. @include tools.elevation($bottom-navigation-elevation)
  14. .v-bottom-navigation__content
  15. display: flex
  16. flex: none
  17. font-size: $bottom-navigation-content-font-size
  18. justify-content: center
  19. transition: inherit
  20. width: 100%
  21. .v-bottom-navigation &
  22. > .v-btn
  23. font-size: inherit
  24. height: $bottom-navigation-height
  25. max-width: $bottom-navigation-max-width
  26. min-width: $bottom-navigation-min-width
  27. text-transform: $bottom-navigation-text-transform
  28. transition: inherit
  29. width: auto
  30. @include tools.rounded(0)
  31. .v-btn__content,
  32. .v-btn__icon
  33. transition: inherit
  34. .v-btn__icon
  35. font-size: $bottom-navigation-icon-font-size
  36. .v-bottom-navigation--grow &
  37. > .v-btn
  38. flex-grow: 1
  39. .v-bottom-navigation--shift &
  40. .v-btn
  41. &:not(.v-btn--selected)
  42. .v-btn__content > span
  43. opacity: 0
  44. .v-btn__content
  45. transform: $bottom-navigation-shift-icon-transform