diff --git a/authors.txt b/authors.txt index 072416d55a..3b43ca2b06 100644 --- a/authors.txt +++ b/authors.txt @@ -1,25 +1,25 @@ -OpenLayers contributors: -Howard Butler -Bertil Chaupis -John Cole -Jeff Dege -Schuyler Erle -Christian López Espínola -John Frank -Sean Gilles -Pierre Giraud -Andreas Hocevar -Philip Lindsay -Corey Puffault -Tim Schaub -Christopher Schmidt -Cameron Shorter -Paul Spencer -James Stembridge -Erik Uzureau -Bill Woodall -Steve Woodbridge - - -OpenLayers is graciously supported by MetaCarta, Inc. -. +OpenLayers contributors: +Howard Butler +Bertil Chaupis +John Cole +Jeff Dege +Schuyler Erle +Christian López Espínola +John Frank +Sean Gilles +Pierre Giraud +Andreas Hocevar +Philip Lindsay +Corey Puffault +Tim Schaub +Christopher Schmidt +Cameron Shorter +Paul Spencer +James Stembridge +Erik Uzureau +Bill Woodall +Steve Woodbridge + + +OpenLayers is graciously supported by MetaCarta, Inc. +. diff --git a/customization b/customization index f4b5b98aa9..61b4184e7c 100644 --- a/customization +++ b/customization @@ -1,49 +1,49 @@ -Customizing OpenLayers -====================== - -OpenLayers is designed to fit many needs -- fitting in alongside all kinds of -various applications which are currently in use. - -Currently, OpenLayers supports a 'theme' option when creating a map. This -theme option allows you to specify the location of a CSS theme which should -be included. - -A default theme is available as an example in the theme/ directory: the setup -is: - - * theme/ - * theme/default/ - * theme/default/style.css - * theme/default/img/ - -Currently, the OpenLayers code does not support class names, and therefore, -it is not possible to control many aspects of OpenLayers code with CSS -classes. However, with this framework in place, we expect to invest time -to make existing features and new features use the CSS theming framework -where apropriate. - - -Class Naming -============ -Elements should have class names which are descriptive of the Javascript -class from which they come. For example, the main layer switcher element -in the OpenLayers.Control.LayerSwitcher would be classed: - - olControlLayerSwitcher - -This would allow users to add to their style.css class in their theme, -changing, for example: - -:: - - .olControlLayerSwitcher input { - width:10px; - } - -Sub elements of a particular control can add to the class name: - -:: - - .olControlLayerSwitcherBaseLabel { - color: red; - } +Customizing OpenLayers +====================== + +OpenLayers is designed to fit many needs -- fitting in alongside all kinds of +various applications which are currently in use. + +Currently, OpenLayers supports a 'theme' option when creating a map. This +theme option allows you to specify the location of a CSS theme which should +be included. + +A default theme is available as an example in the theme/ directory: the setup +is: + + * theme/ + * theme/default/ + * theme/default/style.css + * theme/default/img/ + +Currently, the OpenLayers code does not support class names, and therefore, +it is not possible to control many aspects of OpenLayers code with CSS +classes. However, with this framework in place, we expect to invest time +to make existing features and new features use the CSS theming framework +where apropriate. + + +Class Naming +============ +Elements should have class names which are descriptive of the Javascript +class from which they come. For example, the main layer switcher element +in the OpenLayers.Control.LayerSwitcher would be classed: + + olControlLayerSwitcher + +This would allow users to add to their style.css class in their theme, +changing, for example: + +:: + + .olControlLayerSwitcher input { + width:10px; + } + +Sub elements of a particular control can add to the class name: + +:: + + .olControlLayerSwitcherBaseLabel { + color: red; + } diff --git a/readme.txt b/readme.txt index fd23a71bbe..a675b7c3e6 100644 --- a/readme.txt +++ b/readme.txt @@ -1,3 +1,3 @@ -Automatically generated OpenLayers API documentation is online: - - http://dev.openlayers.org/docs/overview-tree.html +Automatically generated OpenLayers API documentation is online: + + http://dev.openlayers.org/docs/overview-tree.html