quasar-framework
Version:
Simultaneously build desktop/mobile SPA websites & phone/tablet apps with VueJS
90 lines (80 loc) • 2.06 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
min-height 18px
font-size inherit
overflow hidden
resize none
display flex
align-items center
color black
&:-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
input.q-input-target
height 19px
outline 0
.q-input-chips
min-height 36px
.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
&::selection
background black
color white
.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
&::selection
background white
color black
.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
&::selection
background white
color black
.q-input-shadow
overflow hidden
visibility hidden
pointer-events none
height auto