Skip to content

Commit

Permalink
IBX-8768: Add specific prefixes to all CSS (standalone app)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Aug 29, 2024
1 parent 95fe211 commit f40c41d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/bundle/Resources/public/scss/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@

.page-item {
@include pagination-item();
}

.page-link {
@include pagination-link();
.page-link {
@include pagination-link();
}
}
}
}
18 changes: 14 additions & 4 deletions src/bundle/Resources/public/scss/mixins/_pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@

&.active {
font-weight: 600;

.page-link {
color: $ibexa-color-dark;
border-color: transparent;
background-color: $ibexa-color-light-300;
}
}

&.prev {
Expand Down Expand Up @@ -54,10 +60,14 @@
}

&.disabled {
.page-link:before,
.page-link:after {
border-right-color: $ibexa-color-dark-200;
border-bottom-color: $ibexa-color-dark-200;
.page-link {
border-color: transparent;

&:before,
&:after {
border-right-color: $ibexa-color-dark-200;
border-bottom-color: $ibexa-color-dark-200;
}
}
}

Expand Down

0 comments on commit f40c41d

Please sign in to comment.