quasar-framework
Version:
Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase
86 lines (78 loc) • 2.07 kB
text/stylus
@keyframes webkit-autofill-on
to
background transparent
color $form-autofill
@keyframes webkit-autofill-off
to
background transparent
.q-input-target, .q-input-shadow
border 0
outline 0
padding 0
background transparent
line-height $input-control-size
font-size inherit
resize none
display flex
align-items center
color black
.q-input-target
&:-webkit-autofill
-webkit-animation-name webkit-autofill-on
-webkit-animation-fill-mode both
&.q-input-autofill:not(:-webkit-autofill)
-webkit-animation-name webkit-autofill-off
-webkit-animation-fill-mode both
&::-ms-clear, &::-ms-reveal
display none
width 0
height 0
&:invalid
box-shadow inherit
.q-input-target:before
content '|'
line-height $input-control-size
width 0
color transparent
input.q-input-target
width 100%
height $input-control-size
outline 0
display inline-block
-webkit-appearance none
.q-if
.q-input-target-placeholder
color $form-dark
.q-input-target
&::-webkit-input-placeholder /* Chrome/Opera/Safari */
color $form-dark
&::-moz-placeholder /* Firefox 19+ */
color $form-dark
&:-ms-input-placeholder /* IE 10+ */
color $form-dark
.q-if-dark
.q-input-target-placeholder
color #979797
.q-input-target
&::-webkit-input-placeholder /* Chrome/Opera/Safari */
color #979797
&::-moz-placeholder /* Firefox 19+ */
color #979797
&:-ms-input-placeholder /* IE 10+ */
color #979797
.q-if-inverted:not(.q-if-inverted-light)
.q-input-target-placeholder
color #ddd
.q-input-target
&::-webkit-input-placeholder /* Chrome/Opera/Safari */
color #ddd
&::-moz-placeholder /* Firefox 19+ */
color #ddd
&:-ms-input-placeholder /* IE 10+ */
color #ddd
.q-input-shadow
overflow hidden
visibility hidden
pointer-events none
height auto
width 100%