How to skin layoutUnit

UI Components for JSF
Post Reply
barak
Posts: 76
Joined: 22 Sep 2009, 16:39

27 Oct 2009, 18:13

Hi,

Since there is no style attribute for layoutUnit, I'm trying to skin using css. I've read http://developer.yahoo.com/yui/examples ... ayout.html, and tried that:

Code: Select all

.yui-skin-sam yui-layout-bd yui-layout-bd-nohd yui-layout-bd-noft { 
     background-color: #000000; 
     border:0px solid #ffffff;
}
but nothing is affected... Can you please give an example which css class should be overridden to change background color and border size?

Thanks.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Oct 2009, 18:33

Barak, layout framework is being reimplemented at the moment. Current version never satisfied anybody including me. The new demos will be up this week so I'd suggest to stay tuned for the new layout framework. It looks much cooler and easier to skin. ;)

barak
Posts: 76
Joined: 22 Sep 2009, 16:39

27 Oct 2009, 18:43

Cool, glad to hear :)

By the way, just saw a post from some unsatisfied user unsatisfied of the speed of your answers. I say - U R DOING A GREAT WORK!!! PRIMEFACES IS A GREAT PRODUCT!!!.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Oct 2009, 21:07

:) Thanks Barak.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Oct 2009, 11:13

New layout framework is ready, there's still room for improvement and a couple of new configuration attributes will be added but rewrite is complete.

Complex Layout Example: http://97.107.138.40:8080/prime-showcas ... omplex.jsf
Full Page: http://97.107.138.40:8080/prime-showcas ... utFull.jsf
Nested Layouts: http://97.107.138.40:8080/prime-showcas ... Nested.jsf
Element Based Layouts: http://97.107.138.40:8080/prime-showcas ... lement.jsf

1.0.0.RC Snapshot is also deployed containing the new features.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 30 guests