-
Notifications
You must be signed in to change notification settings - Fork 360
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
Clean up legacy styles and remove bs3-compat.scss #4267
base: dev
Are you sure you want to change the base?
Conversation
@sturkel89 I hope you could check this set of changes. This is the final big change to eliminate legacy styles (I hope!). Sorry for it being so large, but thought it would be better to keep all these together because many of changes touch same areas in the UI. |
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 tested this PR in both themes and in the mobile emulator, comparing test and dev. (I only tested on Chrome.) I found a number of little quirks that should be pretty easy to fix.
Item record top menu: there's no down arrow in Export Record (both themes)
The down arrow is missing, but the functionality is still there; if you click the button, the three export options appear.
More button in top Suggested Topics area looks weird (both themes)
On dev, the More button is rounded with a faint, clean outline.
On test, the More button is squared off, short, and dark outlining is present whether the button is clicked or not. Both the More and Less buttons in this feature have the same appearance.
Sidebar facet listings look weird (both themes)
On test, in bootstrap5, there's a gap between the header field and the list of filters, and the More button with the arrow looks weird (similar to the More button in Suggested Topics).
In sandal5, the gap is present, but the More button looks okay.
Text Area boxes are three lines high on test but one line high on dev (both themes)
We think that this is an improvement and a reversion to how things used to be! So, this is more of a note than a request to change things.
Example: Comment box on Bootstrap5
Example: Create a List on mobile, Sandal5
(NB: there are two other tiny issues with this screen: inconsistent punctuation in the labels for the two boxes, and something is weird with spacing of the breadcrumbs. I'll keep track of those in a different document.)
Record tags: alignment/spacing is different between test and dev
In both themes, there's more horizontal padding inside tag buttons. I don't have a strong opinion on whether this is an improvement or not.
In Sandal5, the padding is the main difference in terms of tag appearance and behavior; wrapping behavior is pretty similar between test and dev.
In Bootstrap5, wrapping behavior is pretty different between test and dev.
Bootstrap5: in test, three short tags need a very wide browser to display all in one row. This is the minimal width for having all three on one line; any narrower, and they wrap to two rows.
In dev, this is the width that's needed to display them all in one row:
Here's the mobile view of the same three tags in bootstrap5:
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.
Looks like the merge of #4238 has introduced some conflicts. Sorry about that!
@demiankatz No problem, that was to be expected! |
…lly-hidden-focusable.
- form-select is now alone without form-control - Some margins adjusted and feedback admin form cleaned up
…with float-start.
1e07199
to
338ca0f
Compare
Now unified with toolbar-btn which was also tweaked a bit with a border and improved contrast.
@sturkel89 Thanks for the comments! All should be fixed now. Remarks:
|
This is collection of sort-of independent commits with the aim to remove the Bootstrap 3 compatibility layer.
Notable changes:
btn btn-default
continues to work.form-control
andform-select
classes now only haveform-select
.sr-only
is nowvisually-hidden
sr-only-focusable
is nowvisually-hidden-focusable
control-label
is nowform-label
pull-right
is nowfloat-end
(flip
no longer needed)pull-left
is nowfloat-start
(flip
no longer needed)$something-border
renamed to$something-border-color
.Things to check during testing:
TODO: