Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add neutral pretty-button state for "remove-link" button.
  • Loading branch information
chromakode authored and bsimpson63 committed Mar 7, 2012
1 parent c8cdc91 commit 2c2ed24
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Binary file added r2/r2/public/static/bg-button-neutral-pressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added r2/r2/public/static/bg-button-neutral-unpressed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions r2/r2/public/static/css/reddit.css
Expand Up @@ -4579,6 +4579,14 @@ a.pretty-button.negative.pressed {
background-image: url(../bg-button-negative-pressed.png); /* SPRITE stretch-x */
}

a.pretty-button.neutral {
background-image: url(../bg-button-neutral-unpressed.png); /* SPRITE stretch-x */
}

a.pretty-button.neutral.pressed {
background-image: url(../bg-button-neutral-pressed.png); /* SPRITE stretch-x */
}

a.pretty-button.positive {
background-image: url(../bg-button-positive-unpressed.png); /* SPRITE stretch-x */
}
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/printablebuttons.html
Expand Up @@ -128,7 +128,7 @@
${pretty_button(_("spam %(obj)s") % dict(obj=kind),
"big_mod_action", -2, "negative")}
${pretty_button(_("remove %(obj)s") % dict(obj=kind),
"big_mod_action", -1, "negative")}
"big_mod_action", -1, "neutral")}
%endif

%if getattr(thing, "approval_checkmark", None):
Expand Down

0 comments on commit 2c2ed24

Please sign in to comment.