0

How to change the style of a disabled tab in a tabbox component?

asked 2008-10-28 13:39:40 +0800

Jonilson gravatar image Jonilson
6

I'm trying to change the style of a disabled tab.
The usual style of disabled tabs is not enough different from the enabled ones, in my app.

How can I change them to make it more visible to my user?

(...)
<tabbox id="filtro" orient="horizontal" >
<tabs width="20px">
<tab id="tabCompleto" label="Completo" onDoubleClick="relatorioWindow.alternaTab(self);"/>
<tab id="tabStatus" label="Status" />
<tab id="tabOperadora" label="Operadora" />
<tab id="tabData" label="Data de Instalação" />
<tab id="tabVersao" label="Versão" />
</tabs>
(...)

Regards,

Jonilson

delete flag offensive retag edit

2 Replies

Sort by » oldest newest

answered 2008-10-29 00:42:20 +0800

flyworld gravatar image flyworld
155 3

original background image is here
you can overwrite css class following

.z-tab-disd a,.z-tab-disd-seld a {
	color:gray;
	cursor:default;
	opacity:0.6;
}
.z-tab-disd .z-tabbox-a,.z-tab-disd-seld .z-tabbox-a {
	background-position:0pt -51px;
}
.z-tab-disd .z-tabbox-em,.z-tab-disd-seld .z-tabbox-em{
	background-position:right -351px;
}
.z-tab-disd .z-tabbox-close:hover , .z-tab-disd-seld .z-tabbox-close:hover{
	opacity:0.6;
} 
.z-tab-disd .z-tabbox-text,.z-tab-disd-seld .z-tabbox-text{
	cursor:default;
	font-style:normal;
	font-family: ${fontFamilyT};
	font-size: ${fontSizeM};
	white-space:nowrap;
	padding:4px 0 4px;
}
.z-tab-disd .z-tabbox-inner , .z-tab-disd-seld .z-tabbox-inner{
	background-position:right -201px;
	cursor:default;
}

link publish delete flag offensive edit

answered 2008-11-04 17:14:55 +0800

Jonilson gravatar image Jonilson
6

Thank you, Flyworld.

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2008-10-28 13:39:40 +0800

Seen: 384 times

Last updated: Nov 04 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More