PDA

View Full Version : Title like Kitchen Sink



alfa19
7 May 2013, 3:28 AM
Hi

how can i have a green titlebar like in Kitchen sink?

http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#basic-panels

(http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#basic-panels)Thanks

existdissolve
7 May 2013, 9:30 AM
Hi

how can i have a green titlebar like in Kitchen sink?

http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#basic-panels

(http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/build/KitchenSink/ext-theme-neptune/#basic-panels)Thanks

I think they hard-coded it to the container's ID in the stylesheet:



#app-header {
background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#8fc33a),color- stop(100%,#739b2e));
background-image: -webkit-linear-gradient(top,#8fc33a,#739b2e);
background-image: -moz-linear-gradient(top,#8fc33a,#739b2e);
background-image: -o-linear-gradient(top,#8fc33a,#739b2e);
background-image: linear-gradient(top,#8fc33a,#739b2e);
border-bottom: 1px solid #567422;
}


Might be better to use a theming approach.

alfa19
7 May 2013, 11:56 PM
So is there a way to have a viewport title directly with extjs4.2 supports?