Commit graph

1744 commits

Author SHA1 Message Date
Anton Khorev
78b4ff4a29 Simplify css for text selection with stretched link 2022-09-02 16:22:54 +03:00
Anton Khorev
f1cf1be64a Put span inside stretched link to improve text selection 2022-09-02 16:03:52 +03:00
Anton Khorev
5da7215873 Stretch changeset links in history lists 2022-09-01 22:45:09 +03:00
Anton Khorev
351a785949 Remove geolink and close button nesting 2022-09-01 00:42:50 +03:00
Tom Hughes
b36df9286a Merge remote-tracking branch 'upstream/pull/3668' 2022-08-31 17:44:48 +01:00
Andy Allan
f6dd80e87d Use named arguments for button-variant mixins
This is much clearer than relying on positional arguments, and is
also required for future upgrades to bootstrap.
2022-08-31 14:42:03 +01:00
Anton Khorev
2da8855cc2 Fix eslint errors 2022-08-28 00:53:53 +03:00
Anton Khorev
f41b5558b7 Position directions close button with flex 2022-08-28 00:32:50 +03:00
Anton Khorev
5a256a6f2b Position 'too many features' close button with flex 2022-08-27 23:50:23 +03:00
Anton Khorev
4ef55ac3aa Position Leaflet sidebar close buttons with flex 2022-08-27 23:15:04 +03:00
Anton Khorev
9acde429bf Inverted onAdd() method of sidebar panes 2022-08-27 22:55:19 +03:00
Anton Khorev
71e7208a0a Create pane button fn 2022-08-27 20:54:37 +03:00
Anton Khorev
8a02bd67d9 Create Leaflet sidebar pane control with header writer fn 2022-08-27 20:33:44 +03:00
Kiel Hurley
778f6a8e36
Correct name in graphhopper.js
When using directions, the footer says "Directions courtesy of Graphhopper"
2022-08-17 13:19:25 +12:00
Andy Allan
f16d497703 Remove the user menu focus overrides
This restores the outline effect when the button is focussed using
keyboard navigation.

Refs #3633
2022-08-03 18:59:32 +01:00
Tom Hughes
7e5d47e6a8 Merge remote-tracking branch 'upstream/pull/3644' 2022-08-03 18:45:47 +01:00
Tom Hughes
47e585f94f Merge remote-tracking branch 'upstream/pull/3646' 2022-08-03 18:45:15 +01:00
Andy Allan
e443ec7587
Merge pull request #3634 from AntonKhorev/map-key-tooltip
Fix tooltips
2022-08-03 15:38:58 +01:00
Andy Allan
68776e378c Fix remaining tooltips, and add tests
These were broken during the upgrade to bootstrap 5

Fixes #3632
2022-08-03 15:20:50 +01:00
Andy Allan
d235b12767 Enable focus styling for leaflet control buttons
Fixes #3633
2022-08-03 14:58:40 +01:00
Andy Allan
08020fff63 Switch reverse_directions link to use a button
This makes it keyboard selectable, and also preserves the event
handler.

Refs #3637
2022-08-03 14:10:52 +01:00
Andy Allan
6b69655812
Merge pull request #3631 from AntonKhorev/bootstrap-close
Use Bootstrap close button
2022-08-03 11:47:08 +01:00
Tom Hughes
e9f62a8c30 Rename piwik to matomo and merge configuration into settings 2022-08-01 22:42:04 +01:00
Anton Khorev
cbb8772685 Fix map key tooltip 2022-07-28 22:15:08 +03:00
Anton Khorev
89095c8981 Fix eslint errors 2022-07-27 21:36:54 +03:00
Anton Khorev
bb868e0b11 Merge master with css changes 2022-07-27 21:28:12 +03:00
Anton Khorev
eb0f6d5952 Fixed welcome banner close button 2022-07-27 21:10:49 +03:00
Anton Khorev
4000a4004b Changed feature close buttons to Bootstrap 2022-07-27 21:02:16 +03:00
Anton Khorev
66e526c2d5 Changed directions close button to Bootstrap 2022-07-27 20:54:47 +03:00
Anton Khorev
0322ed4295 Changed close buttons of banner and other leaflet sidebars to Bootstrap 2022-07-27 20:22:20 +03:00
Anton Khorev
5ed2bfc950 Changed sidebar close button to Bootstrap 2022-07-27 19:35:29 +03:00
Andy Allan
1bf671f684 Rework welcome and fixthemap pages
* Use lead class for lede paragraphs
* Change headings to start from h2
* Remove custom css and use bootstrap utilities where required
2022-07-27 16:32:16 +01:00
Andy Allan
64b470aa3c Remove font size overrides for code and pre blocks
These are taken care of, where necessary, by bootstrap
2022-07-27 13:24:07 +01:00
Andy Allan
f1d60e05c4 Remove font size overrides from sidebar headings
These were interfering with the response font sizing via RFS
2022-07-27 13:23:03 +01:00
Andy Allan
2b97658786 Bootstrap 5: Fix table striping background colour 2022-07-20 18:49:10 +01:00
Andy Allan
9963fcffc0 Bootstrap 5: Override button text colours, force to white 2022-07-20 14:43:00 +01:00
Andy Allan
ac07a79078 Use bootstrap variables to style links
Bootstrap 5 now has a hover color, and instead of trying to override
with CSS, it's easier to use the variables instead.
2022-07-20 14:43:00 +01:00
Andy Allan
934d81aa55 Bootstrap 5: Replace all form-group classes with mb-3 2022-07-20 14:42:57 +01:00
Andy Allan
a4af46ef47 Bootstrap 5: Override float attribute on legends
I don't fully understand why bootstrap added this in v5, as the
discussion on the issue tracker isn't clear. But we neither want
nor need this.
2022-07-20 14:41:55 +01:00
Andy Allan
779167e493 Bootstrap 5: Enable negative margins 2022-07-20 11:13:33 +01:00
Martin Raifer
99ed67cc3b
optimize image file size 2022-07-17 21:55:55 +02:00
Martin Raifer
7f8b16600b
remove blue circle in top right corner, improving contrast with "x" button 2022-07-17 21:47:10 +02:00
Martin Raifer
ef56e11e58
add banner for sotm 2022 2022-07-16 21:48:06 +02:00
Tom Hughes
ed4549afab Fix eslint warnings 2022-06-26 19:56:27 +01:00
Tom Hughes
0b02fcf421 Merge remote-tracking branch 'upstream/pull/3577' 2022-06-19 12:38:08 +01:00
faebebin
05d2eba921 Fix map edit controls min-zoom behaviour
The map dropdown and tooltip of the map edit controls should
behave similar when zooming in and out.
This is achieved by disabling the button-group and the buttons.
2022-06-19 11:10:29 +02:00
Martin Raifer
66656e1d1d
only parse hashParams if there is a hash
Presumably this was an oversight in the original implementation, as `OSM.params` falls back to the page's `query` string if the function's parameter (here: the page's `hash`) is an empty string.

This fixes some inconsistent behaviour of the website. In the example below, the first URL sets the `background` to `none` while in the second example it doesn't.

* https://www.openstreetmap.org/edit.html?background=none
* https://www.openstreetmap.org/edit.html?background=none#map=
2022-06-14 20:41:10 +02:00
Martin Raifer
c55d346d5f
Update to iD v2.21.0
major changes in this release:
* dropped support for Internet Explorer 11
* switched authentication to OAuth 2

for further changes please refer to https://github.com/openstreetmap/iD/blob/release/CHANGELOG.md#2210
2022-06-03 15:32:27 +02:00
Tom Hughes
a3617b492e Drop AOL and Wordpress login links
Fixes #3555
2022-05-20 18:25:15 +01:00
Tom Hughes
877867537b Fix eslint warning 2022-04-18 14:23:02 +01:00