ant-design/site/component/Header/index.less

84 lines
1.2 KiB
Plaintext
Raw Normal View History

2016-02-29 14:08:40 +08:00
@header-height: 80px;
#header {
2016-03-22 19:19:37 +08:00
transition: opacity 0.5s;
background: #fff;
border-bottom: 1px solid #eee;
height: @header-height;
margin-bottom: 24px;
padding: 0 4%;
width: 100%;
2016-02-29 14:08:40 +08:00
}
#logo {
2016-03-22 19:19:37 +08:00
float: left;
height: 60px;
margin: 20px 45px 20px 0;
2016-02-29 14:08:40 +08:00
}
2016-03-22 19:19:37 +08:00
2016-02-29 14:08:40 +08:00
#logo img {
2016-03-22 19:19:37 +08:00
height: 40px;
width: 40px;
margin-right: 8px;
2016-02-29 14:08:40 +08:00
}
2016-03-22 19:19:37 +08:00
2016-02-29 14:08:40 +08:00
#logo span {
2016-03-22 19:19:37 +08:00
color: #6EB4E0;
float: right;
font-size: 14px;
font-family: "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
height: 40px;
line-height: 40px;
text-transform: uppercase;
2016-02-29 14:08:40 +08:00
}
#search-box {
2016-03-22 19:19:37 +08:00
border-left: 1px solid #EBEDEE;
float: left;
height: 22px;
padding-left: 30px;
margin: 32px auto 0;
2016-02-29 14:08:40 +08:00
}
2016-03-22 19:19:37 +08:00
2016-02-29 14:08:40 +08:00
#search-box .ant-select {
2016-03-22 19:19:37 +08:00
font-size: 14px;
margin-top: -2px;
width: 230px;
2016-02-29 14:08:40 +08:00
}
#search-box .ant-select-selection {
2016-03-22 19:19:37 +08:00
border: 0;
box-shadow: none;
2016-02-29 14:08:40 +08:00
}
#nav {
2016-03-22 19:19:37 +08:00
border: 0;
float: right;
font-size: 14px;
2016-02-29 14:08:40 +08:00
}
2016-03-22 19:19:37 +08:00
2016-02-29 14:08:40 +08:00
#nav li {
2016-03-22 19:19:37 +08:00
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;
}
2016-03-01 16:20:32 +08:00
}
.ant-component-decs {
2016-03-22 19:19:37 +08:00
font-size: 12px;
position: absolute;
top: 9px;
color: #aaa;
right: 16px;
2016-03-03 17:23:08 +08:00
}
.ant-select-combobox .ant-select-search__field:focus {
2016-03-22 19:19:37 +08:00
box-shadow: none;
}