Commit Graph

1513 Commits

Author SHA1 Message Date
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
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
Bryan Housel
136e4556a7 Move spinner to flex-end, and some css cleanups 2018-11-05 12:22:20 -05:00
Quincy Morgan
f4a64c27a4 Keeps the raw tag editor buttons fixed-width using flexbox 2018-11-04 11:55:29 -08:00
Bryan Housel
458aeb4dbf Adjust tool groups slightly, let leading group shrink more. 2018-11-04 10:03:55 -05:00
Quincy Morgan
edca5f2d23 Fixes placement of .tag-barrier-hedge css line 2018-11-02 19:54:12 -07:00
Quincy Morgan
b2569e2554 Use the green stroke color to render barrier=hedge 2018-11-02 19:41:03 -07:00
Bryan Housel
26e63d64e3 Flexbox buttons in top bar
- Makes the "Sidebar" toggle button permanent but removes the label
- Did some things to the "Save" button to make it the same width whether there
  is a count or not (prevents the buttons from jumping when pressing undo/redo)
- Removes a lot of the floated col rules that aren't used much anymore
2018-11-01 23:42:26 -04:00
Bryan Housel
0baf3c2ead Merge pull request #5443 from quincylvania/resizable-sidebar
Resizable Sidebar
2018-10-31 15:42:37 -04:00
hikemaniac
fa17e7fda7 Merge branch 'master' into summer_toboggan 2018-10-28 19:51:51 +01:00
hikemaniac
a36ebf3357 Added preset and rendering for attraction=summer_toboggan 2018-10-28 18:17:30 +01:00
Quincy Morgan
a0b0337ab4 - The sidebar can be now be resized by dragging the divider (closes #3447)
- Dragging the sidebar below a minimum size collapses it
- A button in the top toolbar lets you uncollapse the sidebar, complete with icon and tooltip
- Double-clicking the divider toggles the sidebar collapse
- Collapse-toggling is animated
- Selecting a feature or ending an add-feature mode auto-opens the sidebar
- Photoviewer UI has been moved from init.js to photoviewer.js
- The photoviewer now has a slight margin to set it away from the sidebar
- The undo/redo, save, and progress indicator controls are now floated to the right
- The save count has been redesigned to visually integrate with the save button
- When the sidebar is collapsed, the mode buttons are centered
- Full right-to-left layout support for all of the above
2018-10-27 17:05:50 -07:00
Quincy Morgan
4037d0306d Makes the styling of paths with location=underwater the same as tunnels or location=underground 2018-10-27 10:55:10 -07:00
Quincy Morgan
38bfeb852d Adds custom CSS styling for ferry routes
Closes #5414
2018-10-18 18:31:43 -07:00
Quincy Morgan
169a92df7c Fixes label button wrap on right-to-left layouts 2018-10-15 21:20:44 -07:00
Quincy Morgan
ffe38c7975 Adds a button to the relation member list item for zooming to the feature without selecting it
Adds "remove" tooltip to the delete relation member button
2018-10-15 20:41:45 -07:00