-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow providing a Custom Pagination Component (#1275)
* feat: allow providing a Custom Pagination Component * fix: remove SASS deprecated `@import` and replace by `@use` * chore: add new `silenceWarnings` grid option
- Loading branch information
1 parent
1461f9a
commit 247aa56
Showing
25 changed files
with
700 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
/* make sure to add the @import the SlickGrid Theme AFTER the variables changes */ | ||
// @import '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-salesforce.lite.scss'; | ||
// @use '@slickgrid-universal/common/dist/styles/sass/slickgrid-theme-material.lite.scss' with (...); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
@use 'sass:color'; | ||
|
||
.custom-pagination { | ||
display: flex; | ||
justify-content: flex-end; | ||
margin: 10px; | ||
font-size: 13px; | ||
|
||
.custom-pagination-settings { | ||
display: inline-flex; | ||
align-items: center; | ||
margin-right: 30px; | ||
} | ||
|
||
.custom-pagination-nav { | ||
display: flex; | ||
align-items: center; | ||
list-style-type: none; | ||
|
||
.page-item { | ||
display: flex; | ||
width: 26px; | ||
justify-content: center; | ||
margin: 0; | ||
&.disabled .pagination-link { | ||
color: rgb(180, 179, 179); | ||
background-color: rgb(180, 179, 179); | ||
} | ||
} | ||
|
||
.page-number { | ||
.page-number { | ||
padding: 0 5px; | ||
display: inline-flex; | ||
justify-content: center; | ||
width: 20px; | ||
} | ||
} | ||
|
||
nav { | ||
ul.custom-pagination-ul { | ||
display: flex; | ||
margin: 0; | ||
padding: 0 5px; | ||
color: #0d6efd; | ||
|
||
.pagination-link { | ||
color: #0d6efd; | ||
&:hover { | ||
color: color.adjust(#0d6efd, $lightness: 10%); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.