Skip to content

Commit

Permalink
Pagination style updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Simounet committed Apr 14, 2021
1 parent 5d2ab97 commit abb69c5
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
9 changes: 8 additions & 1 deletion app/Resources/static/themes/material/css/dark_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@

.dropdown-content li:hover,
.dropdown-content li.active,
.dropdown-content li.selected {
.dropdown-content li.selected,
.pagination li:not(.active) a:hover,
.pagination li:not(.active) a:active,
.pagination li:not(.active) a:focus {
background-color: #2c2c2c;
}

Expand Down Expand Up @@ -109,6 +112,10 @@
border-color: #222;
}

.pagination li.active {
background-color: #666;
}

@media only screen and (min-width: 992px) {
#article {
background-color: #101010;
Expand Down
10 changes: 10 additions & 0 deletions app/Resources/static/themes/material/css/entries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@

li {
padding: 0;

&:not(.active) a:hover,
&:not(.active) a:active,
&:not(.active) a:focus {
background-color: #e6e6e6;
}

&:not(:last-of-type) {
margin-right: 10px;
}
}

span,
Expand Down
Loading

0 comments on commit abb69c5

Please sign in to comment.