修改sharepoint列表样式

1、将sharepoint 的样式修改为阴影
2、用designer打开列表的AllItems.aspx文件,将下面的样式拷贝到里面
 
 

       <style type="text/css">
.ms-basictable
{
width: 100%;
padding: 0;
margin: 0;
border-right:1px solid #c1dad7;
}
.ms-basictable th {
font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-left:1px solid #C1DAD7;
border-bottom:1px solid #c1dad7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA no-repeat;
}
.ms-basictable td {
border-left:1px solid #C1DAD7;
border-bottom:1px solid #c1dad7;
background: #fff;
font-size:14px;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
.ms-basictable td.alt {
background: #F5FAFA;
color: #797268;
}
.ms-basictable th.spec,td.spec {
border-left: 1px solid #C1DAD7;
}

</style> 

 
1、将sharepoint 的样式修改为阴影
2、用designer打开列表的AllItems.aspx文件,将下面的样式拷贝到里面
 
 
       <style type="text/css">
.ms-basictable
{
width: 100%;
padding: 0;
margin: 0;
border-right:1px solid #c1dad7;
}
.ms-basictable th {
font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color: #4f6b72;
border-left:1px solid #C1DAD7;
border-bottom:1px solid #c1dad7;
letter-spacing: 2px;
text-transform: uppercase;
text-align: left;
padding: 6px 6px 6px 12px;
background: #CAE8EA no-repeat;
}
.ms-basictable td {
border-left:1px solid #C1DAD7;
border-bottom:1px solid #c1dad7;
background: #fff;
font-size:14px;
padding: 6px 6px 6px 12px;
color: #4f6b72;
}
.ms-basictable td.alt {
background: #F5FAFA;
color: #797268;
}
.ms-basictable th.spec,td.spec {
border-left: 1px solid #C1DAD7;
}

</style> 
 效果图片总是上传失败,就不上传了
 
 
posted on 2015-09-09 10:21  larryle  阅读(539)  评论(0编辑  收藏  举报