我试图覆盖cflayout选项卡的默认外观。更改CF9中cflayout选项卡的外观
通过将编辑的背景精灵放入网站图像文件夹中,我可以改变悬停外观,但我似乎无法通过引用内置的.x-tab-strip-over类来使悬停时的文字变为白色。
在行动here
<style type="text/css">
div.x-tab-panel-header, ul.x-tab-strip-top {
background-image: none;
background-color: transparent;
padding-bottom: 0px;
}
div.x-tab-panel-header {
border: 0px;
}
.x-tab-strip-active, .x-tab-strip-text {
font-weight: normal !important;
font-size: 14px !important;
font-family: arial !important;
}
.x-tab-strip-over {
color: white !important;
}
.x-tab-right, .x-tab-left, .x-tab-strip-inner {
background-image: url(images/xd-tabs-sprite.gif) !important;
}
</style>
<cflayout type="tab">
<cflayoutarea title="Mouse">
Mickey Mouse
</cflayoutarea>
<cflayoutarea title="Duck">
Donald Duck
</cflayoutarea>
</cflayout>
任何线索赞赏
是的,我觉得一个稍微脏的修复,但该做的:-) – Saul 2011-06-12 19:27:30