VPicker.sass 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @use '../../styles/tools'
  2. .v-picker.v-sheet
  3. @include tools.elevation(2)
  4. @include tools.rounded(4px)
  5. display: grid
  6. grid-auto-rows: min-content
  7. grid-template-areas: "title" "header" "body"
  8. overflow: hidden
  9. &.v-picker--with-actions
  10. grid-template-areas: "title" "header" "body" "actions"
  11. .v-picker__body
  12. grid-area: body
  13. .v-picker__header
  14. grid-area: header
  15. .v-picker__actions
  16. grid-area: actions
  17. padding: 0 12px 12px 12px
  18. display: flex
  19. align-items: center
  20. justify-content: flex-end
  21. .v-btn
  22. padding-inline-start: 8px
  23. padding-inline-end: 8px
  24. min-width: 48px
  25. &:not(:last-child)
  26. margin-inline-end: 8px
  27. .v-picker--landscape
  28. grid-template-areas: "title" "header body" "header body"
  29. .v-picker--landscape.v-picker--with-actions
  30. grid-template-areas: "title" "header body" "header actions"
  31. .v-picker-title
  32. text-transform: uppercase
  33. font-size: .75rem
  34. grid-area: title
  35. color: rgb(var(--v-theme-on-surface), var(--v-disabled-opacity))
  36. padding-inline-start: 24px
  37. padding-inline-end: 12px
  38. padding-top: 16px
  39. padding-bottom: 16px
  40. font-weight: 600
  41. letter-spacing: .1666666667em