From d2fad5c9c3d6795cd5fccc0664207810bd0cfc7e Mon Sep 17 00:00:00 2001 From: Elrond Date: Thu, 13 Dec 2012 21:07:16 +0100 Subject: [PATCH] Make "add media to collection" a normal This button used to be a css style (note: No contents for the ). Using this approach has various drawbacks. Most notably: - Not clickable in text mode browsers - Possibly getting marked as a hidden (spam) link - No alt attribute So replaced with a real . I have no idea what to put in the alt attribute. --- mediagoblin/static/css/base.css | 11 ----------- .../templates/mediagoblin/user_pages/media.html | 4 +++- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/mediagoblin/static/css/base.css b/mediagoblin/static/css/base.css index f8a9e014..ac53f580 100644 --- a/mediagoblin/static/css/base.css +++ b/mediagoblin/static/css/base.css @@ -219,17 +219,6 @@ footer { font-family: 'Lato', sans-serif; } -.button_collect { - background-image: url("../images/icon_collect.png"); - background-repeat: no-repeat; - background-position:top center; - height: 30px; - width: 30px; - margin: 0px; - padding: 3px 3px 2px 3px; - position: relative; -} - .pagination { text-align: center; } diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 8c2a618d..cb06c7ba 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -198,8 +198,10 @@ +

{% endif %} -- 2.25.1