• Sharepoint 2010 Content Search Webpart


    经过多个小时的查看源文件对比 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;
    }

  • 相关阅读:
    React.js自学第一天
    优化的34条定律
    JS 打字机效果
    css3 翻书效果
    对象操作
    表单提交验证
    封装cookie组件
    iOS中为网站添加图标到主屏幕
    教你从Win8换回Win7
    关于VB中Print函数在数组中换行的理解
  • 原文地址:https://www.cnblogs.com/Fengger/p/2535000.html
Copyright © 2020-2023  润新知