impress/app/assets/stylesheets/outfits/_star.sass

26 lines
508 B
Sass
Raw Permalink Normal View History

2011-07-02 12:51:30 -07:00
@import "partials/icon"
=outfit-star
.outfit-star
+icon
background:
image: image-url("unstarred.png")
position: left top
repeat: no-repeat
cursor: pointer
display: block
float: left
margin-right: $icon-width / 2
&.starred .outfit-star
background-image: image-url("star.png")
&.loading .outfit-star
background-image: image-url("loading.gif")
=outfit-star-shifted
+outfit-star
.outfit-star
margin-left: -$icon-width * 1.5
margin-right: 0