Commit Graph

737 Commits

Author SHA1 Message Date
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
Saman Bemel-Benrud
541ac0ad51 friendlier access form. 2013-04-15 12:27:53 -04:00
saman bb
abaa20a67e sprite stuff. 2013-04-14 23:50:36 -04:00
saman bb
c87bf425e7 styled radio menus. 2013-04-14 23:37:19 -04:00
Saman Bemel-Benrud
828a108312 fine-tuning bg adjustment ui. 2013-04-08 19:31:22 -04:00
Saman Bemel-Benrud
bce352f27a reworked background reset button. 2013-04-08 19:21:21 -04:00
Saman Bemel-Benrud
53ab4d0419 moving to SVG for UI graphics. 2013-04-08 17:29:09 -04:00
John Firebaugh
872b148bc0 Add access field (#934) 2013-04-06 17:55:53 -07:00
Ian B
6220e2a124 Update aeroway=runway style to cater for areas 2013-04-05 22:08:02 +02:00
John Firebaugh
e950042922 Fix cursors, add tests 2013-04-05 11:57:13 -07:00
Ansis Brammanis
f356e3e357 fix cursors 2013-04-05 14:24:58 -04:00
Saman Bemel-Benrud
be9f8e21be fixing cursor stuff. 2013-04-04 18:27:00 -04:00
Saman Bemel-Benrud
bbede6f33d properly implemented retina cursors (i think?) 2013-04-04 18:22:11 -04:00
Saman Bemel-Benrud
4944592aff adding rules for retina cursors. 2013-04-04 17:44:20 -04:00