Commit Graph

78 Commits

Author SHA1 Message Date
Quincy Morgan
6fa7bfc067 Use autoprefixer for cross-browser CSS compatibility (close #7739) 2020-06-25 16:23:06 -04:00
Quincy Morgan
7fe82444c2 Make map pointer targets larger for pen and touch input (close #7643) 2020-06-01 12:25:16 -04:00
Quincy Morgan
36082a8119 Use ideditor as the container class instead of id-container
Scope all CSS to iD's container (close #7437)
Don't style html or body elements unless running standalone iD
2020-03-22 16:54:12 -07:00
Quincy Morgan
c893147e15 Convert some element ids to classes to avoid collisions when embedding iD 2020-03-20 13:53:17 -07:00
SilentSpike
51efd5b714 Update and standardise QA implementations
- ES6ify (now using class syntax to define QAItem objects)
- Fix bug with KeepRight marker rendering not updating properly
- Use `qa-` prefix for the UI element classes to differentiate from iD
validation error related UI element classes
- Move away from "error" where possible in source
- Move away from snake_case naming where possible

Note that some function/method names have been untouched to make life
easier for v3 development. Have added note comments where appropriate.
2020-02-06 23:07:50 +00:00
Quincy Morgan
7473d32e31 2.x: Highlight relation members in yellow when a relation is selected, including in a multi-selection (re: #5766, re: cf2935576511a1b9f5aac47407ed2b0ce803902a) 2019-12-13 11:20:40 -05:00
Quincy Morgan
00e8a125e2 Make point markers more circular with larger icons (close #6163)
Tweak the grey style of points linked to wikidata
2019-12-09 17:21:33 -05:00
Quincy Morgan
82acd82a29 Don't make edited vertex targets larger
Render vertex and point change highlight with some opacity
2019-10-10 18:58:39 +02:00
Quincy Morgan
ffdc4d8442 Ensure visual diffs work on lines that are uninteresting members of multipolygons (re: #6843) 2019-10-08 20:44:05 +02:00
Quincy Morgan
7d31c76546 Unify visual diff styles for lines and areas (re: #6843)
Render tag-only diffs in yellow instead of translucent orange
Don't use target colors for vertex diff styling
2019-10-08 20:25:09 +02:00
Quincy Morgan
2924d4619a Show visual diff for standalone points (re: #6843) 2019-10-07 16:33:35 +02:00
Quincy Morgan
f3e7bd9034 Render line and vertex visual diff on shadow instead of above everything (re: #6843)
Differentiate added lines and vertices from merely changed ones
2019-10-07 16:13:35 +02:00
Quincy Morgan
c031f2dd33 Merge branch '2.15' into 215_highlight_edits
# Conflicts:
#	modules/svg/areas.js
2019-10-07 10:49:52 +02:00
Huon Wilson
de2f052eb9 Change cliff direction marker to dark grey to match the line
Cliffs had their colour changed in 5f9bea67d, but the directional
arrow remained green.

Fixes #6918
2019-10-07 13:11:40 +11:00
Benjamin Clark
ad5025de3e Add support for area diffs. 2019-09-11 14:14:06 -04:00
Benjamin Clark
a0f85967b0 highlight edits now differentiates between tag edits and geometry edits for vertices/lines. 2019-09-11 13:02:12 -04:00
Benjamin Clark
a4dc7518c4 Add a hotkey to highlight edited ways. 2019-09-11 13:02:12 -04:00
Bryan Housel
06bdfbfb8a Use gray stroke on marker and lock icon on field for locked item 2019-05-20 15:36:10 -04:00
Bryan Housel
e7b3354db7 Render wikidata tagged items with green stroke only 2019-05-20 00:35:41 -04:00
Bryan Housel
344aec206c Support special styling for wikidata-tagged features 2019-05-18 23:57:23 -04:00
Bryan Housel
7e36ed0d93 Close seams in corners of highlighting strokes
(closes #6336)
2019-05-08 13:53:48 -04:00
Quincy Morgan
ae80c88f37 Render relation route icon lines dynamically (close #5926) 2019-04-08 19:58:50 -07:00
Quincy Morgan
1e7d37c54a Make preset icon lines visible on the light background 2019-02-13 15:41:01 -05:00
Quincy Morgan
09ec7ea802 Remove redundant line preset icons
Fix lint errors
2019-02-13 13:28:34 -05:00
SilentSpike
214cf41019 Use more generic classes for errors 2019-02-01 22:50:57 +00:00
SilentSpike
4d89810721 Add ImproveOSM service
Only processing one-way errors for now
2019-02-01 22:50:54 +00:00
Bryan Housel
fadd8e2e8a Switch KeepRight markers to use touch targets
This makes it easier to select the KeepRight issue and avoid selecting
the OSM geometry underneath them
2019-01-04 21:17:38 -05:00
Bryan Housel
cd9203975d Use touch targets for notes, fix a few bugs with note dragging
(closes #5213)
2019-01-04 15:48:39 -05:00
Thomas Hervey
1335549ad3 cleaned map data UI; commented sub-layer filtering 2018-12-19 13:43:08 -05:00
Bryan Housel
2e6652f8cb Fix oneway and sided markers for IE11/Edge 2018-11-30 15:57:16 -05:00
Huon Wilson
dd0be84da4 Add one-sided triangular markers to ways with sides (e.g. natural=cliff).
This generalizes the oneway arrow logic for adding SVG markers along a
line. Using that functionality, certain tags get arrows on their
right-hand side, indicating which side is "inside", e.g. the
right-side of a cliff is the lower side.

The list of tags considered to be sided (unless there's a
two_sided=yes tag) is:

- natural=cliff
- natural=coastline
- barrier=retaining_wall
- barrier=kerb
- barrier=guard_rail
- barrier=city_wall
- man_made=embankment

The triangles attempt to be reminiscent of the triangles used for
rendering cliffs on OSM (and elsewhere). The different tags get
different renderings (e.g. colors that match the main way, and
different spacings). In addition, natural=coastline is special-cased
to have blue markers (despite having a green way), to emphasise that
the "inside" of a coastline is the water.

Fixes https://github.com/openstreetmap/iD/issues/1475.
2018-11-28 01:45:50 +11:00
Bryan Housel
cc71f924f3 Fix stacking order in turn restriction editor 2018-11-09 22:54:07 -05:00
Bryan Housel
3bc841e95b Adjust layer ordering to draw touch targets above data layers 2018-11-09 21:48:45 -05:00
Quincy Morgan
b24256973f Makes relation members highlighted via hovering on list items more prominent 2018-10-13 23:04:35 -07:00
Bryan Housel
48e233e4a3 Move some css rules around, add hash and geometry.type to css classlist 2018-08-24 10:39:03 -04:00
Bryan Housel
575c98ab28 Accept both file and vector tile url templates from settings screen 2018-08-21 01:25:24 -04:00
Bryan Housel
4b446e9e78 WIP merge 'gpx' and 'mvt' layers into single 'data' layer 2018-08-17 13:03:07 -04:00
Bryan Housel
0334e7b353 Visibility stuff
- Draw ellipse below note shadow
- Use brighter color for new note
- Use thicker stroke for note shadow (same width as point)
2018-07-24 00:16:37 -04:00
Thomas Hervey
e23ef4ba4a redraw on note drag. TODO: change dispatch call 2018-07-23 15:09:25 -04:00
Thomas Hervey
373353f40d added breathe behavior & cleaned hover/select styling on notes 2018-07-21 15:54:47 -04:00
vershwal
eb8bf19b78 button appeared 2018-06-18 01:21:06 +05:30
Bryan Housel
749357eb03 Fix fills for preset icons, remove iD sprite and idraw files
(closes #3924)
2018-06-08 23:10:07 -04:00
Bryan Housel
104e8cea5c Adjust color for better visibility 2018-02-20 16:16:10 -05:00
Bryan Housel
7559ff68df Highlight all the paths when hoving on the from 2018-02-20 15:45:44 -05:00
Bryan Housel
bbeb34626b Show really thick path shadows in the turn restriction editor 2018-02-20 10:47:03 -05:00
Bryan Housel
200098dff9 Render restriction paths with red/green/blue shadow 2018-02-19 21:30:47 -05:00
Bryan Housel
6570365413 Use dark halo around text, switch to svgPath to get viewport clipping 2018-01-23 00:29:07 -05:00
Bryan Housel
34c170f6ca Merge pull request #4678 from nnodot/increase-gpxlabels-readability
Increase GPX labels readability
2018-01-22 23:32:43 -05:00
Bryan Housel
b0cba113e9 Fix directional vertices on IE11/Edge
(closes #4710)
2018-01-19 20:32:45 +00:00
Nicolas Decoster
c796a9de12 Increase GPX labels readability 2018-01-10 15:42:56 +01:00