Added beautiful navigation icons to pagination nav-css.

This commit is contained in:
Marcus Scholz 2020-08-14 13:41:27 +02:00
parent 0eacea8243
commit 3970aed176
2 changed files with 71 additions and 57 deletions

View File

@ -40,28 +40,34 @@
} }
.LP-Pagination__First{ .LP-Pagination__First{
&:before{ &:before{
content: "«"; content: "";
padding-right: 1em;
font-size: larger;
} }
} }
.LP-Pagination__Previous{ .LP-Pagination__Previous{
&:before{ &:before{
content: "»"; content: "";
padding-right: 1em;
font-size: larger;
} }
} }
.LP-Pagination__Next{ .LP-Pagination__Next{
&:after{ &:after{
content: "\f061"; content: "";
padding-left: 1em;
font-size: larger;
} }
} }
.LP-Pagination__Last{ .LP-Pagination__Last{
&:after{ &:after{
content: "»"; content: "";
padding-left: 1em;
font-size: larger;
} }
} }
} }

View File

@ -277,13 +277,21 @@ body {
border-radius: 2px; border-radius: 2px;
color: #565656; } color: #565656; }
.LP-Pagination .LP-Pagination__First:before { .LP-Pagination .LP-Pagination__First:before {
content: "«"; } content: "⟪";
padding-right: 1em;
font-size: larger; }
.LP-Pagination .LP-Pagination__Previous:before { .LP-Pagination .LP-Pagination__Previous:before {
content: "»"; } content: "⟨";
padding-right: 1em;
font-size: larger; }
.LP-Pagination .LP-Pagination__Next:after { .LP-Pagination .LP-Pagination__Next:after {
content: "\f061"; } content: "⟩";
padding-left: 1em;
font-size: larger; }
.LP-Pagination .LP-Pagination__Last:after { .LP-Pagination .LP-Pagination__Last:after {
content: "»"; } content: "⟫";
padding-left: 1em;
font-size: larger; }
.LP-Content { .LP-Content {
padding: 35px; } padding: 35px; }