From b6a686913ffd8969f9504b1292fd321c573cedd5 Mon Sep 17 00:00:00 2001 From: Jef van Schendel Date: Wed, 15 Feb 2012 17:15:42 +0100 Subject: [PATCH] Removed cancel_link class; slight changes to button_form style --- mediagoblin/static/css/base.css | 27 +++++-------------- .../user_pages/media_confirm_delete.html | 4 +-- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index 1b0b2f3e..60e3c5b5 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -204,20 +204,14 @@ img.media_image { color: #283F35; } -.button_form, .cancel_link { +.button_form { height: 32px; min-width: 99px; - background-color: #86d4b1; - background-image: -webkit-gradient(linear, left top, left bottom, from(#86d4b1), to(#62caa2)); - background-image: -webkit-linear-gradient(top, #86d4b1, #62caa2); - background-image: -moz-linear-gradient(top, #86d4b1, #62caa2); - background-image: -ms-linear-gradient(top, #86d4b1, #62caa2); - background-image: -o-linear-gradient(top, #86d4b1, #62caa2); - background-image: linear-gradient(top, #86d4b1, #62caa2); - box-shadow: 0px 0px 4px #000; + background-color: #86D4B1; + border: 1px solid; + border-color: #A2DEC3 #6CAA8E #5C9179; + color: #283F35; border-radius: 3px; - border: none; - color: #272727; margin: 10px 0px 10px 15px; text-align: center; padding-left: 11px; @@ -225,16 +219,7 @@ img.media_image { text-decoration: none; font-family: 'Lato', sans-serif; font-weight: bold; -} - -.cancel_link { - background-color: #aaa; - background-image: -webkit-gradient(linear, left top, left bottom, from(##D2D2D2), to(#aaa)); - background-image: -webkit-linear-gradient(top, #D2D2D2, #aaa); - background-image: -moz-linear-gradient(top, #D2D2D2, #aaa); - background-image: -ms-linear-gradient(top, #D2D2D2, #aaa); - background-image: -o-linear-gradient(top, #D2D2D2, #aaa); - background-image: linear-gradient(top, #D2D2D2, #aaa); + cursor: pointer; } .pagination { diff --git a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html index e64845e7..a3459206 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html @@ -46,8 +46,8 @@
{# TODO: This isn't a button really... might do unexpected things :) #} - {% trans %}Cancel{% endtrans %} - + {% trans %}Cancel{% endtrans %} + {{ csrf_token }}
-- 2.25.1