2016-03-15 17:40:31 +08:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2016-03-08 16:12:04 +08:00
|
|
|
body {
|
2017-03-31 13:45:16 +08:00
|
|
|
font-family: @font-family;
|
2016-03-15 17:40:31 +08:00
|
|
|
line-height: 1.5;
|
2017-11-28 16:15:22 +08:00
|
|
|
color: @site-text-color;
|
2016-03-15 17:40:31 +08:00
|
|
|
font-size: 14px;
|
2017-02-26 15:41:50 +08:00
|
|
|
background: #fff;
|
2016-03-15 17:40:31 +08:00
|
|
|
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
|
|
overflow-x: hidden;
|
2016-03-08 16:12:04 +08:00
|
|
|
}
|
|
|
|
|
2016-03-22 19:19:37 +08:00
|
|
|
a {
|
|
|
|
transition: color .3s ease;
|
2017-04-01 19:06:34 +08:00
|
|
|
&:focus {
|
|
|
|
text-decoration: underline;
|
2017-04-05 14:58:41 +08:00
|
|
|
text-decoration-skip: ink;
|
2017-04-01 19:06:34 +08:00
|
|
|
}
|
2016-03-22 19:19:37 +08:00
|
|
|
}
|
|
|
|
|
2016-02-29 14:08:40 +08:00
|
|
|
.main-wrapper {
|
|
|
|
background: #fff;
|
2017-11-27 15:36:58 +08:00
|
|
|
padding: 40px 0 0;
|
2016-02-29 14:08:40 +08:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2017-02-21 12:07:28 +08:00
|
|
|
.main-container {
|
2017-11-30 21:38:48 +08:00
|
|
|
padding: 0 170px 144px 64px;
|
2016-02-29 14:08:40 +08:00
|
|
|
background: #fff;
|
|
|
|
min-height: 500px;
|
|
|
|
overflow: hidden;
|
2017-12-29 15:24:55 +08:00
|
|
|
border-left: 1px solid @site-border-color-split;
|
2016-04-18 13:43:33 +08:00
|
|
|
position: relative;
|
2016-03-01 16:20:32 +08:00
|
|
|
}
|
|
|
|
|
2017-11-27 16:51:59 +08:00
|
|
|
.main-menu {
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
2016-03-24 17:13:19 +08:00
|
|
|
.aside-container {
|
2016-03-01 17:42:23 +08:00
|
|
|
padding-bottom: 50px;
|
2017-03-31 13:45:16 +08:00
|
|
|
font-family: Lato, @font-family;
|
2017-12-29 15:24:55 +08:00
|
|
|
border: none;
|
2016-03-02 12:10:18 +08:00
|
|
|
|
2016-03-22 19:19:37 +08:00
|
|
|
&.ant-menu-inline .ant-menu-submenu-title h4,
|
|
|
|
&.ant-menu-inline > .ant-menu-item,
|
|
|
|
&.ant-menu-inline .ant-menu-item a {
|
2016-03-18 11:24:01 +08:00
|
|
|
font-size: 14px;
|
2016-05-23 11:35:09 +08:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
2016-03-18 11:24:01 +08:00
|
|
|
}
|
|
|
|
|
2017-11-27 15:36:58 +08:00
|
|
|
&.ant-menu-inline .ant-menu-item-group-title {
|
|
|
|
padding-left: 56px;
|
|
|
|
}
|
|
|
|
|
2016-03-02 12:10:18 +08:00
|
|
|
a[disabled] {
|
|
|
|
color: #ccc;
|
|
|
|
}
|
2017-01-22 19:16:54 +08:00
|
|
|
|
|
|
|
.menu-item-link-outside {
|
|
|
|
position: relative;
|
|
|
|
.anticon {
|
|
|
|
font-size: 12px;
|
2017-02-26 15:09:52 +08:00
|
|
|
color: @primary-color;
|
2017-01-22 19:16:54 +08:00
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
2017-02-26 15:09:52 +08:00
|
|
|
right: -10px;
|
2017-01-22 19:16:54 +08:00
|
|
|
top: 16px;
|
|
|
|
transition: all .3s;
|
|
|
|
}
|
|
|
|
&:hover .anticon {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2016-03-01 17:42:23 +08:00
|
|
|
}
|
|
|
|
|
2016-03-24 17:13:19 +08:00
|
|
|
.aside-container .chinese {
|
2016-03-01 16:20:32 +08:00
|
|
|
font-size: 12px;
|
|
|
|
margin-left: 6px;
|
|
|
|
font-weight: normal;
|
|
|
|
opacity: .67;
|
2016-03-07 11:35:23 +08:00
|
|
|
}
|
|
|
|
|
2016-08-04 17:59:07 +08:00
|
|
|
.outside-link {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2016-03-07 11:35:23 +08:00
|
|
|
.outside-link:after {
|
2016-09-18 09:54:47 +08:00
|
|
|
content: '\e691';
|
2016-03-07 11:35:23 +08:00
|
|
|
font-family: 'anticon';
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: 12px;
|
2016-08-04 17:59:07 +08:00
|
|
|
color: #aaa;
|
2016-03-07 11:35:23 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.outside-link.internal {
|
|
|
|
display: none;
|
2016-03-22 19:19:37 +08:00
|
|
|
}
|
2016-05-11 19:18:54 +08:00
|
|
|
|
2017-11-28 17:59:28 +08:00
|
|
|
// reset menu text color
|
2017-11-29 11:22:15 +08:00
|
|
|
.menu-site .ant-menu-item > a {
|
|
|
|
color: @site-text-color;
|
2017-11-28 17:59:28 +08:00
|
|
|
}
|
|
|
|
|
2017-11-29 11:22:15 +08:00
|
|
|
.menu-site .ant-menu-item-selected > a,
|
|
|
|
.menu-site .ant-menu-item > a:hover {
|
|
|
|
color: @primary-color;
|
2017-11-28 17:59:28 +08:00
|
|
|
}
|
2017-11-28 16:15:22 +08:00
|
|
|
|
|
|
|
#react-content {
|
|
|
|
transition: transform .3s @ease-in-out-circ;
|
|
|
|
}
|
|
|
|
|
2017-11-17 19:17:37 +08:00
|
|
|
.drawer-content {
|
|
|
|
padding: 40px 0;
|
|
|
|
}
|
|
|
|
|
2017-11-21 11:18:31 +08:00
|
|
|
.drawer {
|
|
|
|
z-index: 1029;
|
2017-11-17 19:17:37 +08:00
|
|
|
}
|