PDA

View Full Version : Different color in Tab Panel or Ext.Window popup?



volperubbia
21 Jun 2010, 5:18 AM
Hi,
in a web page, i have the ext-all stylesheet link:
<link type="text/css" href="../../Resources/ext/resources/css/ext-all.css" rel="Stylesheet" />

The are 3 button that open 3 Ext.Window poup and i would like to:
- open a green popup ext.window with btn 1
- open a red popup ext.window with btn 2
- open a yellow popup ext.window with btn 3.

It is possible? Each ext objects / controls in popop window should look like
similar to window base color ... How do it?
I can create a ext-color css, but i don't want put it in the page header because
each objects would look the same aspect.

Any idea?
Tks.

Condor
21 Jun 2010, 5:54 AM
1. Give each of your windows a different cls.
2. Copy the styling rules for x-window and replace x-window with the 3 cls's you specified in #1.
3. Modify these rules so they display in different colors.