VBottomSheet.sass 966 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @use 'sass:map'
  2. @use '../../styles/settings'
  3. @use '../../styles/tools'
  4. @use './variables' as *
  5. // Transition
  6. @include tools.layer('transitions')
  7. .bottom-sheet-transition
  8. &-enter-from
  9. transform: translateY(100%)
  10. &-leave-to
  11. transform: translateY(100%)
  12. // Block
  13. @include tools.layer('components')
  14. .v-bottom-sheet
  15. > .v-bottom-sheet__content.v-overlay__content
  16. align-self: flex-end
  17. border-radius: 0
  18. flex: 0 1 auto
  19. left: 0
  20. right: 0
  21. margin-inline: 0
  22. margin-bottom: 0
  23. transition-duration: $bottom-sheet-transition-duration
  24. width: 100%
  25. max-width: 100%
  26. overflow: visible
  27. @include tools.elevation($bottom-sheet-elevation)
  28. > .v-card,
  29. > .v-sheet
  30. border-radius: $bottom-sheet-border-radius
  31. &.v-bottom-sheet--inset
  32. max-width: none
  33. @media #{map.get(settings.$display-breakpoints, 'sm-and-up')}
  34. max-width: $bottom-sheet-inset-width