impress/app/stylesheets/closet_hangers/_index.sass

97 lines
1.9 KiB
Sass
Raw Normal View History

@import "partials/context_button"
@import "partials/icon"
2011-07-12 21:25:14 -07:00
body.closet_hangers-index
#title
float: left
2011-07-15 14:21:18 -07:00
margin-bottom: .5em
.flash
clear: both
2011-07-12 21:25:14 -07:00
#import-link, #closet-hangers-items-search
margin-top: .75em
2011-07-12 21:25:14 -07:00
#import-link
+awesome-button
+loud-awesome-button-color
margin-left: 2em
#closet-hangers-items-search
float: right
input[type=search]
&.loading
background:
image: url(/images/loading.gif)
position: 2px center
repeat: no-repeat
padding-left: $icon-width + 4px
2011-07-12 21:25:14 -07:00
#closet-hangers
clear: both
text-align: center
2011-07-15 14:21:18 -07:00
.object
.quantity
+opacity(.75)
background: white
padding: 2px 4px
position: absolute
left: ($object-width - $object-img-size) / 2 + $object-padding
line-height: 1
2011-07-15 14:21:18 -07:00
text-align: left
top: $object-img-size - 20px
2011-07-15 14:21:18 -07:00
span, input[type=number]
font-size: 16px
font-weight: bold
form
display: none
&.current-user
.object:hover
form
display: inline
2011-07-15 14:21:18 -07:00
.closet-hanger-destroy
position: absolute
right: ($object-width - $object-img-size) / 2 + $object-padding
top: 0
input
+context-button
.quantity
+opacity(1)
background: transparent
top: $object-img-size - 24px
padding: 0
span
display: none
input[type=number]
padding: 2px
width: 2em
input[type=submit]
font-size: 85%
&.js
.object:hover .quantity
input[type=number]
width: 2.5em
2011-07-15 14:21:18 -07:00
input[type=submit]
display: none
.object.loading
background: $module-bg-color
outline: 1px solid $module-border-color
.quantity span:after
content: ""
2011-07-15 13:59:15 -07:00