comparison sat_templates/templates/default/input/navigation.html @ 172:4a03d0a6839b

css (styles): various styles improvments: - work on list - new paired-slides class - box-medium is a larger than before - use --text modified when size is 1em - added several list modifiers classes - added several box modifiers
author Goffi <goffi@goffi.org>
date Sat, 26 Jan 2019 20:22:18 +0100
parents 6f05d4bdc58e
children
comparison
equal deleted inserted replaced
171:cede18c118c9 172:4a03d0a6839b
1 {% macro prev_next(prev_label=_("newer"), next_label=_("older")) %} 1 {% macro prev_next(prev_label=_("newer"), next_label=_("older")) %}
2 <nav class="prev_next box box--large box--zero"> 2 <nav class="prev_next box box--large box--zero">
3 <ul> 3 <ul class="list list--inline">
4 {% if previous_page_url is defined %} 4 {% if previous_page_url is defined %}
5 <li class="prev_next__previous"> 5 <li class="prev_next__previous">
6 <a href="{{previous_page_url}}"> 6 <a href="{{previous_page_url}}">
7 {{ icon('angle-double-left', cls='icon--small') }} 7 {{ icon('angle-double-left', cls='icon--text') }}
8 {{prev_label}} 8 {{prev_label}}
9 </a> 9 </a>
10 </li> 10 </li>
11 {% endif %} 11 {% endif %}
12 {% if next_page_url is defined %} 12 {% if next_page_url is defined %}
13 <li class="prev_next__next"> 13 <li class="prev_next__next">
14 <a href="{{next_page_url}}"> 14 <a href="{{next_page_url}}">
15 {{next_label}} 15 {{next_label}}
16 {{ icon('angle-double-right', cls='icon--small') }} 16 {{ icon('angle-double-right', cls='icon--text') }}
17 </a> 17 </a>
18 </li> 18 </li>
19 {% endif %} 19 {% endif %}
20 </ul> 20 </ul>
21 </nav> 21 </nav>