Permalink
Browse files

Changing class names to fix clash on new work header navigation classes

  • Loading branch information...
1 parent 98c4da5 commit 7aabd044b3afb058c993e89ed511c933710f4691 @cesy cesy committed Dec 9, 2011
@@ -93,7 +93,7 @@
<% for tag in tag_list %>
<li>
<%= link_to_edit_tag(tag) %>
- <span class="delete action" title="delete" role="button">
+ <span class="remove action" title="delete" role="button">
<%= link_to 'x', {:controller => :tags, :action => :remove_association, :id => @tag, :to_remove => tag.name} %>
</span>
</li>
@@ -124,7 +124,7 @@
<li>
<%= link_to_edit_tag(tag) %>
<!--BACK END could pos put this title and role on t'link-->
- <span class="delete action" title="delete" role="button">
+ <span class="remove action" title="delete" role="button">
<%= link_to 'x', {:controller => :tags, :action => :remove_association, :id => @tag, :to_remove => tag.name} %>
</span>
</li>
@@ -4,7 +4,7 @@
<% if is_author_of?(@work) %>
<li class="add"><%= link_to ts("Add Chapter"), new_work_chapter_path(@work) %></li>
<li class="edit"><%= link_to ts("Edit"), edit_work_path(@work) %></li>
- <li class="edit tags"><%= link_to ts("Edit Tags"), edit_tags_work_path(@work) %></li>
+ <li class="edit tag"><%= link_to ts("Edit Tags"), edit_tags_work_path(@work) %></li>
<li class="delete"><%= link_to ts("Delete"), confirm_delete_work_path(@work) %></li>
<% end %>
@@ -22,7 +22,7 @@ background:purple; color:#555;}
}
/* TEMP FIX Issue 2652 -- don't integrate this*/
-span.delete a {
+span.remove a {
margin:0 0.2em;border:0; padding:0; line-height:0.5; box-shadow:none
}
@@ -1,7 +1,7 @@
/*==ACTIONS: buttons!
http://media.transformativeworks.org/training/front_end_coding/patterns/actions.html
subtypes:
-.action, .navigation, .sorting, .submit, .cancel, .close, .delete, .pagination, .current, .landmark, #skiplinks
+.action, .navigation, .sorting, .submit, .cancel, .close, .remove, .pagination, .current, .landmark, #skiplinks
input[type="submit"], button
*/
.actions *
@@ -36,7 +36,7 @@ ol.pagination
.actions a:active, .current,a.current, .current a:visited
{ color:#111; background:#ccc; border-color:#fff;
box-shadow:inset 1px 1px 3px #333}
-.delete a, span.delete
+.remove a, span.remove
{ color:#900; font-weight:900; margin-right:0.375em; padding:0 0.1em 0.15em; cursor: pointer;
box-shadow:-1px -1px 2px rgba(0,0,0,0.75); border-radius:0.875em }
ul#skiplinks, .landmark , .landmark a, .index .heading.landmark

0 comments on commit 7aabd04

Please sign in to comment.