header_ui.css 3.41 KB
.header{
	min-width: 1200px;
	background-color: #fff;
	border-bottom: 1px solid #ebebeb;
  position: relative;
  z-index: 1;
}
.user-header{
	border:0;
}
.user-header h1{
	float: left;
	margin-top: 10px;
	border-left: 1px #ccc solid;
	padding: 10px 20px;
	font-size: 20px;
	color: #fff;
}
.header-content{
	width: 1200px;
	margin: 0 auto;
}
.logo{
	float: left;
	width: 172px;
	height: 40px;
	padding: 14px 0;
	overflow: hidden;
	margin-right: 60px;
}

.nav{
	float: left;
}
.nav li{
	float: left;
	margin-right: 15px;
  height: 20px;
  line-height: 20px;
  padding: 18px 0 25px 0;
}
.nav li a{
	display: block;
  padding: 0 15px 5px 15px;
	font-size: 14px;
	text-align: center;
  color: #333;
	transition: border 0.3s;
	-webkit-transition: border 0.3s;
  border: solid #3cb04d;
  border-width: 0 0 3px 0;
}
.nav li a:hover,
.nav li .current{
  border-bottom-color: #f60;
}


.header-tools{
	margin-top: 18px;
}

.header-tools .a-link{
	color: #333;
	font-size: 14px;
	line-height: 30px;
  margin: -3px 3px 0 3px;
  font: 14px/1 'Microsoft YaHei';
}
.link-register,
.link-login,
.dropdown a span,
.search-box,
.header-tools .message,
.header-tools .user-info{
	display: inline-block;
	*display: inline;
	*zoom:1;
	vertical-align: middle;
}
.search-box{
	position: relative;
	height: 30px;
	min-width: 120px;
}
.search-input{
	position: absolute;
	right: 0;
	top: 0;
	border: 1px #ccc solid;
	border-radius: 20px;
	height: 28px;
	line-height: 28px\9;
	padding-left: 28px;
	outline: none;
	width: 88px;
	background: url('../images/icon.png') #fff 7px 6px no-repeat;
}
.header-tools .message{
	width: 20px;
	height: 16px;
	background: url('../images/icon.png') -50px -40px no-repeat;
	margin: 0 15px;
	position: relative;
    cursor: pointer;
}
.header-tools .message span{
	position: absolute;
	width: 10px;
	height: 10px;
	right: -6px;
	top: -3px;
    background-color: #f60;
    border-radius: 100%;
}
.user-info{
	cursor: pointer;
	position: relative;
}
.header .dropdown{
	position: absolute;
	top: 49px;
	right: 0;
	display: none;
}
.header .dropdown i,
.header .dropdown em {
    display: none;
}
.header .dropdown i{
	position: absolute;
	top: -12px;
	right: 25px;
	width: 0;
	height: 0;
	font-size: 0;
	overflow: hidden;
	border: 6px solid #373b65;
	border-color: transparent transparent #373b65 transparent;
}
.header .dropdown em{
	position: absolute;
	top: -11px;
	right: 25px;
	width: 0;
	height: 0;
	font-size: 0;
	overflow: hidden;
	border: 6px solid #fff;
	border-color: transparent transparent #fff transparent;
}

.header .dropdown ul{
	background: transparent;
	border: 1px transparent solid;
	overflow: hidden;
}
.header .dropdown a{
	display: block;
	height: 32px;
	line-height: 32px;
	white-space: nowrap;
	padding-left: 10px;
	min-width: 85px;
	font-size: 13px;
  color: #fff;
  background-color: #c1c1c1;
}
.header .dropdown a:hover{
	background: #b1b1b1;
}

.user-photo{
	display: inline-block;
	*display: inline;
	*zoom:1;
	vertical-align: middle;
	overflow: hidden;
  font-size: 14px;
  color: #333;
}
.user-photo img{
	width: 100%;
	height: 100%;
}
.icon-down-arrow{
	display: inline-block;
	*display: inline;
	*zoom:1;
	vertical-align: middle;
  border-width: 6px 5px 0 5px;
  border-style: solid;
  border-color: #666 transparent;
  margin-left: 5px;
    height: 0;
    width: 0;
}
.dropdown a span {
    width: 20px;
    height: 20px;
    background: url(../images/icon.png) no-repeat 0 -41px;
}
.link-register {
    border: 1px solid #fff;
    padding: 0 10px;
}