2186 Commits

Author SHA1 Message Date
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
Quincy Morgan
b24256973f Makes relation members highlighted via hovering on list items more prominent 2018-10-13 23:04:35 -07:00
Bryan Housel
ac341cdf5a Usability changes for parking lots
- Rename "Car Parking" to "Parking Lot"
- Rename "Multilevel Car Parking" to "Multilevel Parking Garage"
- Add red styling for Multilevel Parking Garage preset icon
2018-10-12 16:50:50 -04:00
Quincy Morgan
51b2335b96 Corrects CSS for focused preset list item button
Fixes arrow key navigation for right-to-left layouts
2018-10-11 19:04:01 -07:00
Quincy Morgan
3586451392 Adds custom CSS to man_made=pipeline features
Adds `location` as a secondary tag class
Adds the `tunnel` styling to lines tagged `location=underground`
2018-10-09 18:44:49 -07:00
J Guthrie
a916402c7f Changed styling of geocode-worldwide-search button 2018-10-08 15:18:40 +01:00
Max Grossman
0a31137c78 move maprules/mapcss to a service class
ref #remote-presets
2018-09-23 18:38:01 -04:00
Bryan Housel
0737499b7b Show bottom border for tablists for improved accessibility 2018-09-07 09:35:16 -04:00
Bryan Housel
12e0b399a1 Only show Detroit vector tiles when map is around Detroit
Also adds an "About" link to the github page.
2018-08-25 21:03:11 -04:00
Bryan Housel
cc938698e8 Add ability to select custom data 2018-08-25 11:14:04 -04:00
Bryan Housel
0a82ab125e Add uiDataEditor for inspecting custom map data 2018-08-25 10:10:04 -04:00
Bryan Housel
a9aca707b6 Support hovering on data features 2018-08-25 00:04:52 -04:00
Bryan Housel
7714e88f3d Support data area filling (full/partial/wireframe), shadow strokes 2018-08-24 14:07:00 -04: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
0ae4099ff6 Add custom data settings modal with file picker or vector tile url 2018-08-17 17:26:12 -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
eab7f3660b Put background settings into localstorage and dispatch change event 2018-08-11 18:17:07 -04:00
Bryan Housel
8af6d65e33 Switch from uiModal to uiConfirm, adjust styles
A few things going on in this commit:
- uiConfirm already has an OK button, so I'm trying to use that instead of uiModal.
- The confirm OK button cancels, which is maybe a problem. I might change it.
- Dispatch a change event instead of trying to call a function back in uiBackground
- Remove some of the custom css, since we already have some shared button css
- add utilNoAuto to textarea (this just prevents autocomplete and other
  annoying behaviors especially in Safari)
2018-08-11 11:38:05 -04:00
Bryan Housel
5367e97874 Merge branch 'custom' of https://github.com/vershwal/iD into vershwal-custom 2018-08-11 00:54:21 -04:00
Bryan Housel
f8f1c1f541 Ensure both notes and nodes can be dragged in selectNote mode 2018-08-09 23:25:06 -04:00
Bryan Housel
0be1705a0d Disable note and streetview interactivity except in browse/select modes
(closes #5202)
2018-08-06 14:27:32 -04:00
vershwal
542f3c523e Custom background 2018-08-05 17:46:48 +05:30
Max Grossman
b93444de75 working on isArea-ish equivalent for mapcss selector objects
ref #remote-presets
2018-08-02 18:03:13 -04:00
Bryan Housel
640596340e Improve the add-note icon in help, minor changes to help text 2018-07-24 12:40:16 -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
Bryan Housel
a3dc0e8213 Shrink annotations, add margin between note header and comments 2018-07-23 23:20:34 -04:00
Bryan Housel
eca326a1dd Improve the look of the Add Note button icon 2018-07-23 22:50:19 -04:00
Thomas Hervey
e23ef4ba4a redraw on note drag. TODO: change dispatch call 2018-07-23 15:09:25 -04:00
Thomas Hervey
658721a150 WIP: added note category, TODO: update input 2018-07-21 19:36:13 -04:00