码迷,mamicode.com
首页 > 其他好文 > 详细

修改sharepoint列表样式

时间:2015-09-09 11:29:27      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:

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> 
 效果图片总是上传失败,就不上传了
 
 

修改sharepoint列表样式

标签:

原文地址:http://www.cnblogs.com/systemnet123/p/4793885.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!