[Ann] Css composing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Ann] Css composing

keith1y
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


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside