You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
1.9 KiB

@header-height: 80px;
#header {
transition: opacity 0.5s;
background: #fff;
height: @header-height;
margin-bottom: 24px;
padding: 0 48px;
width: 100%;
9 years ago
&.home-nav-bottom {
background: rgba(255, 255, 255, 0.9);
border-bottom-color: #ebedee;
9 years ago
.search {
border-left-color: #ebedee;
9 years ago
}
a {
color: @text-color;
9 years ago
}
}
}
#logo {
float: left;
height: 80px;
line-height: 80px;
}
#logo img {
height: 80px;
line-height: 80px;
width: 40px;
margin-right: 8px;
}
#logo span {
float: right;
font-size: 16px;
font-family: 'Raleway', 'Hiragino Sans GB', sans-serif;
height: 80px;
line-height: 80px;
text-transform: uppercase;
}
#search-box {
border-left: 1px solid #ebedee;
float: left;
height: 22px;
line-height: 22px;
padding-left: 30px;
margin: 29px auto 0;
}
#search-box .ant-select {
font-size: 14px;
margin-top: -3px;
width: 200px;
}
#search-box .ant-select-selection {
border: 0;
box-shadow: none;
}
.lang,
.version {
float: right;
margin-top: 29px;
margin-left: 10px;
}
.version {
width: 66px;
margin-left: 0;
}
#nav {
border: 0;
float: right;
font-size: 14px;
8 years ago
font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
}
#nav li {
height: @header-height;
line-height: @header-height;
min-width: 72px;
text-align: center;
border-bottom-width: 3px;
&.ant-menu-item-selected a {
color: @primary-color;
font-weight: bold;
}
}
9 years ago
.component-select {
&.ant-select-dropdown {
border: 0;
border-radius: 0;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
font-size: 14px;
9 years ago
}
.ant-select-dropdown-menu {
max-height: 200px;
9 years ago
}
.ant-select-dropdown-menu-item {
border-radius: 0 !important;
9 years ago
}
.ant-component-decs {
font-size: 12px;
position: absolute;
color: #aaa;
right: 16px;
9 years ago
}
}