经过多个小时的查看源文件对比 Corev4.css ,终于完成了样式的美化
下面为样式,把样式添加到Master页面保存后,所有的内容查询部件就可以应用该样式了
/* All TDs in the table row */
.ms-WPHeader TD{
background-image: url('/_layouts/images/CASE/Content_bg_center.gif');background-repeat:repeat-x;
border:0px!important;
border-top:1px #fff solid!important;
padding-right:3px;
line-height:23px;
}
/* Left */
.ms-WPHeader td:first-child {
6px;
background-image:url('/_layouts/images/CASE/Content_bg_left.gif')!important;background-repeat:no-repeat;
}
/* Right */
.ms-wpTdSpace {
9px;
background-image:url('/_layouts/images/CASE/Content_bg_right.gif')!important;background-repeat:no-repeat;
background-color:transparent!important;
}
/* Arrow */
.ms-WPHeaderTdMenu{
background-color:transparent!important;
border:0px!important;
}
.ms-WPHeaderTdMenu:hover{
background-image: url('/_layouts/images/CASE/Content_bg_center.gif');background-repeat:repeat-x;
line-height:23px;
}
/* Content */
.ms-wpContentDivSpace {
padding:3px!important;
margin:0px!important;
margin-top:0px!important;
border:0px!important;
border:1px #dbddde solid!important;
overflow:hidden;
}
/* border bottom */
.dfwp-item{
border-bottom:1px dotted #4e7cb7;
}