From c8cdc91b2eef2b37cc09f6d3bd298164daf19e2d Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 6 Mar 2012 16:06:48 -0800 Subject: [PATCH] Clean up pretty-button styles. --- r2/r2/public/static/css/reddit.css | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/r2/r2/public/static/css/reddit.css b/r2/r2/public/static/css/reddit.css index 21513ab98..65a1d71dd 100644 --- a/r2/r2/public/static/css/reddit.css +++ b/r2/r2/public/static/css/reddit.css @@ -4563,23 +4563,27 @@ a.pretty-button:hover { text-decoration: none !important } outline-style: none; } -a.pretty-button.negative { +a.pretty-button { color: black; +} + +a.pretty-button.pressed { + color: white; +} + +a.pretty-button.negative { background-image: url(../bg-button-negative-unpressed.png); /* SPRITE stretch-x */ } a.pretty-button.negative.pressed { - color: white; background-image: url(../bg-button-negative-pressed.png); /* SPRITE stretch-x */ } a.pretty-button.positive { - color: black; background-image: url(../bg-button-positive-unpressed.png); /* SPRITE stretch-x */ } a.pretty-button.positive.pressed { - color: white; background-image: url(../bg-button-positive-pressed.png); /* SPRITE stretch-x */ }