Added beautiful navigation icons to pagination nav-css.
This commit is contained in:
parent
0eacea8243
commit
3970aed176
@ -1,67 +1,73 @@
|
|||||||
.LP-Pagination{
|
.LP-Pagination{
|
||||||
font-family: $-primary-sans-serif-font;
|
font-family: $-primary-sans-serif-font;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
.LP-Pagination__List{
|
.LP-Pagination__List{
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Pagination__Item{
|
.LP-Pagination__Item{
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
|
|
||||||
&--current{
|
&--current{
|
||||||
|
|
||||||
.LP-Link{
|
.LP-Link{
|
||||||
background-color: $-beige;
|
background-color: $-beige;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
|
|
||||||
&:hover{
|
&:hover{
|
||||||
background-color: $-beige;
|
background-color: $-beige;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Link{
|
.LP-Link{
|
||||||
padding: 15px 25px;
|
padding: 15px 25px;
|
||||||
|
|
||||||
&:active, &:hover{
|
&:active, &:hover{
|
||||||
background-color: $-beige;
|
background-color: $-beige;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
color: $-grey;
|
color: $-grey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.LP-Pagination__First{
|
.LP-Pagination__First{
|
||||||
|
&:before{
|
||||||
|
content: "⟪";
|
||||||
|
padding-right: 1em;
|
||||||
|
font-size: larger;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:before{
|
.LP-Pagination__Previous{
|
||||||
content: "«";
|
&:before{
|
||||||
}
|
content: "⟨";
|
||||||
}
|
padding-right: 1em;
|
||||||
|
font-size: larger;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.LP-Pagination__Previous{
|
.LP-Pagination__Next{
|
||||||
&:before{
|
&:after{
|
||||||
content: "»";
|
content: "⟩";
|
||||||
}
|
padding-left: 1em;
|
||||||
}
|
font-size: larger;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.LP-Pagination__Next{
|
.LP-Pagination__Last{
|
||||||
|
&:after{
|
||||||
&:after{
|
content: "⟫";
|
||||||
content: "\f061";
|
padding-left: 1em;
|
||||||
}
|
font-size: larger;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.LP-Pagination__Last{
|
|
||||||
&:after{
|
|
||||||
content: "»";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user