Commit graph

62 commits

Author SHA1 Message Date
Tom Hughes
d65c12b5ad Improve styling of notice and alert boxes 2012-03-29 18:32:48 +01:00
Tom Hughes
6e047b67f0 Tweak the mobile style a little 2012-03-29 00:29:40 +01:00
Tom Hughes
bd14832cb5 Rearrange layer switcher assets 2012-03-28 21:18:47 +01:00
Tom MacWright
8f4ed911e0 Introduce a new layer switcher
The new layer switcher behaves the same as the standard one but
has less cruft and more attractive styling.
2012-03-28 21:06:08 +01:00
Tom Hughes
4c612f6f4d Move swfobject to the vendor assets tree 2012-03-25 22:49:23 +01:00
Tom Hughes
365163929d Make sure text in Markdown help is aligned correctly 2012-03-23 00:19:06 +00:00
Tom Hughes
66caf92bd9 Improve styling of notice boxes to match new sidebar styling 2012-03-21 10:43:05 +00:00
Tom Hughes
be585d1403 Improve styling of alert boxes to match new sidebar styling 2012-03-21 10:38:12 +00:00
Tristen Brown
cf1d12fe7d Make the disabled state of the primary menu items more obvious 2012-03-18 00:08:19 +00:00
Tom Hughes
5e4357dd14 Only reload the preview if the content has changed 2012-03-17 16:36:58 +00:00
Tom Hughes
eb789dbf75 Show an animation while a preview is loading 2012-03-17 16:36:58 +00:00
Tom Hughes
561f2f694a Add preview functionality to rich text controls 2012-03-17 16:36:57 +00:00
Tom Hughes
b6163f0fc2 Grow text areas automatically in response to input 2012-03-17 16:36:57 +00:00
Tom MacWright
701325e9ef Change abstraction level for map functions
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom Hughes
fe5cbadf3d Adjust width of donate box so it centres properly 2012-03-14 17:44:45 +00:00
Tom MacWright
dc48c9a510 Front page copy revision
This edits the front page copy to be more direct, link off to more
useful resources, and guide people to register for an account. It
also moves partner links to below the donate link.
2012-03-14 17:33:00 +00:00
Tom Hughes
05aa7f377e Adjust left and right padding on the introductory text
The sidebar changes have increased the padding for the search box
and links menu, so change the introductory text to match.
2012-03-14 10:13:28 +00:00
Tom MacWright
ae8cc604a1 Move the diary link to the sidebar
Restructure the links section in the sidebar to split it into two
major groups, help and community and move the diary link from a tab
to the community section of the sidebar.
2012-03-14 10:12:36 +00:00
Tom MacWright
d13f0b7088 Remove dead code 2012-03-13 08:46:58 +00:00
Tom MacWright
40402fcdb8 Fix some issues with the new tab styling
Uses the parent of the tabnav element to do its positioning, and fixes
this style in RTL and small.

Also move the greetings block into the top-bar div in order to cleanly
have it share a border with tabs.
2012-03-04 10:37:46 +00:00
Tom MacWright
86946536ec Set overflow to auto to gracefully hide tabs before small mode is engaged 2012-03-04 10:37:39 +00:00
Tom Hughes
48ad9eff45 Remove unused image 2012-03-04 10:37:33 +00:00
Tom MacWright
839b6daf05 Restyle the tabs as simple blocks 2012-03-04 10:37:26 +00:00
Tom Hughes
b61e414356 Rename "Mapnik" to "Standard" in the layer switcher 2012-03-01 12:18:55 +00:00
Tom Hughes
acbd254e4a Remove the osmarender map layer 2012-03-01 09:45:41 +00:00
Tom MacWright
7b6d0f0313 Simplify login page
Moves action buttons to be with the form instead of way over on
the opposite side of the page.

Reorganizes "remember me" to a more typical spot on the page.

Get rid of separate "create account" panel and replace it with an
above the fold link.
2012-02-29 00:13:09 +00:00
Tom Hughes
bdf476d8cf Make sure we don't attach alert handler multiple times
Before adding a "not zoomed in enough" alert handler, make sure any
existing handler is removed. Fixes #17.
2012-02-21 19:22:01 +00:00
Tom Hughes
f2150a94cf Serve up paperclip attachments in a cache friendly way 2012-02-21 12:31:38 +00:00
Tom Hughes
3d01016980 Restore borders to maps on various pages 2012-02-15 17:47:42 +00:00
Tom Hughes
a3c83f8623 Don't remove the content area border on the copyright page 2012-02-14 12:03:54 +00:00
Tom Hughes
73b8e6f0ad Use the same subhead style for search results as export 2012-02-12 15:36:02 +00:00
Tom Hughes
daae34672e Tidy up the stylesheets 2012-02-12 15:17:43 +00:00
Tom Hughes
2e6852b1a6 Improve sidebar styling a little 2012-02-12 15:17:43 +00:00
Tom MacWright
3c4b20c160 Fix sidebar border and padding, tweak styles to simplify borders
Move font sizes and line heights up in the stylesheet structure
to make the left element more uniform. Make the padding of the
menu the same as the other elements.
2012-02-12 15:17:43 +00:00
Tom Hughes
55e0c231cf Tidy up the stylesheets 2012-02-12 15:17:43 +00:00
Tom MacWright
c241c3c312 Cleanup style
This is a mild restyling of OpenStreetMap. Changes include:

  * Remove margin from map, add more margin to text content
  * Rearrange permalink & link buttons and gives them a background
  * Pull OpenStreetMap text below logo along with subtitle
  * Simplify sidebar styling
  * Move towards a baseline, start to consolidate text size and line height

This is tested with LTR, RTL, and the compact mode, and looks good. Looks
more uniform in older browsers because it relies less on round corners.
2012-02-12 15:17:43 +00:00
Tom MacWright
eb8efa0a4b Fixes and cleanups suggested by JSHint 2012-02-01 00:25:10 +00:00
Tom Hughes
ae9131bc8e Allow OpenStreetMap.js to work with an unpatched OpenLayers 2011-12-31 00:25:04 +00:00
Tom Hughes
2a84871de6 Serve OpenSearch definition though the assets pipeline 2011-12-30 22:37:11 +00:00
Tom Hughes
b8445ad3b2 Serve the favicon through the assets pipeline 2011-12-30 22:32:55 +00:00
Tom Hughes
4fb53e9619 Fix OpenLayers image URL rewriting 2011-12-30 19:05:40 +00:00
Tom Hughes
da78800060 Patch OpenLayers to make URL rewriting easier
This provides a single routine that can be overridden to rewrite
all image URLs to use the asset pipeine.
2011-12-30 18:32:53 +00:00
Tom Hughes
90f119d976 Fix loading of blank tiles on some browsers to use the asset pipeline 2011-12-19 17:56:00 +00:00
Tom Hughes
6e508a7b70 Get the print stylesheet working again 2011-12-08 00:28:08 +00:00
Tom Hughes
9afbaf1984 Avoid having to condition on mobile mode 2011-11-26 18:12:58 +00:00
Dan Karran
080d347d8f Mobile layout improvements
Make the map fill the available space on smaller screens, and
style the search results sidebar a bit better when ?query= is
added to the URL to trigger the search.
2011-11-26 17:38:00 +00:00
Tom Hughes
13289d4041 Switch from Prototype to jQuery 2011-11-26 00:22:31 +00:00
Tom Hughes
4368ba9f11 Wrap the OpenLayers.Util.createDiv routine 2011-11-26 00:15:12 +00:00
Tom Hughes
5275794aec Wrap another OpenLayers image creation routine 2011-11-26 00:07:45 +00:00
Tom Hughes
61e756c625 Handle openlayers.js as a template 2011-11-25 23:14:16 +00:00