UNPKG

vuetify

Version:

Vue Material Component Framework

81 lines 1.89 kB
@layer vuetify-components { .v-otp-input { align-items: center; display: flex; justify-content: center; padding: 0.5rem 0; position: relative; } .v-otp-input { border-radius: 4px; } .v-otp-input .v-field { height: 100%; } .v-otp-input .v-field .v-field__outline__start, .v-otp-input .v-field .v-field__outline__end { flex: 1; } .v-otp-input .v-field input::placeholder { color: currentColor; opacity: var(--v-disabled-opacity); } .v-otp-input .v-field.v-field--focused input::placeholder { opacity: 0; } .v-otp-input__divider { margin: 0 8px; } .v-otp-input__content { align-items: center; display: flex; gap: 0.5rem; padding: 0.5rem; justify-content: center; max-width: 320px; position: relative; border-radius: inherit; } .v-otp-input--divided .v-otp-input__content { max-width: 360px; } .v-otp-input--density-default .v-otp-input__content { height: 64px; } .v-otp-input--density-comfortable .v-otp-input__content { height: 60px; } .v-otp-input--density-compact .v-otp-input__content { height: 56px; } .v-otp-input__field { padding: 0; margin: 0; border-radius: 0; font: inherit; border-style: none; color: inherit; background-color: transparent; font-size: 1.25rem; height: 100%; outline: none; text-align: center; width: 100%; } .v-otp-input__field[type=number]::-webkit-outer-spin-button, .v-otp-input__field[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .v-otp-input__field[type=number] { -moz-appearance: textfield; } .v-otp-input__loader { align-items: center; display: flex; height: 100%; justify-content: center; width: 100%; } .v-otp-input__loader .v-progress-linear { position: absolute; } }