38 строки
1.2 KiB
Stylus
38 строки
1.2 KiB
Stylus
|
sprite_account-x = -2px
|
||
|
sprite_account-y = -2px
|
||
|
sprite_account-width = 24px
|
||
|
sprite_account-height = 24px
|
||
|
sprite_account = sprite_account-x sprite_account-y sprite_account-width sprite_account-height
|
||
|
sprite_calendar-x = -30px
|
||
|
sprite_calendar-y = -2px
|
||
|
sprite_calendar-width = 24px
|
||
|
sprite_calendar-height = 24px
|
||
|
sprite_calendar = sprite_calendar-x sprite_calendar-y sprite_calendar-width sprite_calendar-height
|
||
|
sprite_email-x = -2px
|
||
|
sprite_email-y = -30px
|
||
|
sprite_email-width = 24px
|
||
|
sprite_email-height = 24px
|
||
|
sprite_email = sprite_email-x sprite_email-y sprite_email-width sprite_email-height
|
||
|
sprite_web-x = -30px
|
||
|
sprite_web-y = -30px
|
||
|
sprite_web-width = 24px
|
||
|
sprite_web-height = 24px
|
||
|
sprite_web = sprite_web-x sprite_web-y sprite_web-width sprite_web-height
|
||
|
|
||
|
sprite_sprite-image()
|
||
|
background-image url('/image/sprite.png')
|
||
|
sprite_sprite-size()
|
||
|
background-size 56px 56px
|
||
|
sprite_sprite-position($sprite)
|
||
|
background-position $sprite[0] $sprite[1]
|
||
|
sprite_sprite-width($sprite)
|
||
|
width $sprite[2]
|
||
|
sprite_sprite-height($sprite)
|
||
|
height $sprite[3]
|
||
|
sprite_sprite($sprite)
|
||
|
sprite_sprite-image()
|
||
|
sprite_sprite-size()
|
||
|
sprite_sprite-position($sprite)
|
||
|
sprite_sprite-width($sprite)
|
||
|
sprite_sprite-height($sprite)
|