使用CSS 客户化 SharePoint 2013 中的 promoted links 样式
来源:互联网 发布:景区票务系统源码 编辑:程序博客网 时间:2024/06/13 23:59
本文讲述如何使用CSS客户化客户化 SharePoint 2013 中的 promoted links 样式。
promoted links 是SharePoint 中提供的一个图片链接的展示的 App,原始效果 如下:
当鼠标 hover 到某个标题(Training sytem)上时:
但是实际开发 过程中总会对布局和样式做一些客户 化,比如 将四个链接 分为 两行 显示,第一图片个宽 100px, 第二个宽 200px,第三个图片宽200px,第四个图片 宽 100px, 标题部分的 背景色 改为紫色 :
下面分享做到以上 效果的 CSS代码
div.ms-promlink-body { height: 200px; width: 400px; } div.ms-tileview-tile-root:nth-of-type(3) { height: 150px !important; width: 200px !important; margin:10px; } div.ms-tileview-tile-root:nth-of-type(3) div.ms-tileview-tile-content, div.ms-tileview-tile-root:nth-of-type(3) img { height: 150px !important; width: 200px !important; left:0px; right:0px; } div.ms-tileview-tile-root:nth-of-type(3) div.ms-tileview-tile-detailsBox { width: 200px !important; } div.ms-tileview-tile-root:nth-of-type(1) { height: 150px !important; width: 100px !important; margin:10px; } div.ms-tileview-tile-root:nth-of-type(1) div.ms-tileview-tile-content, div.ms-tileview-tile-root:nth-of-type(1) img { height: 150px !important; width: 100px !important; left:0px; right:0px; } div.ms-tileview-tile-root:nth-of-type(1) div.ms-tileview-tile-detailsBox { width: 100px !important; } div.ms-tileview-tile-root:nth-of-type(2) { height: 150px !important; width: 200px !important; margin:10px; } div.ms-tileview-tile-root:nth-of-type(2) div.ms-tileview-tile-content, div.ms-tileview-tile-root:nth-of-type(2) img { height: 150px !important; width: 200px !important; left:0px; right:0px; } div.ms-tileview-tile-root:nth-of-type(2) div.ms-tileview-tile-detailsBox { width: 200px !important; } div.ms-tileview-tile-root:nth-of-type(4) { height: 150px !important; width: 100px !important; margin:10px; } div.ms-tileview-tile-root:nth-of-type(4) div.ms-tileview-tile-content, div.ms-tileview-tile-root:nth-of-type(4) img { height: 150px !important; width: 100px !important; left:0px; right:0px; } div.ms-tileview-tile-root:nth-of-type(4) div.ms-tileview-tile-detailsBox { width: 100px !important; }.ms-tileview-tile-detailsBox{ background-color:#7a44a2; font-weight:600; font-size:16px;}
0 0
- 使用CSS 客户化 SharePoint 2013 中的 promoted links 样式
- 使用VS2012 开发SharePoint 2013 客户化的action (代码)
- SharePoint Css样式修改
- SharePoint 2013 中使用客户化的 (Custom) Filter web part 过滤OOB list view
- 使用JQuery修改Yii中的CSS样式。
- CSS links
- WebPart(SharePoint)中如何使用自定义的Javascript和css样式
- WebPart(SharePoint)中如何使用自定义的Javascript和css样式
- SharePoint User Profile Services Application之(四) -Promoted Sites
- FLEX中的CSS样式
- CSS中的Img样式
- CSS中的Img样式
- CSS中的样式简写
- XHTML中的CSS样式
- CSS样式中的重要性。
- html中的css样式
- css样式中的链接
- CSS中的文本样式
- ID3V2
- 83. 测试是软件开发的工程严谨度
- APEV
- ORACLE空间管理实验8:数据块格式分析--DUMP结合BBED等
- ORACLE空间管理实验1:探索LMT表空间管理下数据文件头的结构及位图中区的记录方式
- 使用CSS 客户化 SharePoint 2013 中的 promoted links 样式
- Dwz + Struts2 完成input验证
- html常用变量整理
- Chinese En/Decode for filesystem
- hashmap的内部实现机制
- NBUT 1537 Travel
- 编译并安装vim
- NO9.Java笔记【多线程】
- C/C++回调函数简要介绍