Commit Graph

750 Commits

Author SHA1 Message Date
Saman Bemel-Benrud
d8308cbb6c icon+tooltip for 'report a bug' link in footer 2013-05-15 17:15:49 -04:00
Saman Bemel-Benrud
8159f075e9 backtracking on changes to about section. 2013-05-15 17:08:04 -04:00
Saman Bemel-Benrud
6ecbf3778f cleanup / polish new changes 2013-05-15 16:57:04 -04:00
Saman Bemel-Benrud
be933a72cb style cleanup + fleshed out translate UI 2013-05-15 16:15:42 -04:00
Saman Bemel-Benrud
a88deef839 adding translate icon to sprite + css. 2013-05-15 14:19:56 -04:00
Saman Bemel-Benrud
0bdea49ffb minor cosmetic + ui improvements. 2013-05-15 14:08:25 -04:00
Saman Bemel-Benrud
e97a957e0a remove left border from modal header button. 2013-05-15 13:19:18 -04:00
John Firebaugh
16e05fd657 Revert "Don't use :active pseudo-class"
Now seeing this cause poor pan performance.

This reverts commit 9fafd6b56a.
2013-05-13 14:16:14 -07:00
John Firebaugh
1a6a9b5b9e Better way of doing hover suppression 2013-05-13 12:53:03 -07:00
John Firebaugh
fd1573fa08 Abandon iD.svg.MemberClasses
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
9fafd6b56a Don't use :active pseudo-class
It's slow (500 ms recalculate style vs 1ms).
2013-05-13 09:49:29 -07:00
John Firebaugh
feed896baa Remove unnecessary pseudo-selector
This was causing a hugely expensive style recalculation
on map mouseover/exit.
2013-05-13 09:49:18 -07:00
John Firebaugh
70e5411114 Optimize vertex rendering
* Cache icon
* Append rather than insert
* Do fewer things on update
* Don't create a fill unless needed
* Don't apply tag and member classes (never used)
* Drop down to raw setAttribute (d3 is slow :trollface:)
2013-05-13 09:37:48 -07:00
John Firebaugh
a53d5cbb44 Optimize label hover
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 11:47:48 -07:00
John Firebaugh
1b72bba425 Workaround Opera SVG event dispatch bug
Opera will not dispatch mouse events to an absolutely
positioned SVG element:

http://bl.ocks.org/jfirebaugh/6fbfbd922552bf776c16

We need layers to be absolutely positioned in order to
obtain the correct positioning and z-order simultaneously.
Therefore we must wrap the SVG in a div and absolutely
position that instead.

Fixes #1416.
2013-05-09 14:50:51 -07:00
John Firebaugh
96c7f9b942 Workaround Opera vertical resize bug 2013-05-09 10:17:31 -07:00
John Firebaugh
23d70230fc Update maki (fixes #1429) 2013-05-08 17:39:35 -07:00
John Firebaugh
79ae9346e7 Simplify layer structure
Also, always give SVG elements an explicit size -- seems
to be necessary for Firefox to render them correctly.

Fixes #1436.
2013-05-08 13:10:55 -07:00
John Firebaugh
8454754d25 Fix gpx layer display (fixes #1436) 2013-05-08 11:48:36 -07:00
Tom MacWright
76312fb51a Fix #1443 geocode result style 2013-05-08 10:47:04 -04:00
Martin Raifer
a9dbd277c5 use fill:none instead of fill:transparent
`transparent` is not a valid [svg](http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint) [color](http://www.w3.org/TR/SVG/types.html#DataTypeColor). Use `none` instead.
2013-05-08 17:15:19 +03:00
Tom MacWright
9ef274a268 Revert last commit, hides features on pan 2013-05-08 09:43:49 -04:00
Tom MacWright
2871e74e3d Specify that layers have width and height. Fixes #1436 /cc @jfirebaugh 2013-05-08 09:39:17 -04:00
Ansis Brammanis
823d28339c add styles of schools, universities, pitches
fixes #1389
2013-04-30 15:56:04 -04:00
John Firebaugh
bcbd85e9d2 Fix icon on tag editor page 2013-04-29 15:43:10 -07:00
John Firebaugh
31b3f2887a Merge branch 'preset-list' 2013-04-29 14:50:54 -07:00
John Firebaugh
13d7144298 Remove preset list limit, fix insertBox 2013-04-29 14:48:25 -07:00
Tom MacWright
2e7677ded0 Add share on facebook button. Fixes #1342 2013-04-27 16:21:33 -05:00
John Firebaugh
62e53fc98b Transform supersurface on pan/zoom 2013-04-26 17:40:45 -07:00
Ansis Brammanis
c02bafac2e fix display of preset description 2013-04-26 15:35:27 -04:00
Ansis Brammanis
2355dc228d switch from preset grid to preset list
issue #1225
2013-04-26 12:17:16 -04:00
Ansis Brammanis
4eccd7015f corner destroying resampling for oneway markers 2013-04-25 18:41:49 -04:00
John Firebaugh
275696caaa Fix icons for lines that use maki (fixes #1371)
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
a2f86154ce Also show vertices on hover in draw modes 2013-04-23 16:52:32 -07:00
John Firebaugh
29e5bf1f2f Hack an icon for name add button (#1300) 2013-04-23 14:22:10 -07:00
John Firebaugh
d8751fad8d Polish spriting code
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
  fragile stylesheet grepping.
2013-04-23 09:45:37 -07:00
Ansis Brammanis
1021850300 float the description image right
issue #1353
2013-04-23 12:44:31 -04:00
John Firebaugh
5f7409616f Close up space in map controls when embedded (#1329) 2013-04-22 15:34:04 -07:00
John Firebaugh
e35fe0b581 Merge branch 'dist' 2013-04-22 12:10:01 -07:00
John Firebaugh
aedd5ee46e Create a dist directory
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.

Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ansis Brammanis
0dc7159b82 fix line preset icon offset 2013-04-22 13:31:53 -04:00
tyr
e447d532f3 use 100% for browsers without calc() support 2013-04-21 10:54:43 +02:00
tyr
1bf784ed15 fixing typo in css ("-" instead of "+" - see unprefixed css property below) 2013-04-21 10:49:37 +02:00
Ansis Brammanis
d21d52d905 add maki as dependency, new sprite script
issue #1319
2013-04-19 14:51:48 -04:00
Ansis Brammanis
21c89f22dc export line preset sprite straight from inkscape
We could also use an svg sprite, just swapping the
one line in line-presets.css, but it seemed to
make scrolling the preset grid significantly
less smooth in Firefox.
2013-04-19 12:27:57 -04:00
Ansis Brammanis
e893f686ca add postal code field, fixes #1292 2013-04-18 16:45:48 -04:00
Ansis Brammanis
e2f9f57410 improve navigating saving with keyboard 2013-04-17 18:45:42 -04:00
John Firebaugh
89a450dd2b Fix cursor-pointer CSS 2013-04-16 16:06:11 -07:00
Ansis Brammanis
dd35ed91d9 name field is now localizable 2013-04-16 16:32:39 -04:00
Ansis Brammanis
7e75ea4bad Notify users of API status 2013-04-16 12:36:58 -04:00