VStepperItem.sass 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @use '../../styles/settings'
  2. @use './variables' as *
  3. .v-stepper-item
  4. align-items: center
  5. align-self: stretch
  6. display: inline-flex
  7. flex: none
  8. opacity: var(--v-medium-emphasis-opacity)
  9. padding: 1.5rem
  10. transition-duration: .2s
  11. transition-property: opacity
  12. transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)
  13. &--selected
  14. opacity: 1
  15. &--error
  16. color: rgb(var(--v-theme-error))
  17. &--disabled
  18. opacity: var(--v-medium-emphasis-opacity)
  19. pointer-events: none
  20. .v-stepper--alt-labels &
  21. flex-direction: column
  22. justify-content: flex-start
  23. align-items: center
  24. flex-basis: $stepper-alt-labels-flex-basis
  25. .v-stepper-item__avatar.v-avatar
  26. background: rgba(var(--v-theme-surface-variant), var(--v-medium-emphasis-opacity))
  27. color: rgb(var(--v-theme-on-surface-variant))
  28. font-size: .75rem
  29. margin-inline-end: 8px
  30. .v-icon
  31. font-size: .875rem
  32. .v-stepper-item--selected &,
  33. .v-stepper-item--complete &
  34. background: rgb(var(--v-theme-surface-variant))
  35. .v-stepper-item--error &
  36. background: rgb(var(--v-theme-error))
  37. .v-stepper--alt-labels &
  38. margin-bottom: 16px
  39. margin-inline-end: 0
  40. .v-stepper-item__content
  41. .v-stepper--alt-labels &
  42. // min-height: 28px
  43. .v-stepper-item__title
  44. line-height: 1
  45. .v-stepper--mobile &
  46. display: none
  47. .v-stepper-item__subtitle
  48. font-size: .75rem
  49. text-align: left
  50. line-height: 1
  51. opacity: var(--v-medium-emphasis-opacity)
  52. .v-stepper--alt-labels &
  53. text-align: center
  54. .v-stepper--mobile &
  55. display: none