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

77 lines
1.5 KiB
SCSS
Raw Normal View History

2020-08-12 22:27:18 +02:00
.LP-Pagination{
font-family: $-primary-sans-serif-font;
font-weight: bold;
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;
}
2020-08-12 22:27:18 +02:00
.LP-Pagination__Item{
margin: 0 4px;
2020-08-12 22:27:18 +02:00
&--disabled{
color: rgb(182, 182, 182);
}
&--current{
2020-08-12 22:27:18 +02:00
.LP-Link{
background-color: $-beige;
border-radius: 2px;
2020-08-12 22:27:18 +02:00
&:hover{
background-color: $-beige;
color: $-grey;
}
}
}
}
2020-08-12 22:27:18 +02:00
.LP-Link{
padding: 15px 25px;
vertical-align: sub;
2020-08-12 22:27:18 +02:00
&:active, &:hover{
background-color: $-beige;
border-radius: 2px;
color: $-grey;
}
}
.LP-Pagination__First{
&:before{
content: "";
padding-right: 1em;
font-size: larger;
}
}
.LP-Pagination__Previous{
&:before{
content: "";
padding-right: 1em;
font-size: larger;
}
}
.LP-Pagination__Next{
&:after{
content: "";
padding-left: 1em;
font-size: larger;
}
}
.LP-Pagination__Last{
&:after{
content: "";
padding-left: 1em;
font-size: larger;
}
}
2020-08-12 22:27:18 +02:00
}