quasar
Version:
Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
38 lines (29 loc) • 690 B
text/stylus
.q-img
position: relative
width: $img-width
display: inline-block
vertical-align: middle
&__loading .q-spinner
font-size: $img-loading-font-size
border-radius: inherit
background-repeat: $img-background-repeat
overflow: hidden
border-radius: inherit
> div
position: $img-content-position
padding: $img-content-padding
color: $img-content-color
background: $img-content-background
&--menu
.q-img
pointer-events: none
> img
pointer-events: all
opacity: 0
pointer-events: none
> div
pointer-events: all