mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 07:48:16 -05:00
Add neutral pretty-button state for "remove-link" button.
This commit is contained in:
BIN
r2/r2/public/static/bg-button-neutral-pressed.png
Normal file
BIN
r2/r2/public/static/bg-button-neutral-pressed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 157 B |
BIN
r2/r2/public/static/bg-button-neutral-unpressed.png
Normal file
BIN
r2/r2/public/static/bg-button-neutral-unpressed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 155 B |
@@ -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 */
|
||||
}
|
||||
|
||||
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user