Navigation buttons edits. Removed images as they are no longer needed. Related: bug...
authorJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 16:01:23 +0000 (17:01 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Sun, 20 Nov 2011 16:01:23 +0000 (17:01 +0100)
mediagoblin/static/css/base.css
mediagoblin/static/images/navigation_end.png [deleted file]
mediagoblin/static/images/navigation_left.png [deleted file]
mediagoblin/static/images/navigation_right.png [deleted file]
mediagoblin/templates/mediagoblin/utils/prev_next.html

index c26e11af792948b74fa12674086d17379f80807f..12d88ffa3251b96823cb4f3cedd7db242f848ce3 100644 (file)
@@ -300,15 +300,11 @@ img.media_icon{
   border-color: #2c2c2c #232323 #1a1a1a;
   border-radius: 4px;
   text-decoration: none;
-  padding: 8px 0px 14px;
-  font-size: 2em;
+  padding: 12px 0 16px;
+  font-size: 1.4em;
   margin: 0 0 20px
 }
 
-p.navigation_button{
-  color: #272727;
-}
-
 .navigation_left{
   margin-right: 6px;
 }
diff --git a/mediagoblin/static/images/navigation_end.png b/mediagoblin/static/images/navigation_end.png
deleted file mode 100644 (file)
index b2f2729..0000000
Binary files a/mediagoblin/static/images/navigation_end.png and /dev/null differ
diff --git a/mediagoblin/static/images/navigation_left.png b/mediagoblin/static/images/navigation_left.png
deleted file mode 100644 (file)
index d164512..0000000
Binary files a/mediagoblin/static/images/navigation_left.png and /dev/null differ
diff --git a/mediagoblin/static/images/navigation_right.png b/mediagoblin/static/images/navigation_right.png
deleted file mode 100644 (file)
index d4caa7b..0000000
Binary files a/mediagoblin/static/images/navigation_right.png and /dev/null differ
index 759030767c33ce6f99f752be662cdba416e5b209..3363891b93444e3e2ba541e3653649d946d21230 100644 (file)
     {# There are no previous entries for the very first media entry #}
     {% if prev_entry_url %}
       <a class="navigation_button navigation_left" href="{{ prev_entry_url }}">
-        <img src="{{ request.staticdirect('/images/navigation_left.png') }}" alt="Previous image" />
+        &larr; newer
       </a>
     {% else %}
       {# This is the first entry. display greyed-out 'previous' image #}
       <p class="navigation_button navigation_left">
-        <img src="{{ request.staticdirect('/images/navigation_end.png') }}" alt="No previous images" />
+        &larr; newer
       </p>
     {% endif %}
     {# Likewise, this could be the very last media entry #}
     {% if next_entry_url %}
       <a class="navigation_button" href="{{ next_entry_url }}">
-        <img src="{{ request.staticdirect('/images/navigation_right.png') }}" alt="Next image" />
+        older &rarr;
       </a>
     {% else %}
       {# This is the last entry. display greyed-out 'next' image #}
       <p class="navigation_button">
-        <img src="{{ request.staticdirect('/images/navigation_end.png') }}" alt="No following images" />
+        older &rarr;
       </p>
     {% endif %}
   </div>