OpenLayers OpenLayers

Ticket #193 (closed feature: fixed)

Opened 3 years ago

Last modified 3 years ago

Add ability to customize style via css

Reported by: euzuro Assigned to:
Priority: major Milestone: 2.3 Release
Component: general Version:
Keywords: Cc:
State:

Description

Give elements ids and labels and allow external stylesheets to change the look of the OL interface

Change History

08/21/06 08:37:02 changed by sgillies@frii.com

I propose that we use an "ol" prefix and append the appropriate javascript class name. For example:

  • olPopup
  • olPopupContent
  • olExtentRectagle

08/29/06 06:22:27 changed by crschmidt

OpenLayersAndCss has some documentation on this. A default stylesheet (possibly with alternatives) should go into css/ in the root directory. RossC0 is working on doing this to the current styles used in the OL code.

10/02/06 15:27:17 changed by sderle

  • priority changed from minor to critical.
  • milestone set to 2.2 Release.

10/05/06 09:04:39 changed by euzuro

From #272

Reported to dev list by Sean Gillies:

... [user can] accidentally select the WMS tiles from my base layer by clicking around the viewport. This was a bit disconcerting to him, not only because it causes a graying out of the map. You can see this behavior with the map on http://openlayers.org.

I've been able to solve this by setting -moz-user-select: none on the tile and control img elements. Is this a good solution? Any possible side-effects involving other aspects of OpenLayers?

0/01/06 18:44:05: Modified by anonymous

Thanks for the tip, it seems to work great (on firefox at least). I use it same like this;

<div id="map" style="moz-user-select: none"></div>

10/05/06 23:13:04 changed by crschmidt

  • priority changed from critical to major.
  • milestone changed from 2.2 Release to 2.3 Release.

Framework in place: documentation in source:/trunk/openlayers/doc/customization . As we complete more conversion to CSS (to resolve tickets, and adjust specific functionality requeseted by users with proper testing), comment here: this is a meta-ticket to hold information about skinnability requirements, not a specific release blocker.

10/06/06 10:19:18 changed by euzuro

  • summary changed from Skinnability to Add ability to customize style via css.

12/06/06 15:43:35 changed by crschmidt

  • status changed from new to closed.
  • resolution set to fixed.