lostplaces-frontend/components/01_Atoms/pagination/_pagination.scss

67 lines
834 B
SCSS
Raw Normal View History

2020-08-12 22:27:18 +02:00
.LP-Pagination{
font-family: $-primary-sans-serif-font;
font-weight: bold;
2020-08-12 22:29:18 +02:00
display: flex;
flex-direction: row;
justify-content: center;
2020-08-12 22:27:18 +02:00
.LP-Pagination__List{
list-style-type: none;
display: flex;
flex-direction: row;
}
.LP-Pagination__Item{
margin: 0 4px;
&--current{
.LP-Link{
2020-08-12 22:31:48 +02:00
background-color: $-beige;
2020-08-12 22:27:18 +02:00
border-radius: 2px;
&:hover{
2020-08-12 22:31:48 +02:00
background-color: $-beige;
2020-08-12 22:27:18 +02:00
color: $-grey;
}
}
}
}
.LP-Link{
padding: 15px 25px;
&:active, &:hover{
background-color: $-beige;
border-radius: 2px;
color: $-grey;
}
}
.LP-Pagination__First{
&:before{
content: "«";
}
}
.LP-Pagination__Previous{
&:before{
content: "»";
}
}
.LP-Pagination__Next{
&:after{
content: "\f061";
}
}
.LP-Pagination__Last{
&:after{
content: "»";
}
}
2020-08-12 22:27:18 +02:00
}