privacy dropdowns moved to be more out of the way
This commit is contained in:
parent
0e522fa371
commit
34a4ef201a
6 changed files with 135 additions and 70 deletions
|
@ -19,10 +19,18 @@ module ClosetHangersHelper
|
||||||
|
|
||||||
def hangers_group_visibility_choices(owned)
|
def hangers_group_visibility_choices(owned)
|
||||||
ClosetVisibility.levels.map do |level|
|
ClosetVisibility.levels.map do |level|
|
||||||
[level.description("these items"), level.id]
|
[level.name.to_s.humanize, level.id]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def closet_visibility_descriptions
|
||||||
|
content = ''
|
||||||
|
ClosetVisibility.levels.each do |level|
|
||||||
|
content << content_tag(:li, level.description('these items'), 'data-id' => level.id)
|
||||||
|
end
|
||||||
|
content_tag :ul, content.html_safe, :class => 'visibility-descriptions'
|
||||||
|
end
|
||||||
|
|
||||||
# Do we have either unlisted hangers that are owned/wanted, or non-empty
|
# Do we have either unlisted hangers that are owned/wanted, or non-empty
|
||||||
# owned/wanted lists?
|
# owned/wanted lists?
|
||||||
def has_hangers?(owned)
|
def has_hangers?(owned)
|
||||||
|
|
|
@ -31,7 +31,7 @@ module ClosetVisibility
|
||||||
),
|
),
|
||||||
Level.new(
|
Level.new(
|
||||||
:id => 2,
|
:id => 2,
|
||||||
:name => :advertised,
|
:name => :trading,
|
||||||
:description => "$SUBJECT will be publicly listed for trades"
|
:description => "$SUBJECT will be publicly listed for trades"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
|
@ -144,12 +144,15 @@ body.closet_hangers-index
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
.visibility-form
|
.visibility-form
|
||||||
+inline-block
|
font-size: 85%
|
||||||
margin: 0 auto 1em
|
left: .5em
|
||||||
position: relative
|
position: absolute
|
||||||
|
text-align: left
|
||||||
|
top: .25em
|
||||||
|
z-index: 10
|
||||||
|
|
||||||
input, select
|
input, select
|
||||||
font-size: 85%
|
font-size: inherit
|
||||||
margin:
|
margin:
|
||||||
bottom: 0
|
bottom: 0
|
||||||
top: 0
|
top: 0
|
||||||
|
@ -158,14 +161,25 @@ body.closet_hangers-index
|
||||||
border-color: $background-color
|
border-color: $background-color
|
||||||
|
|
||||||
input[type=submit]
|
input[type=submit]
|
||||||
left: 100%
|
|
||||||
position: absolute
|
|
||||||
top: 0
|
|
||||||
visibility: hidden
|
visibility: hidden
|
||||||
|
|
||||||
&:active
|
&:active
|
||||||
top: 1px
|
top: 1px
|
||||||
|
|
||||||
|
.visibility-descriptions
|
||||||
|
+opacity(.75)
|
||||||
|
background: $background-color
|
||||||
|
font-style: italic
|
||||||
|
list-style: none
|
||||||
|
padding: 0 .5em
|
||||||
|
|
||||||
|
li
|
||||||
|
display: none
|
||||||
|
|
||||||
|
&:hover
|
||||||
|
.visibility-descriptions li.current
|
||||||
|
display: block
|
||||||
|
|
||||||
header
|
header
|
||||||
display: block
|
display: block
|
||||||
position: relative
|
position: relative
|
||||||
|
@ -174,7 +188,8 @@ body.closet_hangers-index
|
||||||
+header-text
|
+header-text
|
||||||
font-size: 150%
|
font-size: 150%
|
||||||
line-height: 1
|
line-height: 1
|
||||||
margin: 0 auto
|
margin: 0 auto .67em
|
||||||
|
width: 50%
|
||||||
|
|
||||||
.empty-list
|
.empty-list
|
||||||
display: none
|
display: none
|
||||||
|
|
|
@ -68,15 +68,16 @@
|
||||||
.closet-hangers-group-content
|
.closet-hangers-group-content
|
||||||
= render_closet_lists(@closet_lists_by_owned[owned])
|
= render_closet_lists(@closet_lists_by_owned[owned])
|
||||||
.closet-list.unlisted{'data-hangers-count' => unlisted_hangers_count(owned)}
|
.closet-list.unlisted{'data-hangers-count' => unlisted_hangers_count(owned)}
|
||||||
- if has_lists?(owned)
|
|
||||||
%header
|
%header
|
||||||
%h4 (Not in a list)
|
|
||||||
.closet-list-content
|
|
||||||
- unless public_perspective?
|
- unless public_perspective?
|
||||||
= form_for @user, :html => {:class => 'visibility-form'} do |f|
|
= form_for @user, :html => {:class => 'visibility-form'} do |f|
|
||||||
= f.select hangers_group_visibility_field_name(owned),
|
= f.select hangers_group_visibility_field_name(owned),
|
||||||
hangers_group_visibility_choices(owned)
|
hangers_group_visibility_choices(owned)
|
||||||
= f.submit "Save"
|
= f.submit "Save"
|
||||||
|
= closet_visibility_descriptions
|
||||||
|
- if has_lists?(owned)
|
||||||
|
%h4 (Not in a list)
|
||||||
|
.closet-list-content
|
||||||
.closet-list-hangers
|
.closet-list-hangers
|
||||||
= render_unlisted_closet_hangers(owned)
|
= render_unlisted_closet_hangers(owned)
|
||||||
%span.empty-list
|
%span.empty-list
|
||||||
|
|
|
@ -429,7 +429,9 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
Closet list droppable
|
Closet list droppable
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
onHangersInit(function () {
|
onHangersInit(function () {
|
||||||
|
@ -454,7 +456,31 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
|
Visibility Descriptions
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
function updateVisibilityDescription() {
|
||||||
|
var descriptions = $(this).closest('.visibility-form').
|
||||||
|
find('ul.visibility-descriptions');
|
||||||
|
|
||||||
|
descriptions.children('li.current').removeClass('current');
|
||||||
|
descriptions.children('li[data-id=' + $(this).val() + ']').addClass('current');
|
||||||
|
}
|
||||||
|
|
||||||
|
function visibilitySelects() { return $('form.visibility-form select') }
|
||||||
|
|
||||||
|
visibilitySelects().live('change', updateVisibilityDescription);
|
||||||
|
|
||||||
|
onHangersInit(function () {
|
||||||
|
visibilitySelects().each(updateVisibilityDescription);
|
||||||
|
});
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
Initialize
|
Initialize
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
hangersInit();
|
hangersInit();
|
||||||
|
|
|
@ -795,30 +795,25 @@ body.closet_hangers-index .closet-list {
|
||||||
}
|
}
|
||||||
/* line 146, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 146, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .visibility-form {
|
body.closet_hangers-index .closet-list .visibility-form {
|
||||||
display: -moz-inline-box;
|
|
||||||
-moz-box-orient: vertical;
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
*display: inline;
|
|
||||||
*vertical-align: auto;
|
|
||||||
margin: 0 auto 1em;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
/* line 151, ../../../app/stylesheets/closet_hangers/_index.sass */
|
|
||||||
body.closet_hangers-index .closet-list .visibility-form input, body.closet_hangers-index .closet-list .visibility-form select {
|
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
|
left: 0.5em;
|
||||||
|
position: absolute;
|
||||||
|
text-align: left;
|
||||||
|
top: 0.25em;
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
/* line 154, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
|
body.closet_hangers-index .closet-list .visibility-form input, body.closet_hangers-index .closet-list .visibility-form select {
|
||||||
|
font-size: inherit;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
/* line 157, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 160, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .visibility-form select {
|
body.closet_hangers-index .closet-list .visibility-form select {
|
||||||
border-color: white;
|
border-color: white;
|
||||||
}
|
}
|
||||||
/* line 160, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 163, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .visibility-form input[type=submit] {
|
body.closet_hangers-index .closet-list .visibility-form input[type=submit] {
|
||||||
left: 100%;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
/* line 166, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 166, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
|
@ -826,30 +821,50 @@ body.closet_hangers-index .closet-list .visibility-form input[type=submit]:activ
|
||||||
top: 1px;
|
top: 1px;
|
||||||
}
|
}
|
||||||
/* line 169, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 169, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
|
body.closet_hangers-index .closet-list .visibility-form .visibility-descriptions {
|
||||||
|
-moz-opacity: 0.75;
|
||||||
|
-webkit-opacity: 0.75;
|
||||||
|
-o-opacity: 0.75;
|
||||||
|
-khtml-opacity: 0.75;
|
||||||
|
background: white;
|
||||||
|
font-style: italic;
|
||||||
|
list-style: none;
|
||||||
|
padding: 0 0.5em;
|
||||||
|
}
|
||||||
|
/* line 176, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
|
body.closet_hangers-index .closet-list .visibility-form .visibility-descriptions li {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
/* line 180, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
|
body.closet_hangers-index .closet-list .visibility-form:hover .visibility-descriptions li.current {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
/* line 183, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list header {
|
body.closet_hangers-index .closet-list header {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
/* line 173, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 187, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list h4 {
|
body.closet_hangers-index .closet-list h4 {
|
||||||
font-family: Delicious, Helvetica, Arial, Verdana, sans-serif;
|
font-family: Delicious, Helvetica, Arial, Verdana, sans-serif;
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
margin: 0 auto;
|
margin: 0 auto 0.67em;
|
||||||
|
width: 50%;
|
||||||
}
|
}
|
||||||
/* line 179, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 194, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .empty-list {
|
body.closet_hangers-index .closet-list .empty-list {
|
||||||
display: none;
|
display: none;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
/* line 183, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 198, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .closet-list-controls {
|
body.closet_hangers-index .closet-list .closet-list-controls {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
/* line 189, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 204, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .closet-list-controls a, body.closet_hangers-index .closet-list .closet-list-controls input[type=submit] {
|
body.closet_hangers-index .closet-list .closet-list-controls a, body.closet_hangers-index .closet-list .closet-list-controls input[type=submit] {
|
||||||
/* http://www.zurb.com/blog_uploads/0000/0617/buttons-03.html */
|
/* http://www.zurb.com/blog_uploads/0000/0617/buttons-03.html */
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
|
@ -890,36 +905,36 @@ body.closet_hangers-index .closet-list .closet-list-controls a:active, body.clos
|
||||||
body.closet_hangers-index .closet-list .closet-list-controls a:hover, body.closet_hangers-index .closet-list .closet-list-controls input[type=submit]:hover {
|
body.closet_hangers-index .closet-list .closet-list-controls a:hover, body.closet_hangers-index .closet-list .closet-list-controls input[type=submit]:hover {
|
||||||
background-color: #999999;
|
background-color: #999999;
|
||||||
}
|
}
|
||||||
/* line 192, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 207, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list .closet-list-controls form {
|
body.closet_hangers-index .closet-list .closet-list-controls form {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
/* line 196, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 211, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list[data-hangers-count="0"] .empty-list {
|
body.closet_hangers-index .closet-list[data-hangers-count="0"] .empty-list {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 200, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 215, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.unlisted h4 {
|
body.closet_hangers-index .closet-list.unlisted h4 {
|
||||||
font-size: 125%;
|
font-size: 125%;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
/* line 206, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 221, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list:hover .closet-list-controls {
|
body.closet_hangers-index .closet-list:hover .closet-list-controls {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 210, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 225, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list:hover .visibility-form input[type=submit] {
|
body.closet_hangers-index .closet-list:hover .visibility-form input[type=submit] {
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
}
|
}
|
||||||
/* line 213, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 228, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list:hover .visibility-form select {
|
body.closet_hangers-index .closet-list:hover .visibility-form select {
|
||||||
border-color: #aaddaa;
|
border-color: #aaddaa;
|
||||||
}
|
}
|
||||||
/* line 216, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 231, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list:last-child {
|
body.closet_hangers-index .closet-list:last-child {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
/* line 219, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 234, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.droppable-active {
|
body.closet_hangers-index .closet-list.droppable-active {
|
||||||
-moz-border-radius: 1em;
|
-moz-border-radius: 1em;
|
||||||
-webkit-border-radius: 1em;
|
-webkit-border-radius: 1em;
|
||||||
|
@ -930,49 +945,49 @@ body.closet_hangers-index .closet-list.droppable-active {
|
||||||
border-style: dotted;
|
border-style: dotted;
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
/* line 226, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 241, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.droppable-active .object {
|
body.closet_hangers-index .closet-list.droppable-active .object {
|
||||||
-moz-opacity: 0.25;
|
-moz-opacity: 0.25;
|
||||||
-webkit-opacity: 0.25;
|
-webkit-opacity: 0.25;
|
||||||
-o-opacity: 0.25;
|
-o-opacity: 0.25;
|
||||||
-khtml-opacity: 0.25;
|
-khtml-opacity: 0.25;
|
||||||
}
|
}
|
||||||
/* line 230, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 245, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.droppable-active .object.ui-draggable-dragging {
|
body.closet_hangers-index .closet-list.droppable-active .object.ui-draggable-dragging {
|
||||||
-moz-opacity: 1;
|
-moz-opacity: 1;
|
||||||
-webkit-opacity: 1;
|
-webkit-opacity: 1;
|
||||||
-o-opacity: 1;
|
-o-opacity: 1;
|
||||||
-khtml-opacity: 1;
|
-khtml-opacity: 1;
|
||||||
}
|
}
|
||||||
/* line 233, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 248, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.droppable-active .closet-list-controls {
|
body.closet_hangers-index .closet-list.droppable-active .closet-list-controls {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 236, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 251, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list.droppable-active .closet-list-hangers {
|
body.closet_hangers-index .closet-list.droppable-active .closet-list-hangers {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
/* line 240, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 255, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-hangers-group-autocomplete-item span, body.closet_hangers-index .closet-list-autocomplete-item span {
|
body.closet_hangers-index .closet-hangers-group-autocomplete-item span, body.closet_hangers-index .closet-list-autocomplete-item span {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding: 0.2em 0.4em;
|
padding: 0.2em 0.4em;
|
||||||
}
|
}
|
||||||
/* line 245, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 260, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index .closet-list-autocomplete-item a, body.closet_hangers-index .closet-list-autocomplete-item span {
|
body.closet_hangers-index .closet-list-autocomplete-item a, body.closet_hangers-index .closet-list-autocomplete-item span {
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
padding-left: 2em;
|
padding-left: 2em;
|
||||||
}
|
}
|
||||||
/* line 252, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 267, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover form {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover form {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
/* line 255, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 270, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 18px;
|
right: 18px;
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
/* line 260, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 275, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy input {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy input {
|
||||||
/* http://www.zurb.com/blog_uploads/0000/0617/buttons-03.html */
|
/* http://www.zurb.com/blog_uploads/0000/0617/buttons-03.html */
|
||||||
-moz-border-radius: 5px;
|
-moz-border-radius: 5px;
|
||||||
|
@ -1013,7 +1028,7 @@ body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-han
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy input:hover {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .closet-hanger-destroy input:hover {
|
||||||
background-color: #999999;
|
background-color: #999999;
|
||||||
}
|
}
|
||||||
/* line 263, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 278, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity {
|
||||||
-moz-opacity: 1;
|
-moz-opacity: 1;
|
||||||
-webkit-opacity: 1;
|
-webkit-opacity: 1;
|
||||||
|
@ -1023,73 +1038,73 @@ body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity {
|
||||||
top: 56px;
|
top: 56px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
/* line 269, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 284, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity span {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity span {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 272, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 287, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity input[type=number] {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity input[type=number] {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
width: 2em;
|
width: 2em;
|
||||||
}
|
}
|
||||||
/* line 276, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 291, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity input[type=submit] {
|
body.closet_hangers-index.current-user #closet-hangers .object:hover .quantity input[type=submit] {
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
}
|
}
|
||||||
/* line 281, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 296, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity {
|
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 284, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 299, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity input[type=number] {
|
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity input[type=number] {
|
||||||
width: 2.5em;
|
width: 2.5em;
|
||||||
}
|
}
|
||||||
/* line 287, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 302, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity input[type=submit] {
|
body.closet_hangers-index.current-user.js #closet-hangers .object:hover .quantity input[type=submit] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 290, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 305, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object.loading {
|
body.closet_hangers-index.current-user.js #closet-hangers .object.loading {
|
||||||
background: #eeffee;
|
background: #eeffee;
|
||||||
outline: 1px solid #006600;
|
outline: 1px solid #006600;
|
||||||
}
|
}
|
||||||
/* line 294, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 309, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object.loading .quantity {
|
body.closet_hangers-index.current-user.js #closet-hangers .object.loading .quantity {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 297, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 312, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers .object.loading .quantity span:after {
|
body.closet_hangers-index.current-user.js #closet-hangers .object.loading .quantity span:after {
|
||||||
content: "…";
|
content: "…";
|
||||||
}
|
}
|
||||||
/* line 301, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 316, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers-contact form {
|
body.closet_hangers-index.current-user.js #closet-hangers-contact form {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 304, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 319, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers-contact .edit-contact-link, body.closet_hangers-index.current-user.js #closet-hangers-contact #cancel-contact-link {
|
body.closet_hangers-index.current-user.js #closet-hangers-contact .edit-contact-link, body.closet_hangers-index.current-user.js #closet-hangers-contact #cancel-contact-link {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
/* line 308, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 323, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers-contact.editing form {
|
body.closet_hangers-index.current-user.js #closet-hangers-contact.editing form {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 311, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 326, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js #closet-hangers-contact.editing .edit-contact-link {
|
body.closet_hangers-index.current-user.js #closet-hangers-contact.editing .edit-contact-link {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 316, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 331, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js .closet-hangers-group header .show, body.closet_hangers-index.current-user.js .closet-hangers-group header .hide {
|
body.closet_hangers-index.current-user.js .closet-hangers-group header .show, body.closet_hangers-index.current-user.js .closet-hangers-group header .hide {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
/* line 319, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 334, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js .closet-hangers-group header .hide {
|
body.closet_hangers-index.current-user.js .closet-hangers-group header .hide {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
/* line 323, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 338, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js .closet-hangers-group.hidden header .hide, body.closet_hangers-index.current-user.js .closet-hangers-group.hidden .closet-hangers-group-content {
|
body.closet_hangers-index.current-user.js .closet-hangers-group.hidden header .hide, body.closet_hangers-index.current-user.js .closet-hangers-group.hidden .closet-hangers-group-content {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* line 326, ../../../app/stylesheets/closet_hangers/_index.sass */
|
/* line 341, ../../../app/stylesheets/closet_hangers/_index.sass */
|
||||||
body.closet_hangers-index.current-user.js .closet-hangers-group.hidden header .show {
|
body.closet_hangers-index.current-user.js .closet-hangers-group.hidden header .show {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue