-
Notifications
You must be signed in to change notification settings - Fork 272
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(ui5-slider, ui5-range-slider): SAP Horizon theme implementation #4168
Conversation
left: -0.875rem; | ||
top: -0.125rem; | ||
top: -0.063rem; |
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.
top: -0.063rem; :( hacky..
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.
Why? :) In UI5 the positioning is similar and also achieved with negative values.
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.
because in ui5 all of the negative values are 1, 2px which result in 0.0625rem or 0.125rem. Yours result in something like 1,008 px which would eventually lead to different positioning on different devices/browsers. Please try to use something which results to a rounded value.
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 will adjust the rems from 0.063 to 0.0625. However, no browser will interpret 1.008px different from 1px :)
width: 0.375rem; | ||
height: 0.375rem; | ||
right: -0.875rem; | ||
top: -0.063rem; |
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.
:(
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.
Changing to compact breaks the handles layout
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.
- The start point of ui5-slider component, background color is not correct.
- While moving the whole progress bar of ui5-range-slider, the handles should have "active" styling, not as hovered.
- Handles in compact mode look really small and ugly.
- In compact mode the offset between the focus outline and the handles is too big.
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 noticed that many of the values are without parameters and this is strange especially for colors. Do we also use hardcoded colors in UI5? If we used parameters, maybe some of the things would come out of the box and there would be no need to overwrite them in eachc theme. If no parameters are available, ignore my comment.
No description provided.