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

84 lines
1.3 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;
2020-08-16 17:50:55 +02:00
flex-direction: row;
padding-left: 0;
padding-right: 0;
}
2020-08-12 22:27:18 +02:00
.LP-Pagination__Item{
margin: 0 4px;
2020-08-16 17:50:55 +02:00
&--disabled{
color: rgb(182, 182, 182);
}
&--current{
2020-08-12 22:27:18 +02:00
.LP-Link{
background-color: $-beige;
2020-08-12 22:27:18 +02:00
&:hover{
background-color: $-beige;
color: $-grey;
}
}
}
2020-08-16 17:50:55 +02:00
}
.LP-Link{
padding: 15px 20px;
vertical-align: sub;
border-radius: 2px;
2020-08-12 22:27:18 +02:00
2020-08-16 17:50:55 +02:00
&:active, &:hover{
background-color: $-beige;
color: $-grey;
}
}
2020-08-12 22:27:18 +02:00
2020-08-16 17:50:55 +02:00
.LP-Icon{
font-size: larger;
}
}
2020-08-16 17:50:55 +02:00
@media(max-width: $-viewport-normal){
.LP-Pagination{
.LP-Link{
padding: 10px 15px;
}
.LP-Pagination__Item--other{
.LP-Text{
display: none;
}
}
}
}
2020-08-16 17:50:55 +02:00
@media(max-width: $-viewport-small){
.LP-Pagination{
.LP-Pagination__Item{
margin: 0 1px;
.LP-Link{
padding: 13px 16px;
}
}
}
}
2020-08-16 17:50:55 +02:00
@media(max-width: $-viewport-extra-small){
.LP-Pagination{
.LP-Pagination__Item{
.LP-Link{
padding: 8px 11px;
}
}
}
2020-08-12 22:27:18 +02:00
}