Thanks very much for the steer on that. I'll give it a go. Cheers, Steve.
On Tue, Jan 12, 2010 at 6:47 PM, kevinpfromnm <[email protected]>wrote: > you need to add a different class based on status in the dryml. > like <card class="#{status}" /> for example. > > On Jan 9, 2:05 pm, StevieH <[email protected]> wrote: > > Hopefully this is a simple one...but > > > > In the Clean.css I can see that there's a section that deals with > > cards... > > > > * styling of generic elements */ > > .creator {font-weight: bold;} > > .card { > > overflow: hidden; _zoom: 1; > > margin: 10px 0; padding: 12px; border: 1px solid #e8e8e8; > > background: #F5f5f5; > > position: relative; > > > > And clearly the background is set using 'background: #F5f5f5;' > > > > But I'd like to change the colour of the background to red, amber or > > green depending on the status? > > > > i.e. > > > > if status == red then background: #F22958 > > if status == amber then background: #DE8740 > > if status == green then background: #8CDE40 > > -- > You received this message because you are subscribed to the Google Groups > "Hobo Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<hobousers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/hobousers?hl=en. > > > >--
You received this message because you are subscribed to the Google Groups "Hobo Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
