Removed cancel_link class; slight changes to button_form style
authorJef van Schendel <mail@jefvanschendel.nl>
Wed, 15 Feb 2012 16:15:42 +0000 (17:15 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Wed, 15 Feb 2012 16:15:42 +0000 (17:15 +0100)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html

index 1b0b2f3e13a78842fe0cbb6ea86e9c1356f3bca0..60e3c5b556284bb97912137527e36ec9a8581531 100644 (file)
@@ -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 {
index e64845e7f675d572a92afff2dc37c684d5027e9b..a345920605b6f27237b596ab59f1d1fdf2f27241 100644 (file)
@@ -46,8 +46,8 @@
 
       <div class="form_submit_buttons">
         {# TODO: This isn't a button really... might do unexpected things :) #}
-       <a class="cancel_link" href="{{ media.url_for_self(request.urlgen) }}">{% trans %}Cancel{% endtrans %}</a>
-        <input type="submit" value="{% trans %}Delete Permanently{% endtrans %}" class="button_form" />
+       <a class="button_action" href="{{ media.url_for_self(request.urlgen) }}">{% trans %}Cancel{% endtrans %}</a>
+        <input type="submit" value="{% trans %}Delete permanently{% endtrans %}" class="button_form" />
        {{ csrf_token }}
       </div>
     </div>