-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(pagination): Add CSS vars for $pagination #1268
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many review for Bootstrap side + Boosted mods
@@ -67,17 +85,17 @@ | |||
color: var(--#{$prefix}pagination-focus-color); | |||
background-color: var(--#{$prefix}pagination-focus-bg); | |||
border-color: var(--#{$prefix}pagination-hover-border-color); // Boosted mod | |||
outline: $pagination-focus-outline; | |||
outline: var(--#{$prefix}pagination-focus-outline); // Boosted mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be changed on Bs side too ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't looked at it but for this one and https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/1268/files#r881440526, @isabellechanclou you could create a PR for Bootstrap to propose those modifications.
@@ -101,7 +119,7 @@ | |||
|
|||
.page-item { | |||
&:not(:first-child) .page-link { | |||
margin-left: $pagination-margin-start; | |||
margin-left: var(--#{$prefix}pagination-margin-start); // Boosted mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bs side too ?
1f842b9
to
f4348dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I missed some Boosted mods with first review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, few questions to answer before merging
What's the status of this PR. Approved on your side @louismaximepiton? |
Yup the PR is fine to me, but we need to propose some changes to Bs directly, since some replaced variables still exist in Bootstrap with Sass only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I let you modify the order of the CSS vars and remove the line breaks. I'll review it more in depth after. It'll be easier to review it like that for me.
eb67518
to
fedcb28
Compare
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
Signed-off-by: Isabelle Chanclou <isabelle.chanclou@orange.com>
a56e54f
to
5cbc68c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Renamed --#{$prefix}pagination-active-item-border
in --#{$prefix}pagination-active-item-border-color
and reorder them.
Regarding new CSS vars, IMO they could be added in Bootstrap as well. However IDK if they should be all in .pagination
, so let's try it and get some feedback.
Add CSS vars in Pagination component.