westdc-zf1/htdocs/static-sanji/css/data-detail.css

284 lines
5.3 KiB
CSS

*{
margin: 0;padding: 0;
}
.data-detail-warp{
padding: 30px 0 40px 0;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.data-detail-warp .container, .data-detail-warp .col-sm-8, .data-detail-warp .col-sm-3, .data-detail-warp .col-sm-2, .data-detail-warp .col-sm-10, .data-detail-warp .col-sm-12, .data-detail-warp .col-sm-9{
padding-right: 0;
padding-left: 0;
}
.data-detail-warp .top-position{
height: 55px;
line-height: 55px;
padding-left: 20px;
background: #f4f4f4;
font-size: 16px;
margin-bottom: 50px;
}
.data-detail-warp .top-position a{
color: #959595;
text-decoration: none;
}
.data-detail-warp .top-position a:last-child{
color: #000
}
.data-content{
padding-bottom: 20px;
overflow: hidden;
/*border-bottom: 2px solid #eee;*/
}
.data-content h2, .data-content h3{
margin-top: 0px;
margin-bottom: 0px;
font-weight: normal;
}
.data-content h2{
line-height: 28px;
font-size: 18px;
color: #272727;
}
.data-content h3{
padding: 10px 0;
line-height: 18px;
font-size: 16px;
color: #272727;
}
.data-info>span{
margin-right: 20px;
font-size: 12px;
color: #959595;
}
.data-info>span a{
color: #959595;
text-decoration: none;
margin-right: 5px;
}
.data-info>span:first-child{
/*padding-left: 15px;*/
}
.data-content .thumb{
text-align: center;
}
.data-content img{
margin: 25px 0 40px 0;
border: none;
}
.data-content p{
width: 100%;
font-size: 14px;
color: #959595;
line-height: 24px;
}
.data-share, .use-state{
/*border-bottom: 2px solid #eee;*/
overflow: hidden;
}
.use-state div.col-lg-12{
overflow: hidden;
}
.data-share .col-sm-2{
width: 11.5%;
color: #959595;
}
.data-share>div{
padding: 15px 0 3px 0;
}
.use-state h4{
line-height: 16px;
font-size: 16px;
margin: 20px 0 15px 0;
}
.use-state p{
width: 100%;
font-size: 14px;
color: #858585;
line-height: 24px;
padding-bottom: 20px;
}
.relate-data{
padding:30px 0 0 0;
}
.relate-data li a{
color: #858585;
font-size: 16px;
}
.tab-div>div{
margin-top: 30px;
background: #f5f5f5;
}
.tab-div dl{
width: 100%;
border: 2px solid #cdcdcd;
border-radius: 5px;
margin-bottom: 0;
}
.tab-div dl dt img{
width: 95%;
/*height: 146px;*/
padding: 2.5%;
border: 2px solid #cdcdcd;
border-radius: 10px;
margin: 12px 0 12px 10px;
background: #fff;
}
.tab-div dl dd h1{
height: 58px;
line-height: 30px;
font-size: 30px;
padding-top: 28px;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tab-div dl dd h1 a{
color: #2480c9;
text-decoration: none;
}
.tab-div dl dd p{
font-size: 22px;
color: #2f202a;
margin-top: 22px;
}
.data-detail-warp .content-right{
overflow: hidden;
}
.right-list-title{
height: 30px;
font-size: 18px;
color: #272727;
}
.right-list{
padding-bottom: 30px;
}
.right-list ul li{
font-size: 14px;
color: #959595;
line-height: 42px;
padding-left: 5px;
list-style: none;
}
.right-list ul li:first-child{
margin-top: 16px;
}
.right-list a{
color: #959595;
}
.space-position img{
width: 100%;
margin: 30px 0 50px 0;
}
.quote-mode-list a{
display: inline-block;
width:95px;
height: 28px;
text-align: center;
line-height: 28px;
background: #9b58b5;
font-size: 12px;
color: #fff;
text-decoration: none;
}
.quote-mode-list a:hover{
color: #fff;
text-decoration: none;
}
.quote-mode-list a, .download-btn{
display: inline-block;
width:95px;
height: 28px;
text-align: center;
line-height: 28px;
background: #9b58b5;
font-size: 12px;
color: #fff;
text-decoration: none;
}
a.download-btn{
color:white;
}
a.download-btn:hover{
color:white;
}
.download-btn{
width:100%;
height: 32px;
font-size: 14px;
line-height: 32px;
}
.data-wrap{
max-height:600px; /*设置默认高度*/
overflow: hidden;
position:relative;
visibility: hidden;
}
.unfold-field{
display:none;
position:absolute;
font-size: 0;
bottom:0;
width:100%;
height:130px;
z-index: 3;
}
.unfold-field .unflod-field_mask {
height: 84px;
width: 100%;
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,hsla(0,0%,100%,0)),to(#fff));
background-image: linear-gradient(-180deg,hsla(0,0%,100%,0),#fff);
}
.unfold-field_text{
cursor: pointer;
width:100%;
color: #406599;;
height:46px;
/*font-size: 0px;*/
line-height: 46px;
text-align: center;
background:#fff;
}
.unfold-field_text span{
display:inline-block;
font-size: 14px;
border: 1px solid #406599;
height:28px;
width: 140px;
text-align: center;
line-height: 28px;
margin-top: 16px;
}
.unfold-field_text span::after{
content:"";
vertical-align: middle;
background-size: contain;
background-repeat: no-repeat;
width: 9px;
height: 6px;
display: inline-block;
margin-left: 5px;
}
.relate-data-list ul li{
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
line-height: 26px;
margin: 20px 0;
}
.relate-data-list ul li a{
color: #959595;
text-decoration: none;
}