Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend

This commit is contained in:
reverend 2020-08-16 10:31:01 +02:00
commit 57afcbdffb
3 changed files with 12 additions and 7 deletions

View File

@ -14,6 +14,10 @@
.LP-Pagination__Item{ .LP-Pagination__Item{
margin: 0 4px; margin: 0 4px;
&--disabled{
color: rgb(182, 182, 182);
}
&--current{ &--current{
.LP-Link{ .LP-Link{
@ -26,7 +30,6 @@
} }
} }
} }
} }
.LP-Link{ .LP-Link{

View File

@ -1,12 +1,12 @@
<div class="LP-Pagination"> <div class="LP-Pagination">
<ul class="LP-Pagination__List"> <ul class="LP-Pagination__List">
<li class="LP-Pagination__Item LP-Pagination__Item--first"> <li class="LP-Pagination__Item LP-Pagination__Item--first LP-Pagination__Item--disabled">
<a href="#" class="LP-Link"><span class="LP-Pagination__First">first</span></a> <span class="LP-Pagination__First">first</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--previous"> <li class="LP-Pagination__Item LP-Pagination__Item--previous LP-Pagination__Item--disabled">
<a href="#" class="LP-Link"><span class="LP-Pagination__Previous">previous</span></a> <span class="LP-Pagination__Previous">previous</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">1</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
@ -18,7 +18,7 @@
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">4</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number LP-Pagination__Item--current"> <li class="LP-Pagination__Item LP-Pagination__Item--number">
<a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a> <a href="#" class="LP-Link"><span class="LP-Pagination__Number">5</span></a>
</li> </li>
<li class="LP-Pagination__Item LP-Pagination__Item--number"> <li class="LP-Pagination__Item LP-Pagination__Item--number">

View File

@ -314,6 +314,8 @@ body {
flex-direction: row; } flex-direction: row; }
.LP-Pagination .LP-Pagination__Item { .LP-Pagination .LP-Pagination__Item {
margin: 0 4px; } margin: 0 4px; }
.LP-Pagination .LP-Pagination__Item--disabled {
color: #b6b6b6; }
.LP-Pagination .LP-Pagination__Item--current .LP-Link { .LP-Pagination .LP-Pagination__Item--current .LP-Link {
background-color: #D7CEC7; background-color: #D7CEC7;
border-radius: 2px; } border-radius: 2px; }