Commit Graph

1527 Commits

Author SHA1 Message Date
Quincy Morgan
afcc474d3c Wikidata entity labels and descriptions are now fetched and displayed in the field, if present 2018-12-01 17:39:16 -08:00
Quincy Morgan
da58fc3462 Better specifies CSS selectors for form field labeled input list 2018-12-01 13:18:03 -08:00
Quincy Morgan
b0dccc81de Condenses CSS for access, cycleway, and structure field lists 2018-12-01 11:55:21 -08:00
Bryan Housel
a137c28fb3 Remove display: flex on tool button causing issue on Windows Firefox 2018-11-30 23:14:37 -05:00
Bryan Housel
2e6652f8cb Fix oneway and sided markers for IE11/Edge 2018-11-30 15:57:16 -05:00
Bryan Housel
6d7d204f75 Fix flexbox containers for checkbox and radio rows
(closes #5535)
2018-11-30 12:54:55 -05:00
Bryan Housel
031b081cd8 Fix a few things with hover styles, flexbox tag-reference-body 2018-11-30 01:22:45 -05:00
Bryan Housel
50d204866b Flexbox the raw member, membership controls, finish tag editor 2018-11-29 22:31:58 -05:00
Bryan Housel
a8f477f256 Fix the restrictions editor to display as block, not flex 2018-11-29 14:43:00 -05:00
Bryan Housel
838407b351 Fix up the flex css for radio, access, structure, wiki 2018-11-29 13:50:23 -05:00
Bryan Housel
d0612ba519 Fix css for address and wikipedia fields, fix hover styles 2018-11-28 23:20:52 -05:00
Bryan Housel
958d7fac4f wip changing all fields to use flexbox everywhere 2018-11-28 18:15:38 -05:00
Bryan Housel
4c2f14230b Merge pull request #5529 from huonw/arrows-for-cliffs
Add one-sided triangular markers to ways with sides (e.g. natural=cliff).
2018-11-27 11:15:48 -05:00
Bryan Housel
4533603a88 preset-input-wrap -> form-field-input-wrap
This better describes what it does.
Also, took this opportunity to update a bunch of the uifield code
(no multi line variable declarations, prefix state variables with _,
eliminate unnecessray lodash, etc)
2018-11-27 10:54:03 -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
7bf0af562c Make sure the form-field-label container has some height
This seems necessary for the multilingual name fields, which start out
minimized and have no height.  They transition in, and the browser
can't figure out what height to make them.
2018-11-27 09:24:46 -05:00
Bryan Housel
986b663c9e Get rid of extra form-label-button-wrap div
Buttons can now be directly appended to the form-field-label flex container
2018-11-27 09:14:11 -05:00
Bryan Housel
822917466c Display name suggestion presets on 2 lines
(closes #5514)
2018-11-26 21:55:13 -05:00
Bryan Housel
df91eb2959 Cleanup style, make sure multilingual fields always render 2018-11-26 17:13:55 -05:00
Bryan Housel
9341e477a6 Merge remote-tracking branch 'origin/master' into brand-name-protection 2018-11-26 15:27:56 -05:00
Bryan Housel
f6f146f79b Lock down some fields when a brand preset has been chosen 2018-11-26 15:13:40 -05:00
hikemaniac
c60db872fb Merge branch 'master' into leisure-rendering 2018-11-25 18:11:22 +01:00
hikemaniac
3b4330304f Add rendering for more leisure objects 2018-11-25 17:57:00 +01:00
Bryan Housel
329f54ff5e Merge pull request #5522 from hikemaniac/water_slide
Add rendering for attraction=water_slide
2018-11-24 22:43:50 -05:00
hikemaniac
8ac60c7087 Simplify CSS 2018-11-24 17:40:32 +01:00
hikemaniac
49421b1322 Add rendering for attraction=water_slide 2018-11-24 17:10:33 +01:00
Bryan Housel
ae063e9616 Make name and brand fields readonly on suggestion presets
(re #5515)
2018-11-23 23:44:52 -05:00
Quincy Morgan
e2b2649976 Merge pull request #5498 from quincylvania/form-field-flexbox
Flexbox preset field, member, and membership UI
2018-11-21 20:14:36 -05:00
Bryan Housel
2699418c3e Disable the name field when matching a suggestion preset
(re: #5515)
2018-11-21 12:40:12 -05:00
Quincy Morgan
39ce188488 Adjusts save count padding slightly 2018-11-20 18:31:33 -05:00
Quincy Morgan
49df1d0364 Visually centers the change count in the save button 2018-11-20 18:27:50 -05:00
Bryan Housel
8bb4af5798 disable ui zooming on IE and Edge
(re #5492)
2018-11-20 19:45:11 +00:00
RudyTheDev
ff8723e194 Add water waves fill pattern and pond-specific pattern 2018-11-18 22:12:40 +02:00
RudyTheDev
b18dfb4030 Add landfill fill pattern, farmyard pattern (and remove farm pattern), implement vineyard fill pattern 2018-11-18 21:39:09 +02:00
RudyTheDev
46f762c0a6 Add quarry fill pattern 2018-11-18 20:52:33 +02:00
RudyTheDev
f41bb055f2 Add fill patterns for cemetery most common religions 2018-11-18 20:41:58 +02:00
Quincy Morgan
7bad67ff76 Flexbox preset field, member, and membership UI 2018-11-18 11:28:48 -05:00
RudyTheDev
1e51d5ff23 Add new wetland fill patterns; clean up pattern selection code 2018-11-16 12:51:31 +02:00
RudyTheDev
99ace5c791 Expand fill pattern definitions with optional tag-value pair requirement; add forest/wood broadleaved, needleleaved and leafless patterns using the new rules 2018-11-16 02:22:18 +02:00
RudyTheDev
473cd60986 Add a new pattern "forest" for forest/wood; use dots for grass; use bushes (wetlands) for scrub 2018-11-15 16:40:40 +02:00
Bryan Housel
7d1710db15 Make sure the buttons are center-aligned
(closes #5481)
2018-11-12 16:59:33 -05:00
Bryan Housel
558dc03185 Show active vertex while dragging in wireframe mode 2018-11-09 23:24:40 -05: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
Bryan Housel
c5ad8adcc9 Preserve extra space at bottom of inspector to allow for dropdown options
(closes #5280)
2018-11-08 09:55:45 -05:00
Bryan Housel
a1dbdea725 Merge branch 'master' into flexbox-buttons 2018-11-07 10:13:40 -05:00
Bryan Housel
e31e84b109 Simplify some things I found confusing
- class the #sidebar itself as collapsed not the #id-container
- the #sidebar is the selection, so just use `selection` instead of
  `var sidebar = d3_select('#sidebar');`
  (which conflicts with the closure `sidebar()` function)
- have separate functions `expand` `collapse` `toggle` rather than a
  `toggle(shouldCollapse)`
2018-11-06 15:08:05 -05:00
Bryan Housel
bd98b87d46 Remove obselete Firefox rule for the bar width 2018-11-06 13:46:03 -05:00
Bryan Housel
c25a21226b Remove footer media queries, the li's will remove themselves on overflow
(closes #5437)

This means that the scale bar will never go away, it will be the last thing
remaining.
2018-11-06 13:31:05 -05:00
Bryan Housel
b4119ae1ad Class toolbars with narrow if we detect overflow happening
Also add css rules to drop labels from toolbar buttons if needed
2018-11-05 17:16:50 -05:00