[Seaside] [Ann] Css composing

Keith Hodges keith_hodges at yahoo.co.uk
Wed Oct 17 05:19:18 UTC 2007


The latest addition to the Jetsam seaside additions library is a little
help for assembling css.

To use, subclass WACss, e.g. MyCss

In your MyFileLibrary-myCss

^ MyCss all
----

Make bits of css

css001Header

css << '

.logo-header h1

{
    color: ' << self headerColor << ';
    text-align:center;
}
'

headerColor

^ self pierDarkBlue

pierDarkBlue

^ '#003366'

=====
To use this you will need my "readable streaming" extensions from

Installer squeaksource project:'311'; install:'Kernel-Extensions'.
and
Installer squeaksource project:'Jetsam'; install:'Seaside28Jetsam'.

This is just a very basic start feedback or ideas for improvements would
be most welcome

Keith




More information about the seaside mailing list