[GeoNetwork-devel] Proposal to add customization on images and CSS stylesheets using themes

Dear PSC members,

Proposal to add customization on images and CSS stylesheets using themes to GeoNetwork trunk (2.5 Unstable) is available at:

http://trac.osgeo.org/geonetwork/wiki/ThemeCustomization

I will attach a patch to the proposal tomorrow.

Thanks to François for his first development in GéoSource sandbox.

Cheers,
Mathieu

Hi Mathieu,
Thanks for the proposal. I like the concept and have a couple of questions before voting.

  • Do you have a second theme available that is more generic GeoNetwork? Maybe a green version of what is blue now for instance.
    Concerning the CSS:
  • I think a cleanup of the current CSS is required first.
  • Overriding CSS templates seems the best way forward for me instead of using a full copy. It should make maintenance of themes in the long run easier as the CSS files in the themes will be smaller.
  • The sample theme to be included should be the template to be used for new themes.

At a later stage we will need to rework the GUI by replacing tables with divs. I guess that is out of scope for you now!?

Looking forward to your responses.
Ciao,
Jeroen

On 22 apr 2010, at 18:12, Mathieu Coudert wrote:

Dear PSC members,

Proposal to add customization on images and CSS stylesheets using themes to GeoNetwork trunk (2.5 Unstable) is available at:

http://trac.osgeo.org/geonetwork/wiki/ThemeCustomization

I will attach a patch to the proposal tomorrow.

Thanks to François for his first development in GéoSource sandbox.

Cheers,
Mathieu



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

hello,

in addition to Jeroen’s remark about replacing the table-based layout with a div-based layout, I’d also like for us to finally settle on a defined output format. XHTML Strict would be my preference, though HTML Strict would also be fine.

When we’ve done the div-thing, it also becomes possible to create some really radically different layouts, a la http://www.csszengarden.com/. It would be nice to have a couple of very different designs by way example.

My 2$

Heikki Doeleman

On Fri, Apr 23, 2010 at 2:34 PM, Jeroen Ticheler <Jeroen.Ticheler@anonymised.com> wrote:

Hi Mathieu,
Thanks for the proposal. I like the concept and have a couple of questions before voting.

  • Do you have a second theme available that is more generic GeoNetwork? Maybe a green version of what is blue now for instance.
    Concerning the CSS:
  • I think a cleanup of the current CSS is required first.
  • Overriding CSS templates seems the best way forward for me instead of using a full copy. It should make maintenance of themes in the long run easier as the CSS files in the themes will be smaller.
  • The sample theme to be included should be the template to be used for new themes.

At a later stage we will need to rework the GUI by replacing tables with divs. I guess that is out of scope for you now!?

Looking forward to your responses.
Ciao,
Jeroen

On 22 apr 2010, at 18:12, Mathieu Coudert wrote:

Dear PSC members,

Proposal to add customization on images and CSS stylesheets using themes to GeoNetwork trunk (2.5 Unstable) is available at:

http://trac.osgeo.org/geonetwork/wiki/ThemeCustomization

I will attach a patch to the proposal tomorrow.

Thanks to François for his first development in GéoSource sandbox.

Cheers,
Mathieu



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel

GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork



GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Thanks Jeroen and Heikki for feedbaks,
FYI, I provided a patch today attached to the proposal page [1].

Please my comments inline below.

  • Do you have a second theme available that is more generic GeoNetwork? Maybe a green version of what is blue now for instance.

In fact, I do not for now. I didn’t think about the fact to commit a sample theme in trunk as default one (geonetwork theme) is already one for me and it will be heavy to just commit another images repository only for changing CSS color… IMHO, it isn’t worth it, but if others think the contrary, I will add a sample theme.

Concerning the CSS:

  • I think a cleanup of the current CSS is required first.

For sure, but it’s not an easy task you ask me, and I’m not sure I will have enough time for that before 2.5.0 code freeze…
It could be a nice thing to do in Bolsena maybe… Or maybe during the general GUI refactoring replacing Intermap by Openlayers & all…

  • Overriding CSS templates seems the best way forward for me instead of using a full copy. It should make maintenance of themes in the long run easier as the CSS files in the themes will be smaller.

I agree with that but current CSS stylesheet is not easy to maintain and override, that’s why my first choice was to use the copy…
That’s something we could easily modify in that proposal if we would like to enhance it at a later stage I guess.

  • The sample theme to be included should be the template to be used for new themes.

At a later stage we will need to rework the GUI by replacing tables with divs. I guess that is out of scope for you now!?

Indeed, that’ another issue and not a small one! :wink:

[1] http://trac.osgeo.org/geonetwork/attachment/wiki/ThemeCustomization/theme.patch

ciao,
Mathieu