Commits

Dimitris Glezos  committed ae676dd

trivial: CSS: Minor pagination move-arounds.

  • Participants
  • Parent commits f3461d2

Comments (0)

Files changed (4)

File transifex/site_media/css/base.css

   display: inline;
 }
 
-div.pagination_top {
-  margin: 1em 0 3em 0;
+/* Generic pagination container */
+div.pagination { margin: 1em inherit; }
+
+/* Generic pagination container */
+div.pagination.top {
+  margin: 1em inherit 3em inherit;
 }
 
-div.pagination_bottom {
-  margin: 3em 0 0;
+div.pagination.bottom {
+  margin: 3em inherit 1em inherit;
 }
 
 /* Login index */

File transifex/templates/projects/project_list.html

 {% block content_main %}
   {% autopaginate project_list 20 %}
   <div class="project_list obj_biglist">
-  <div class="pagination_top">{% paginate %}</div>
+  <div class="pagination top">{% paginate %}</div>
   {% for project in project_list %}
     <div class="entry">
       <h3 class="name"><a href="{{ project.get_absolute_url }}">{{ project.name }}</a></h3>
 
     </div>
   {% endfor %}
-  <div class="pagination_bottom">{% paginate %}</div>
+  <div class="pagination bottom">{% paginate %}</div>
   </div>
   {% if not project_list %}
   <p>{% trans "No projects registered yet. :-(" %}</p>

File transifex/templates/search.html

           <p class="long_description">{{ long_description.excerpt|highlight:terms }}</p>
         </div>
       {% endfor %}
-      {% paginate %}
+      <div class="pagination top">{% paginate %}</div>
       </div>
     {% else %}
       <p class="i16 notice notfound">

File transifex/templates/txcollections/collection_list.html

 {% block content_main %}
   {% autopaginate collection_list 5 %}
   <div class="collection_list obj_biglist">
-  <div class="pagination_top">{% paginate %}</div>
+  <div class="pagination top">{% paginate %}</div>
   {% for collection in collection_list %}
     <div class="entry">
       <h3 class="name"><a href="{{ collection.get_absolute_url }}">{{ collection.name }}</a></h3>
       {% if collection.tags %}| <span class="i16 tag compact">{% trans "Tags:" %} {% for tag in collection.tagsobj.all|slice:"0:6" %}<a class="tag" href="{% url collection_tag_list tag=tag %}">{{ tag }}</a> {% endfor %}</span>{% endif %}
     </div>
   {% endfor %}
-  <div class="pagination_bottom">{% paginate %}</div>
+  <div class="pagination bottom">{% paginate %}</div>
   </div>
   {% if not collection_list %}
   <p>{% trans "No collections registered yet. :-(" %}</p>