quasar-framework
Version:
Simultaneously build desktop/mobile SPA websites & phone/tablet apps with VueJS
120 lines (103 loc) • 2.15 kB
text/stylus
.animate-spin
animation quasar-spin 2s infinite linear
.animate-blink
animation quasar-blink 1s steps(5, start) infinite
.animate-pop
animation quasar-pop .2s
.animate-scale
animation quasar-scale .2s
.animate-fade
animation quasar-fade .2s
@keyframes quasar-blink
to
visibility hidden
@keyframes quasar-spin
0%
transform rotate(0deg)
100%
transform rotate(359deg)
@keyframes quasar-pop
0%
opacity 0
transform scale(.7)
70%
opacity 1
transform scale(1.07)
100%
transform scale(1)
@keyframes quasar-fade
0%
opacity 0
100%
opacity 1
@keyframes quasar-scale
0%
opacity 0
transform scale(.7)
100%
opacity 1
transform scale(1)
.no-margin
margin 0 !important
.no-padding
padding 0 !important
.ellipsis
text-overflow ellipsis
white-space nowrap
overflow hidden
.disabled, [disabled]
opacity .6 !important
&, * // @stylint ignore
cursor not-allowed !important
.hidden
display none !important
.invisible
visibility hidden !important
.transparent
background transparent !important
.dimmed, .light-dimmed
&:after
content ''
position absolute
top 0
right 0
bottom 0
left 0
.dimmed:after
background $dimmed-background !important
.light-dimmed:after
background $light-dimmed-background !important
body
&.dimmed, &.light-dimmed
&:after
z-index $z-body-dimmed !important
.z-absolute
z-index $z-absolute !important
@keyframes quasar-highlight
0%
background $lime-6
100%
background transparent
.highlight-and-fade
animation quasar-highlight 2s
@keyframes quasar-rotate
0%
transform rotate(0)
25%
transform rotate(90deg)
50%
transform rotate(180deg)
75%
transform rotate(270deg)
100%
transform rotate(360deg)
for type in desktop mobile cordova ios mat touch no-touch within-iframe
body:not(.{type}) .{type}-only,
body.{type} .{type}-hide
display none !important
@media all and (orientation portrait)
.orientation-landscape
display none !important
@media all and (orientation landscape)
.orientation-portrait
display none !important