fix(site): some style

This commit is contained in:
afc163 2016-03-22 19:19:37 +08:00
parent 235de43605
commit 84f904d03c
2 changed files with 63 additions and 52 deletions

View File

@ -10,7 +10,7 @@ body {
}
body {
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",SimSun,sans-serif;
line-height: 1.5;
color: #666;
font-size: 14px;
@ -19,6 +19,10 @@ body {
overflow-x: hidden;
}
a {
transition: color .3s ease;
}
.main-wrapper {
background: #fff;
width: 92%;
@ -42,7 +46,9 @@ body {
.sidebar {
padding-bottom: 50px;
&.ant-menu-inline > .ant-menu-item {
&.ant-menu-inline .ant-menu-submenu-title h4,
&.ant-menu-inline > .ant-menu-item,
&.ant-menu-inline .ant-menu-item a {
font-size: 14px;
}
@ -67,4 +73,4 @@ body {
.outside-link.internal {
display: none;
}
}

View File

@ -1,78 +1,83 @@
@header-height: 80px;
#header {
animation: xRightMatrix .5s ease-out;
transition: opacity 0.5S;
background: #fff;
border-bottom: 1px solid #eee;
height: @header-height;
margin-bottom: 24px;
padding: 0 4%;
width: 100%;
transition: opacity 0.5s;
background: #fff;
border-bottom: 1px solid #eee;
height: @header-height;
margin-bottom: 24px;
padding: 0 4%;
width: 100%;
}
#logo {
animation: xLeftMatrix .5s ease-out;
transition: margin 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s, height 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) 0s;
float: left;
height: 60px;
margin: 20px 45px 20px 0;
}
float: left;
height: 60px;
margin: 20px 45px 20px 0;
}
#logo img {
height: 40px;
width: 40px;
margin-right: 8px;
height: 40px;
width: 40px;
margin-right: 8px;
}
#logo span {
color: #6EB4E0;
float: right;
font-size: 14px;
font-family: "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", sans-serif;
height: 40px;
line-height: 40px;
text-transform: uppercase;
color: #6EB4E0;
float: right;
font-size: 14px;
font-family: "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
height: 40px;
line-height: 40px;
text-transform: uppercase;
}
#search-box {
border-left: 1px solid #EBEDEE;
float: left;
height: 22px;
padding-left: 30px;
margin: 32px auto 0;
border-left: 1px solid #EBEDEE;
float: left;
height: 22px;
padding-left: 30px;
margin: 32px auto 0;
}
#search-box .ant-select {
font-size: 14px;
margin-top: -2px;
width: 230px;
font-size: 14px;
margin-top: -2px;
width: 230px;
}
#search-box .ant-select-selection {
border: 0;
box-shadow: none;
border: 0;
box-shadow: none;
}
#nav {
border: 0;
float: right;
font-size: 14px;
border: 0;
float: right;
font-size: 14px;
}
#nav li {
height: @header-height;
line-height: @header-height;
width: 86px;
text-align: center;
height: @header-height;
line-height: @header-height;
width: 72px;
text-align: center;
border-bottom-width: 3px;
&.ant-menu-item-selected a {
color: #2db7f5;
font-weight: bold;
}
}
.ant-component-decs {
font-size: 12px;
position: absolute;
top: 9px;
color: #aaa;
right: 16px;
font-size: 12px;
position: absolute;
top: 9px;
color: #aaa;
right: 16px;
}
.ant-select-combobox .ant-select-search__field:focus {
box-shadow: none;
}
box-shadow: none;
}