[openstreetmap/openstreetmap-website] CSS Simplification for floats and borders (PR #3377)
Andy Allan
notifications at github.com
Wed Nov 24 13:16:54 UTC 2021
This PR contains various changes and simplifications to the CSS, mainly focussed on reducing the number of floating elements (by using flexbox for layout) and using border utility classes instead of selector-specific rules.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3377
-- Commit Summary --
* Remove the floating from the sidebar close buttons
* Remove the custom flash styling for sidebar flashes
* Use flex grid instead of floating to position changeset element paging nav
* Remove border-radius parameter
* Replace CSS-driven borders with bootstrap borders
* Pass classes to override the default thumbnail_tiny style, rather than having another selector overriding
* Remove unused browse-field style rules
* Simplify margins when showing diary entries
* Remove some unused thumbnail rules
* Use flex grid to position changeset discussion subscribe button
-- File Changes --
M app/assets/stylesheets/common.scss (101)
M app/assets/stylesheets/parameters.scss (1)
M app/helpers/user_helper.rb (6)
M app/views/browse/_paging_nav.html.erb (19)
M app/views/browse/_tag_details.html.erb (2)
M app/views/browse/changeset.html.erb (47)
M app/views/dashboards/show.html.erb (4)
M app/views/diary_entries/_diary_entry.html.erb (2)
M app/views/diary_entries/_form.html.erb (2)
M app/views/layouts/_header.html.erb (2)
M app/views/profiles/edit.html.erb (2)
M app/views/site/export.html.erb (2)
M app/views/users/terms.html.erb (2)
M test/controllers/diary_entries_controller_test.rb (4)
M test/helpers/user_helper_test.rb (12)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3377.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3377.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3377
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20211124/0128d6e7/attachment.htm>
More information about the rails-dev
mailing list