Commit Graph

233 Commits

Author SHA1 Message Date
Max Grossman 5a1dfeec72 open combobox if anywhere on box clicked...
ref #5596
2018-12-20 08:47:37 -05:00
Bryan Housel 814c72fe42 Merge branch 'remote-presets' of https://github.com/radiant-maxar/iD into radiant-maxar-remote-presets 2018-12-18 15:15:11 -05:00
Bryan Housel a31fceeef0 Restore full width textareas on settings screens
(closes #5619)
2018-12-18 12:16:46 -05:00
Max Grossman 18c021b5d5 add css
ref #5614
2018-12-18 11:09:26 -05:00
Max Grossman 96e44be69c merge 2.12.2 2018-12-13 11:22:32 -05:00
Bryan Housel ec51ebb026 Fix flexbox of raw membership editor new row
(closes #5589)
2018-12-11 21:54:25 -05:00
Bryan Housel de59dd5d86 No padding needed for save count if it is being wrapped or narrow 2018-12-09 23:42:18 -05:00
Bryan Housel 5c9f9ac012 Always show save count 0.. makes responsivness easier
(closes #5576)
2018-12-09 23:31:52 -05:00
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 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 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
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
Quincy Morgan 7bad67ff76 Flexbox preset field, member, and membership UI 2018-11-18 11:28:48 -05:00
Bryan Housel 7d1710db15 Make sure the buttons are center-aligned
(closes #5481)
2018-11-12 16:59:33 -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
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
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 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 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
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