VOtpInput.sass 744 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Imports
  2. @import './_variables.scss'
  3. // Theme
  4. +theme(v-otp-input) using ($material)
  5. .v-input
  6. .v-input__control
  7. .v-input__slot
  8. background: map-get($material, 'bg-color')
  9. .v-otp-input
  10. display: flex
  11. flex-wrap: wrap
  12. flex: 1 1 auto
  13. margin-right: -$otp-gutter
  14. margin-left: -$otp-gutter
  15. input
  16. text-align: center
  17. .v-input
  18. margin: 0
  19. flex: 1 0 $otp-width + $otp-gutter * 2
  20. max-width: 100%
  21. width: 100%
  22. padding: $otp-gutter
  23. &.v-otp-input--plain
  24. fieldset
  25. display: none
  26. input[type=number]::-webkit-outer-spin-button,
  27. input[type=number]::-webkit-inner-spin-button
  28. -webkit-appearance: none
  29. margin: 0
  30. input[type=number]
  31. -moz-appearance: textfield