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

93 lines
1.8 KiB
SCSS
Raw Permalink 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;
padding-left: 0;
padding-right: 0;
}
2020-08-12 22:27:18 +02:00
.LP-Pagination__Item{
margin: 0 4px;
&--disabled{
color: rgb(182, 182, 182);
.LP-Link{
color: rgb(182, 182, 182);
cursor: default;
&:hover{
background-color: unset;
color: unset;
}
}
}
&--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;
}
}
}
}
.LP-Link{
padding: 15px 20px;
vertical-align: sub;
border-radius: 2px;
2020-08-12 22:27:18 +02:00
&:active, &:hover{
background-color: $-beige;
color: $-grey;
}
}
2020-08-12 22:27:18 +02:00
.LP-Icon{
font-size: larger;
}
2020-08-16 17:50:55 +02:00
}
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
}
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
}
2020-08-16 17:50:55 +02:00
@media(max-width: $-viewport-extra-small){
.LP-Pagination{
.LP-Pagination__Item{
.LP-Link{
padding: 8px 11px;
}
}
}
2021-10-02 07:19:34 +02:00
}