Browse Source

Pagination : on supprime les classes prv/next qui entre en conflit avec le thème

master
jeanmarie 5 months ago
parent
commit
a6155c8d9d
  1. 4
      css/spip.css
  2. 4
      modeles/pagination_page_precedent_suivant.html

4
css/spip.css

@ -133,8 +133,8 @@ img { height: auto; max-width:100%; }
.pagination > strong { display:inline-block; border:2px solid #eeeeee; min-width:3rem; text-align:center; margin-left:-2px; background-color: #eeeeee;
font-family: "Open Sans", Helvetica, sans-serif; font-size: 0.8rem; font-weight: 900; line-height:calc(3rem - 4px); }
.pagination > span.next, .pagination > span.prev { border:0; padding:0; margin-left:-2px; }
.pagination > span.next a, .pagination > span.prev a { margin:0; }
.pagination > span { border:0; padding:0; margin-left:-2px; }
.pagination > span a { margin:0; }
.pagination > span strong { display:inline-block; padding: 0 1.75rem; border:2px solid #eeeeee; height:3rem; color:#ddd; }

4
modeles/pagination_page_precedent_suivant.html

@ -8,7 +8,7 @@
(#SET{item, #ENV{page_courante}|moins{2}|mult{#ENV{pas}} })
][<span class="prev[(#ENV{page_courante}|<={1}|oui)disabled]">(#ENV{url}
][<span class="[(#ENV{page_courante}|<={1}|oui)disabled]">(#ENV{url}
|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}
|ancre_url{#ENV{ancre}}
|lien_ou_expose{#ENV{label_precedent,<:public:page_precedente:>},#ENV{page_courante}|<={1},'previous','',nofollow}
@ -32,7 +32,7 @@
(#SET{item, #ENV{page_courante}|mult{#ENV{pas}} })
][<span class="next[(#ENV{page_courante}|>={#ENV{nombre_pages}}|oui)disabled]">(#ENV{url}
][<span class="[(#ENV{page_courante}|>={#ENV{nombre_pages}}|oui)disabled]">(#ENV{url}
|parametre_url{#ENV{debut},#GET{item}|?{#GET{item}}}
|ancre_url{#ENV{ancre}}
|lien_ou_expose{#ENV{label_suivant,<:public:page_suivante:>},#ENV{page_courante}|>={#ENV{nombre_pages}},'next','',nofollow}

Loading…
Cancel
Save