Browse Source

修改之前专家标志,企业版logo换成蓝色

luyanan 8 years ago
parent
commit
ff39dc704c

+ 2 - 2
cmp-portal/css/common.css

@ -634,11 +634,11 @@ header .topheader{background: #000;height:30px;font-size:14px;line-height:30px;}
634 634
header .topheader .containerCon{background: #000;}
635 635
header .topheader a{padding:0 10px;margin-right:16px;color:#FFFFFF}
636 636
header .topheader .downicon{background: url(../images/top_icon_shouji_nor.png) 0 center no-repeat;padding-left:18px;}
637
header .headlogo h1 {width: 60px;height: 30px;margin:14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_logo2.png);background-size:contain;overflow: hidden;}
637
header .headlogo h1 {width: 60px;height: 30px;margin:14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_cmplogo.png);background-size:contain;overflow: hidden;}
638 638
header .headnav{margin:0 14px;}
639 639
header .headnav li{float:left;margin:0 4px; padding:12px 0;}
640 640
header .headnav li a{ color:#FFFFFF; padding:14px 18px;}
641
header .headuserimg{position:relative;padding: 10px 0 10px 20px; width: 60px;height: 60px;overflow: hidden;}
641
header .headuserimg{position:relative;padding: 10px 0 10px 20px; width: 60px;height: 60px;}
642 642
header .headuser{overflow: hidden;border:1px solid #222222; width: 40px;height: 40px;display: table-cell; vertical-align:middle; text-align:center;cursor: pointer;}
643 643
header .headuser img{max-width: 40px;max-height: 100%;vertical-align:middle;height:auto !important; overflow-y:auto;}
644 644
header .headnavbtn{margin:14px 6px;}

BIN
cmp-portal/images/home_icon_cmplogo.png


BIN
cmp-portal/images/home_icon_logo2.png


+ 4 - 4
css/common.css

@ -121,7 +121,7 @@ button.btnModel[disabled]:hover{background:#d6d8de;}
121 121
#header.firstL{ background:rgba(255,153,0,0);}
122 122
#header.firstB{ background:rgba(55,61,65,1);}
123 123
#header.Nosear{position:static;}
124
.logo{ display:block; width:80px; height:40px; background:url(../images/logo.png) no-repeat;background-size:100% 100%; /* margin-left:80px;*/ margin-top:10px; float:left;}
124
.logo{ display:block; width:60px; height:30px;margin:14px 14px 14px 0; background:url(../images/logo.png) no-repeat;background-size:100% 100%; float:left;}
125 125
.searchblock{ width:280px; height:35px; position:absolute; left:50%; top:50%; margin-left:-140px; margin-top:-17.5px;}
126 126
.search-txt{ width:220px;line-height:35px; height:35px; background:#fff; border:none;-moz-border-radius:6px 0 0 6px;-webkit-border-radius:6px 0 0 6px; border-radius:6px 0 0 6px; behavior:url(../js/ie-css3.htc); float:left;font-size:14px;padding-left:10px; color:#a3a3a3;}
127 127
.search-btn{ width:35px; height:35px; background:#fff; border-radius:0 6px 6px 0;-moz-border-radius:0 6px 6px 0;-webkit-border-radius:0 6px 6px 0; float:left; cursor:pointer; behavior:url(../js/ie-css3.htc);cursor:pointer;}
@ -197,8 +197,8 @@ button.btnModel[disabled]:hover{background:#d6d8de;}
197 197

198 198
/*/////////// 专家认证图标 //////////////*/
199 199
.authobject{ float:left;}
200
.authicon{ float:left;width:18px; height:18px; background:url(../images/authsort2.png) no-repeat;}
201
.authicon-cu{background-position: 0 0;background-size:auto 100%;}/*认证科研型专家*/
200
.authicon{ float:left;width:16px; height:16px;background-size: cover;}
201
.authicon-cu{background-image: url(../images/porfile_icon_zhuanjia_nor.png);}/*认证科研型专家*/
202 202
.authicon-com{background-position: -20px 0;background-size:auto 100%;}/*认证企业型专家*/
203 203
/*/////////// 普通用户认证标识 //////////////*/
204 204
.authicon2{float:left;position:relative;width:60px; height:20px;margin: 0;background:url(../images/authsort.png) no-repeat;}
@ -268,7 +268,7 @@ footer .weixincode span{background-image:url(../images/home_code_weixin.jpg);bac
268 268
/*新版header*/
269 269
header{background: #373d41;color:#888;font-size:16px;line-height:32px;height:60px;}
270 270
header .containerCon{background: #373d41;}
271
header .headlogo h1 {width: 64px;height: 32px;margin:14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_logo_orange.png);background-size:contain;overflow: hidden;}
271
header .headlogo h1 {width: 60px;height: 30px;margin: 14px 14px 14px 0;padding: 0;background-image: url(../images/home_icon_logo_orange.png);background-size:contain;overflow: hidden;}
272 272
header .headnav{margin:0 14px;}
273 273
header .headnav li{float:left;margin:0 4px; padding:12px 0;}
274 274
header .headnav li a{ color:#FFFFFF; padding:14px 18px;}

+ 1 - 1
js/header.js

@ -30,7 +30,7 @@ headerHtml += '<div class="container-fulid">'+
30 30
//旧版header
31 31
var hHtml = '';
32 32
hHtml +='<div class="containerCon"><a href="index.html" alt="科袖" class="logo"></a>'+
33
	'<ul class="headnav floatL" style="margin-left:40px">'+
33
	'<ul class="headnav floatL" style="margin-left:26px">'+
34 34
			'<li><a href="index.html">首页</a></li>'+
35 35
			'<li><a href="discover.html">发现</a></li>'+
36 36
	'</ul>' +