christocracy
10-27-2006, 02:21 PM
there's css crosstalk between .ytabs-top and .ytabs-bottom with nested regions.
if you nest a BorderLayout having region with {tabPosition:top} within a region that has {tabPosition:bottom}, the nested top tabs will experience crosstalk from the parent's bottom tabs.
as a quick fix, I modified the css for .ytabs-top in tabs.css.
my fix will only work for 1 level of recursive tabs (and it's still not perfect).
/* new style tabs on top */
.ytabs-top .tabset, .ytabs-bottom .ytabs-top .tabset{
border-bottom:1px solid #6593cf;
border-top: 0;
}
.ytabs-top .tabset .hd li,#comment-cn .tabset .hd em,#comment-cn .tabset .hd strong {
font-size:9px !important;
font-family:tahoma,arial,helvetica;
}
.ytabs-top .tabset .hd em, .ytabs-bottom .ytabs-top .tabset .hd em {
padding-left:10px;padding-right:10px;
}
.ytabs-top .tabset .hd li.on em{
color:#083772;
}
.ytabs-top .tabset .hd li.on strong, .ytabs-bottom .ytabs-top .tabset .hd li.on strong {
background-color:none;
background: url(../images/grey/tabs/tab-right-bg.gif) no-repeat top right;
}
.ytabs-top .tabset .hd li.on em, .ytabs-bottom .ytabs-top .tabset .hd li.on em {
background-color:none;
background: url(../images/grey/tabs/tab-left-bg.gif) no-repeat;
}
.ytabs-top .tabset .hd li.on, .ytabs-bottom .ytabs-top .tabset .hd li.on{
position: relative;
top: 0px;
}
.ytabs-top .tabset .hd li a, .ytabs-bottom .ytabs-top .tabset .hd li a{
background-color:none;
background: url(../images/grey/tabs/tab-inactive-right-bg.gif) no-repeat top right;
}
.ytabs-top .tabset .hd li em, .ytabs-bottom .ytabs-top .tabset .hd li em {
background-color:none;
background: url(../images/grey/tabs/tab-inactive-left-bg.gif) no-repeat;
}
if you nest a BorderLayout having region with {tabPosition:top} within a region that has {tabPosition:bottom}, the nested top tabs will experience crosstalk from the parent's bottom tabs.
as a quick fix, I modified the css for .ytabs-top in tabs.css.
my fix will only work for 1 level of recursive tabs (and it's still not perfect).
/* new style tabs on top */
.ytabs-top .tabset, .ytabs-bottom .ytabs-top .tabset{
border-bottom:1px solid #6593cf;
border-top: 0;
}
.ytabs-top .tabset .hd li,#comment-cn .tabset .hd em,#comment-cn .tabset .hd strong {
font-size:9px !important;
font-family:tahoma,arial,helvetica;
}
.ytabs-top .tabset .hd em, .ytabs-bottom .ytabs-top .tabset .hd em {
padding-left:10px;padding-right:10px;
}
.ytabs-top .tabset .hd li.on em{
color:#083772;
}
.ytabs-top .tabset .hd li.on strong, .ytabs-bottom .ytabs-top .tabset .hd li.on strong {
background-color:none;
background: url(../images/grey/tabs/tab-right-bg.gif) no-repeat top right;
}
.ytabs-top .tabset .hd li.on em, .ytabs-bottom .ytabs-top .tabset .hd li.on em {
background-color:none;
background: url(../images/grey/tabs/tab-left-bg.gif) no-repeat;
}
.ytabs-top .tabset .hd li.on, .ytabs-bottom .ytabs-top .tabset .hd li.on{
position: relative;
top: 0px;
}
.ytabs-top .tabset .hd li a, .ytabs-bottom .ytabs-top .tabset .hd li a{
background-color:none;
background: url(../images/grey/tabs/tab-inactive-right-bg.gif) no-repeat top right;
}
.ytabs-top .tabset .hd li em, .ytabs-bottom .ytabs-top .tabset .hd li em {
background-color:none;
background: url(../images/grey/tabs/tab-inactive-left-bg.gif) no-repeat;
}