ant-design/site/static/style.css

2205 lines
38 KiB
CSS
Raw Normal View History

2015-05-07 18:50:36 +08:00
html {
2015-06-02 20:22:35 +08:00
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2015-05-07 18:50:36 +08:00
}
2015-05-26 18:07:50 +08:00
2015-06-02 20:22:35 +08:00
html,
body {
height: 100%;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-09 18:16:36 +08:00
body {
2015-10-26 17:47:27 +08:00
font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
2015-06-02 20:22:35 +08:00
line-height: 1.5;
2015-11-09 14:56:50 +08:00
color: #666;
2015-06-02 20:22:35 +08:00
font-size: 14px;
2015-06-23 10:51:38 +08:00
background: #fff;
transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
2015-11-23 14:53:20 +08:00
overflow-x: hidden;
2015-05-09 18:16:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
*,
*:after,
*:before {
2015-06-02 20:22:35 +08:00
box-sizing: border-box;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
html,
body,
ul,
li,
p {
2015-06-02 20:22:35 +08:00
margin: 0;
padding: 0;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
ul,
li {
2015-06-02 20:22:35 +08:00
list-style: none;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
a {
2015-06-11 18:08:00 +08:00
color: #00ABEA;
2015-06-02 20:22:35 +08:00
text-decoration: none;
transition: color .3s ease;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
a:hover {
2015-07-06 16:23:28 +08:00
color: #4DC4F0;
2015-05-07 18:50:36 +08:00
}
2015-05-27 11:35:01 +08:00
.clearfix:after {
2015-06-02 20:22:35 +08:00
clear: both;
display: table;
content: '';
2015-05-27 11:35:01 +08:00
}
2015-06-10 19:57:40 +08:00
::selection {
2015-06-10 21:03:27 +08:00
background: #4BB8FF;
color: #fff;
2015-06-10 19:57:40 +08:00
}
::-moz-selection {
2015-06-10 21:03:27 +08:00
background: #4BB8FF;
color: #fff;
2015-06-10 19:57:40 +08:00
}
2015-05-07 18:50:36 +08:00
header {
2015-06-02 20:22:35 +08:00
width: 100%;
background: #fff;
border-bottom: 1px solid #eee;
font-size: 16px;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
.fn-hide {
display: none;
2015-05-26 18:28:12 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.fn-alpha-in {
2015-06-02 20:22:35 +08:00
opacity: 1 !important;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.fn-alpha-out {
2015-06-02 20:22:35 +08:00
opacity: 0 !important;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-06-09 15:33:36 +08:00
a.logo {
2015-06-02 20:22:35 +08:00
float: left;
height: 46px;
line-height: 46px;
2015-11-04 19:36:04 +08:00
margin: 17px 45px 17px 40px;
2015-06-02 20:22:35 +08:00
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;
text-transform: uppercase;
font-size: 18px;
2015-08-31 16:28:35 +08:00
font-family: "Hiragino Sans GB","Microsoft YaHei","微软雅黑",sans-serif;
2015-06-09 15:33:36 +08:00
color: #6EB4E0;
2015-05-16 20:35:50 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-16 20:35:50 +08:00
.logo img {
2015-06-02 20:22:35 +08:00
float: left;
2015-06-04 16:04:39 +08:00
margin-top: -7px;
2015-06-16 18:29:43 +08:00
-webkit-animation: rotateCircleBack 0.6s 1 ease-in-out;
animation: rotateCircleBack 0.6s 1 ease-in-out;
}
2015-05-07 18:50:36 +08:00
.search {
2015-06-02 20:22:35 +08:00
float: left;
height: 22px;
2015-08-26 22:16:20 +08:00
padding: 0px 0 0 30px;
2015-06-02 20:22:35 +08:00
margin: 32px auto 0;
border-left: 1px solid #EBEDEE;
position: relative;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-07-15 21:05:00 +08:00
#autoComplete {
margin-top: -2px;
2015-08-26 22:16:20 +08:00
width: 230px;
2015-07-15 21:05:00 +08:00
}
#autoComplete .ant-select {
font-size: 14px;
}
2015-07-15 20:54:47 +08:00
#autoComplete .ant-select-selection--single {
2015-06-02 20:22:35 +08:00
border: transparent;
outline: none;
2015-06-04 16:04:39 +08:00
width: 160px;
2015-07-15 20:54:47 +08:00
height: 28px;
line-height: 28px;
2015-06-02 20:22:35 +08:00
color: #999;
transition: padding .3s cubic-bezier(0.075, 0.82, 0.165, 1);
font-size: 14px;
2015-07-15 20:54:47 +08:00
box-shadow: none;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-08-22 14:39:05 +08:00
#autoComplete input::-webkit-input-placeholder,
#autoComplete input::-moz-placeholder,
#autoComplete input:-ms-input-placeholder {
color: #CADCE3;
}
2015-08-24 16:07:44 +08:00
.autoComplete.ant-select-dropdown {
border: 0;
border-radius: 0;
box-shadow: 0 0 8px rgba(0,0,0,0.25);
2015-08-24 16:07:44 +08:00
font-size: 14px;
}
2015-08-22 17:24:31 +08:00
.autoComplete .ant-select-dropdown-menu {
max-height: 200px;
}
2015-12-28 14:26:11 +08:00
.autoComplete .ant-select-dropdown-menu-item {
border-radius: 0!important;
}
2015-08-22 14:39:05 +08:00
.autoComplete .ant-component-decs {
font-size: 12px;
position: absolute;
top: 9px;
color: #aaa;
right: 16px;
}
2015-12-28 14:26:11 +08:00
.global-hint {
color: #666;
font-size: 12px;
2015-12-28 19:53:53 +08:00
padding: 5px 14px 6px;
margin-top: 0;
border-radius: 0 0 6px 6px;
box-shadow: 0 1px 3px #ddd;
2015-12-28 14:26:11 +08:00
opacity: 0.8;
2015-12-28 19:53:53 +08:00
position: absolute;
left: 50%;
transform: translateX(-50%);
2015-12-28 14:26:11 +08:00
}
2015-05-07 18:50:36 +08:00
.nav {
2015-06-02 20:22:35 +08:00
height: 80px;
line-height: 80px;
float: right;
font-size: 0.875em;
position: relative;
margin-right: 25px;
2015-12-19 14:00:40 +08:00
overflow: hidden;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.nav ul li {
2015-06-02 20:22:35 +08:00
float: left;
2015-12-19 14:00:40 +08:00
padding: 0 22px;
2015-06-02 20:22:35 +08:00
text-align: center;
2015-05-09 18:33:14 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.nav ul li a {
2015-06-02 20:22:35 +08:00
color: #728AA3;
width: 100%;
height: 100%;
display: block;
2015-05-11 19:45:56 +08:00
}
2015-06-02 20:22:35 +08:00
2015-08-07 12:32:37 +08:00
a.nav-link-disabled {
2015-06-09 17:30:03 +08:00
cursor: not-allowed;
2015-08-24 15:57:00 +08:00
color: #ccc !important;
2015-06-09 17:30:03 +08:00
pointer-events: none;
}
2015-05-11 19:45:56 +08:00
.nav ul li.current a {
2015-12-19 14:00:40 +08:00
color: #6AC2F5;
2015-07-07 14:45:15 +08:00
font-weight: 600;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.nav ul li a:hover,
.nav ul li .hover {
2015-12-19 14:00:40 +08:00
color: #6AC2F5;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
.nav .bar {
2015-07-03 18:06:47 +08:00
width: 20%;
2015-06-02 20:22:35 +08:00
height: 3px;
position: absolute;
top: 0;
left: 0;
2015-12-19 14:00:40 +08:00
background: #6AC2F5;
2015-06-08 12:59:22 +08:00
display: none;
2015-12-19 14:00:40 +08:00
transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1), width 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.main-box {
2015-06-02 20:22:35 +08:00
display: block;
position: absolute;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.perspective {
2015-06-02 20:22:35 +08:00
vertical-align: top;
position: relative;
perspective: 4000px;
-webkit-perspective: 4000px;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.main {
2015-06-02 20:22:35 +08:00
overflow: hidden;
position: relative;
height: calc(100% - 190px);
min-height: 500px;
transform-style: preserve-3d;
transition: transform .6s cubic-bezier(0.785, 0.135, 0.15, 0.86), height .5s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-05-26 18:28:12 +08:00
2015-06-02 20:22:35 +08:00
.banner-box {
width: 100%;
height: 100%;
position: relative;
overflow: inherit;
-webkit-animation: alphaTo .3s ease-out;
animation: alphaTo .3s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.banner-box .banner-img {
2015-06-04 16:16:07 +08:00
background: url("https://t.alipayobjects.com/images/T1CFtgXb0jXXXXXXXX.jpg") center no-repeat;
height: 1300px;
width: 2400px;
2015-06-04 18:15:19 +08:00
transform-origin: center center;
-webkit-transform-origin: center center;
-moz-transform-origin: center center;
2015-06-04 16:16:07 +08:00
transition: opacity 0.5s ease-out;
-webkit-transition: opacity 0.5s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.banner-box #bannerAnim,
.load-main-box {
2015-06-02 20:22:35 +08:00
position: absolute;
width: 100%;
height: 100%;
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
z-index: 2;
2015-06-04 16:16:07 +08:00
top:0;
left:0;
2015-05-07 18:50:36 +08:00
}
2015-05-28 17:35:56 +08:00
2015-05-07 18:50:36 +08:00
.load-box {
2015-06-02 20:22:35 +08:00
-webkit-perspective: 300px;
-moz-perspective: 300px;
2015-06-04 16:16:07 +08:00
width: 140px;
height: 80px;
2015-06-02 20:22:35 +08:00
position: absolute;
top: 50%;
left: 50%;
2015-06-04 16:16:07 +08:00
margin-left: -70px;
margin-top: -40px;
2015-06-02 20:22:35 +08:00
z-index: 99;
animation: alphaTo .3s ease-out;
-webkit-animation: alphaTo .3s ease-out;
2015-07-07 14:51:02 +08:00
font-size: 22px;
text-align: center;
font-family: "Raleway","Helvetica Neue",Helvetica,"Lantinghei SC","Microsoft YaHei","微软雅黑","Hiragino Sans GB",SimSun,sans-serif;
2015-06-02 20:22:35 +08:00
}
.load-box em {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
display: block;
width: 50px;
height: 50px;
2015-08-22 19:13:06 +08:00
margin: auto;
2015-06-04 18:15:19 +08:00
animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
2015-08-22 19:13:06 +08:00
-webkit-animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;;
2015-06-04 16:16:07 +08:00
}
2015-08-22 19:13:06 +08:00
.load-box span {
display: inline-block;
2015-06-04 16:16:07 +08:00
}
2015-08-22 19:13:06 +08:00
.load-box span > p {
float: left;
2015-06-04 16:16:07 +08:00
}
2015-08-22 19:13:06 +08:00
.load-main-box .load-bar {
width: 0%;
height: 2px;
background: #6EB4E0;
transition: width .3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
-webkit-transition: width .3s cubic-bezier(0.785, 0.135, 0.15, 0.86);;
2015-06-04 16:16:07 +08:00
}
2015-05-07 18:50:36 +08:00
.load-out {
-webkit-animation: alphaOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
animation: alphaOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.banner-box #bannerAnim .banner-line-absolute {
2015-06-02 20:22:35 +08:00
position: absolute;
2015-05-07 18:50:36 +08:00
}
footer {
2015-06-02 20:22:35 +08:00
clear: both;
border-top: 1px solid #eee;
font-size: 16px;
background: #fff;
2015-06-25 15:51:24 +08:00
position: relative;
z-index: 1;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
footer ul {
2015-06-02 20:22:35 +08:00
overflow: hidden;
margin: 0 2%;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
footer ul li {
2015-06-02 20:22:35 +08:00
float: left;
width: 25%;
padding: 5px 2% 15px;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-08-22 19:13:06 +08:00
footer ul li > h2 {
2015-06-02 20:22:35 +08:00
font-size: 1em;
color: #5C6B77;
margin: 10px auto 0;
font-weight: normal;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-08-22 19:13:06 +08:00
footer ul li > h3,
2015-05-07 18:50:36 +08:00
footer h3 {
2015-06-02 20:22:35 +08:00
font-size: 0.75em;
color: #5C6B77;
font-weight: normal;
2015-06-09 15:24:43 +08:00
margin-top: 12px;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-09 18:16:36 +08:00
footer > h3 {
2015-06-02 20:22:35 +08:00
text-align: center;
font-size: .75em;
display: none;
margin: auto;
padding: 10px 0;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-09 18:16:36 +08:00
footer ul li > a {
2015-06-02 20:22:35 +08:00
font-size: 0.75em;
2015-11-08 14:19:53 +08:00
margin: 5px 2px 0 0;
2015-05-07 18:50:36 +08:00
}
2015-05-27 16:20:28 +08:00
2015-05-09 18:16:36 +08:00
.aside-container {
2015-06-02 20:22:35 +08:00
width: 260px;
background: #F9F9F9;
padding-top: 10px;
2015-08-19 20:50:51 +08:00
padding-bottom: 50px;
2015-06-25 17:37:55 +08:00
float: left;
2015-05-11 18:09:13 +08:00
}
2015-06-02 20:22:35 +08:00
2015-07-08 13:57:54 +08:00
.aside-container > ul > li {
2015-06-02 20:22:35 +08:00
overflow: hidden;
2015-05-27 18:28:38 +08:00
}
2015-06-02 20:22:35 +08:00
.aside-container li h4 {
2015-08-22 19:13:06 +08:00
font-size: 14px;
2015-07-08 13:57:54 +08:00
font-weight: 600;
2015-08-22 17:21:47 +08:00
padding: 10px 0 10px 46px;
2015-06-02 20:22:35 +08:00
margin: 0;
color: #5C6B77;
cursor: pointer;
transition: background .5s, border .5s;
border-left: 3px solid transparent;
2015-06-10 12:13:55 +08:00
position: relative;
z-index: 1;
background: #F9F9F9;
2015-08-22 19:13:06 +08:00
position: relative;
2015-05-27 18:28:38 +08:00
}
2015-06-02 20:22:35 +08:00
2015-08-22 19:13:06 +08:00
.aside-container li h4:after {
position: absolute;
top: 11px;
right: 30px;
2015-11-14 14:09:08 +08:00
content: "\e602";
2015-08-22 19:13:06 +08:00
font-family: "anticon";
transform: scale(0.6);
font-size: 12px;
color: #5C6B76;
2015-08-22 19:16:35 +08:00
opacity: 0;
transition: all 0.3s ease;
2015-08-22 19:13:06 +08:00
}
.aside-container li[open=open] h4:after {
2015-11-14 14:09:08 +08:00
-webkit-transform: scale(0.6) rotate(180deg);
transform: scale(0.6) rotate(180deg);
2015-08-22 19:13:06 +08:00
}
2015-08-22 19:16:35 +08:00
.aside-container li:hover h4:after {
opacity: 0.8;
}
2015-08-22 19:13:06 +08:00
.aside-container li > ul.aside-list-show {
2015-06-09 15:16:24 +08:00
display: block;
}
2015-08-22 19:13:06 +08:00
.aside-container li > ul li {
2015-06-02 20:22:35 +08:00
border-left: 3px solid transparent;
2015-05-27 19:50:46 +08:00
}
2015-05-09 18:16:36 +08:00
.aside-container li a {
2015-08-25 12:06:29 +08:00
line-height: 40px;
height: 40px;
2015-06-02 20:22:35 +08:00
display: block;
padding-left: 60px;
font-size: 14px;
color: #5C6B76;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
2015-08-22 20:16:24 +08:00
.aside-container li.type-divider {
font-size: 12px;
2015-08-25 14:01:41 +08:00
-webkit-transform: scale(0.9);
2015-08-22 20:16:24 +08:00
transform: scale(0.9);
transform-origin: 0 50%;
color: #aaa;
text-shadow: 0px 1px 0px #FFF;
margin: 6px 0 6px 48px;
}
2015-08-22 19:13:06 +08:00
.aside-container > ul > li > a {
padding-left: 46px;
font-size: 14px;
border-left: 3px solid transparent;
}
.aside-container > ul > li.current > a {
border-left: 0;
}
2015-06-02 20:22:35 +08:00
.aside-container .chinese {
font-size: 12px;
margin-left: 6px;
font-weight: normal;
opacity: 0.67;
2015-05-21 22:24:19 +08:00
}
2015-05-09 18:16:36 +08:00
.aside-container li a:hover {
2015-06-02 20:22:35 +08:00
color: #6EB4E0;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
2015-06-02 20:22:35 +08:00
.aside-container .current {
background: #fff;
border-left: 3px solid #71B5DE;
color: #71B5DE;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
.aside-container .current a {
color: #71B5DE;
2015-05-27 18:39:29 +08:00
}
2015-05-09 18:16:36 +08:00
2015-05-15 18:03:27 +08:00
.main-wrapper {
2015-06-02 20:22:35 +08:00
background: #f9f9f9;
2015-05-15 18:03:27 +08:00
}
2015-05-09 18:16:36 +08:00
.main-container {
2015-06-24 17:51:16 +08:00
margin-left: 260px;
2015-06-02 20:22:35 +08:00
padding: 30px 40px 120px;
-webkit-animation: xRightMatrix .5s ease-out;
animation: xRightMatrix .5s ease-out;
background: #fff;
2015-07-29 17:24:38 +08:00
min-height: 500px;
2016-01-06 15:27:56 +08:00
position: relative;
2015-05-09 18:16:36 +08:00
}
2015-05-09 18:40:01 +08:00
.main-container-center {
2015-06-02 20:22:35 +08:00
margin: 0 auto;
padding: 30px 80px 120px;
border-left: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
width: 80%;
height: 100%;
2015-05-09 18:40:01 +08:00
}
2015-06-05 15:17:17 +08:00
.markdown {
2015-11-09 14:56:50 +08:00
color: #666;
2015-06-05 15:17:17 +08:00
font-size: 14px;
2015-06-09 22:07:15 +08:00
line-height: 1.8;
2015-07-09 17:00:22 +08:00
width: 80%;
2015-06-05 15:17:17 +08:00
}
2015-11-05 20:29:13 +08:00
.highlight {
line-height: 1.5;
}
2015-06-10 16:43:35 +08:00
.markdown img {
2015-09-08 14:48:16 +08:00
vertical-align: middle;
2015-11-27 15:10:08 +08:00
max-width: 100%;
2015-06-10 16:43:35 +08:00
}
2015-06-08 22:42:36 +08:00
.markdown h1 {
2015-11-20 11:52:14 +08:00
color: #404040;
font-weight: 500;
2015-06-08 22:42:36 +08:00
}
2015-05-09 18:16:36 +08:00
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
2015-11-20 11:52:14 +08:00
color: #404040;
2015-06-07 17:18:14 +08:00
margin: 1.8em 0 1em 0;
2015-11-20 11:52:14 +08:00
font-weight: 500;
2015-05-15 18:03:27 +08:00
}
2015-11-02 14:27:05 +08:00
.markdown h1 { font-size: 28px; }
.markdown h2 { font-size: 24px; }
2015-12-30 21:06:51 +08:00
.markdown h3 { font-size: 18px; }
2015-11-02 14:27:05 +08:00
.markdown h4 { font-size: 16px; }
.markdown h5 { font-size: 14px; }
.markdown h6 { font-size: 12px; }
2015-06-15 18:21:03 +08:00
.markdown hr {
border-radius: 10px;
height: 3px;
border: 0;
background: #eee;
margin: 20px 0;
}
2015-06-01 16:07:02 +08:00
.markdown p,
.markdown pre {
2015-06-02 20:22:35 +08:00
margin: 1.2em 0;
2015-06-01 16:07:02 +08:00
}
2015-07-05 23:38:13 +08:00
.markdown > ul li {
2015-06-02 20:22:35 +08:00
list-style: circle;
2015-06-09 22:07:15 +08:00
margin-left: 20px;
padding-left: 8px;
}
2015-11-20 22:02:30 +08:00
.markdown > ul li p,
.markdown > ol li p {
margin: 0.6em 0;
}
2015-08-04 16:53:41 +08:00
.markdown > ol li {
list-style: decimal;
margin-left: 20px;
padding-left: 8px;
}
2015-06-09 22:07:15 +08:00
.markdown code {
margin: 0 3px;
2015-06-01 16:07:02 +08:00
}
2015-07-06 14:35:08 +08:00
.markdown pre {
border-radius: 6px;
2016-01-01 15:08:50 +08:00
background: #f9f9f9;
2015-07-06 14:35:08 +08:00
}
2015-06-01 16:07:02 +08:00
.markdown pre code {
2015-06-02 20:22:35 +08:00
border: none;
2015-12-30 01:12:15 +08:00
padding: 1em 2em;
background: #f9f9f9;
2015-06-09 22:07:15 +08:00
margin: 0;
2015-06-01 16:07:02 +08:00
}
2015-07-08 13:57:54 +08:00
.markdown strong,
.markdown b {
font-weight: 600;
}
2015-06-03 17:47:12 +08:00
.markdown > table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
2015-06-10 17:15:21 +08:00
width: 100%;
2015-08-03 18:19:58 +08:00
margin-bottom: 24px;
2015-06-10 17:12:03 +08:00
}
.markdown > table th {
white-space: nowrap;
2015-07-07 16:42:39 +08:00
color: #5C6B77;
font-weight: 600;
2015-06-03 17:47:12 +08:00
}
.markdown > table th,
.markdown > table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown > table th {
background: #F7F7F7;
}
2015-06-09 12:16:39 +08:00
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
2015-07-04 01:43:57 +08:00
margin: 0;
2015-06-09 12:16:39 +08:00
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
2015-06-01 16:07:02 +08:00
#api ~ ul > li > p > strong ~ code {
2015-06-02 20:22:35 +08:00
background: #fff;
color: #CC7300;
border: none;
margin-left: 0.5em;
2015-05-09 18:24:25 +08:00
}
2016-01-06 15:27:56 +08:00
.prev-next-nav {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
overflow: hidden;
border-top: 1px solid #e9e9e9;
font-size: 16px;
}
.prev-next-nav > a {
padding: 0 24px;
width: 50%;
float: left;
line-height: 72px;
height: 72px;
}
.prev-next-nav > .prev-page:before {
font-family: 'anticon';
content: '\e601';
font-size: 12px;
margin-right: 1em;
}
.prev-next-nav > .next-page {
text-align: right;
float: right;
}
.prev-next-nav > .next-page:after {
font-family: 'anticon';
content: '\e600';
font-size: 12px;
margin-left: 1em;
}
.toc {
position: sticky;
top: 40px;
float: right;
font-size: 12px;
}
.toc li > ul {
text-indent: 10px;
}
.toc a {
padding-left: 10px;
border-left: 2px solid #eee;
display: block;
transition: all 0.3s ease;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
max-width: 120px;
}
.toc a.current {
border-color: #2db7f5;
}
2015-06-04 16:16:07 +08:00
/****************************动画样式*********************************/
2015-05-07 18:50:36 +08:00
.delay-mode {
2015-06-02 20:22:35 +08:00
animation-fill-mode: backwards !important;
-webkit-animation-fill-mode: backwards !important;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.no-delay {
2015-06-02 20:22:35 +08:00
animation-delay: 0s !important;
-webkit-animation-delay: 0s !important;
-moz-animation-delay: 0s !important;
-o-animation-delay: 0s !important;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-rotate-scale-m {
2015-06-02 20:22:35 +08:00
animation: mRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: mRotateScale .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-rotate-scale-l {
2015-06-02 20:22:35 +08:00
animation: lRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: lRotateScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-scale-l {
2015-06-02 20:22:35 +08:00
animation: lScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: lScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-scale-m {
2015-06-02 20:22:35 +08:00
animation: mScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: mScale .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-x-left {
2015-06-02 20:22:35 +08:00
animation: xLeft .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: xLeft .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-x-right {
2015-06-02 20:22:35 +08:00
animation: xRight .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: xRight .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-y-top {
2015-06-02 20:22:35 +08:00
animation: yTop .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: yTop .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-y-bottom {
2015-06-02 20:22:35 +08:00
animation: yBottom .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
-webkit-animation: yBottom .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.to-img-blur {
2015-06-02 20:22:35 +08:00
opacity: 0;
animation: toImgBlur .5s ease-out;
-webkit-animation: toImgBlur .5s ease-out;
-moz-animation: toImgBlur .5s ease-out;
-o-animation: toImgBlur .5s ease-out;
-ms-animation: toImgBlur .5s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.from-img-blur {
2015-06-02 20:22:35 +08:00
opacity: 1 !important;
animation: fromImgBlur .5s ease-out;
-webkit-animation: fromImgBlur .5s ease-out;
-moz-animation: fromImgBlur .5s ease-out;
-o-animation: fromImgBlur .5s ease-out;
-ms-animation: fromImgBlur .5s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
.alpha-out {
2015-06-02 20:22:35 +08:00
opacity: 0;
animation: alphaOut .5s ease-out;
-webkit-animation: alphaOut .5s ease-out;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-06-04 16:16:07 +08:00
.yoyo-x-right{
2015-06-04 18:15:19 +08:00
animation: xRightMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: xRightMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-x-left{
2015-06-04 18:15:19 +08:00
animation: xLeftMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: xLeftMatrixR 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load0{
2015-06-04 18:15:19 +08:00
animation: Load0 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load0 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load1{
2015-06-04 18:15:19 +08:00
animation: Load1 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load1 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load2{
2015-06-04 18:15:19 +08:00
animation: Load2 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load2 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load3{
2015-06-04 18:15:19 +08:00
animation: Load3 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load3 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load4{
2015-06-04 18:15:19 +08:00
animation: Load4 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load4 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
.yoyo-load5{
2015-06-04 18:15:19 +08:00
animation: Load5 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
-webkit-animation: Load5 2s cubic-bezier(0.645, 0.045, 0.355, 1) infinite alternate;
2015-06-04 16:16:07 +08:00
}
2015-07-10 19:14:21 +08:00
/* autocomplete */
.ui-select ul {
outline: none;
position: relative;
list-style-type: none;
padding: 0;
margin: 0;
text-align: left;
background-color: #fff;
border-radius: 3px;
box-shadow: 0 1px 5px #ccc;
background-clip: padding-box;
border: 1px solid #ccc;
}
.ui-select-item {
width: 156px;
padding: 10px 12px;
clear: both;
font-size: 14px;
font-weight: normal;
color: #666;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.ui-select-item-hover {
cursor: pointer;
background-color: #eaf8fe;
}
/* autocomplete end */
2015-06-04 16:16:07 +08:00
@keyframes Load5 {
0% {
opacity: 0;
transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load5 {
0% {
opacity: 0;
-webkit-transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes Load4 {
0% {
opacity: 0;
transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load4 {
0% {
opacity: 0;
-webkit-transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes Load3 {
0% {
opacity: 0;
transform: translate(-30px,-30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(-30px,-30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load3 {
0% {
opacity: 0;
-webkit-transform: translate(-30px,-30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(-30px,-30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes Load2 {
0% {
opacity: 0;
transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load2 {
0% {
opacity: 0;
-webkit-transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(-30px,30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes Load1 {
0% {
opacity: 0;
transform: translate(30px,30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(30px,30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load1 {
0% {
opacity: 0;
-webkit-transform: translate(30px,30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(30px,30px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes Load0 {
0% {
opacity: 0;
transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes Load0 {
0% {
opacity: 0;
-webkit-transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translate(30px,-30px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translate(0,0) rotate(0deg) scale(1, 1);
}
}
@keyframes xLeftMatrixR {
0% {
opacity: 0;
transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translateX(0px) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes xLeftMatrixR {
0% {
opacity: 0;
-webkit-transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translateX(-50px) rotate(-30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translateX(0px) rotate(0deg) scale(1, 1);
}
}
@keyframes xRightMatrixR {
0% {
opacity: 0;
transform: translateX(50px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
transform: translateX(50px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
transform: translateX(0px) rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes xRightMatrixR {
0% {
opacity: 0;
-webkit-transform: translateX(50px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 18:15:19 +08:00
20% {
opacity: 0;
-webkit-transform: translateX(50px) rotate(30deg) scale(1.5, 1.5);
}
2015-06-04 16:16:07 +08:00
2015-06-04 18:15:19 +08:00
80% {
2015-06-04 16:16:07 +08:00
opacity: 1;
-webkit-transform: translateX(0px) rotate(0deg) scale(1, 1);
}
}
2015-05-07 18:50:36 +08:00
@keyframes fromImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
filter: blur(15px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
filter: blur(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes fromImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-filter: blur(15px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-filter: blur(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-moz-keyframes fromImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-moz-filter: blur(15px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-moz-filter: blur(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-ms-keyframes fromImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-ms-filter: blur(15px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-ms-filter: blur(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-o-keyframes fromImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-o-filter: blur(15px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-o-filter: blur(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes toImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
filter: blur(0px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
filter: blur(15px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes toImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
-webkit-filter: blur(0px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
-webkit-filter: blur(15px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-moz-keyframes toImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
-moz-filter: blur(0px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
-moz-filter: blur(15px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-ms-keyframes toImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
-ms-filter: blur(0px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
-ms-filter: blur(15px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-o-keyframes toImgBlur {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
-o-filter: blur(0px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
-o-filter: blur(15px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes yBottom {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-top: 100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-top: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes yBottom {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-top: 100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-top: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes yTop {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-top: -100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-top: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes yTop {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-top: -100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-top: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes xRight {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-left: 100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-left: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes xRight {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-left: 100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-right: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes xLeft {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-left: -100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-left: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes xLeft {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
margin-left: -100px;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
margin-left: 0px;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes mScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: scale(0, 0);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes mScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: scale(0, 0);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes lScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: scale(1.5, 1.5);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes lScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: scale(1.5, 1.5);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes mRotateScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: rotate(90deg) scale(0, 0);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: rotate(0deg) scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes mRotateScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: rotate(90deg) scale(0, 0);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: rotate(0deg) scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes lRotateScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: rotate(90deg) scale(1.5, 1.5);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: rotate(0deg) scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes lRotateScale {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: rotate(90deg) scale(1.5, 1.5);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: rotate(0deg) scale(1, 1);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes RotaeX {
2015-06-02 20:22:35 +08:00
to {
transform: rotate(360deg);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes RotaeX {
2015-06-02 20:22:35 +08:00
to {
-webkit-transform: rotate(360deg);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes scaleOut {
2015-06-02 20:22:35 +08:00
0% {
transform: scale(1, 1);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
transform: scale(0, 0);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes scaleOut {
2015-06-02 20:22:35 +08:00
0% {
-webkit-transform: scale(1, 1);
2015-05-07 18:50:36 +08:00
;
2015-06-02 20:22:35 +08:00
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
-webkit-transform: scale(0, 0);
2015-05-07 18:50:36 +08:00
;
2015-06-02 20:22:35 +08:00
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes yTopMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: translateY(-50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: translateY(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes yTopMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: translateY(-50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: translateY(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes yBottomMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: translateY(50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: translateY(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes yBottomMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: translateY(50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: translateY(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes xLeftMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: translateX(-50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: translateX(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes xLeftMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: translateX(-50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: translateX(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes xRightMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
transform: translateX(50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
transform: translateX(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes xRightMatrix {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
-webkit-transform: translateX(50px);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
-webkit-transform: translateX(0px);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes mainOut {
2015-06-02 20:22:35 +08:00
0% {
transform: rotateY(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
transform: rotateY(90deg);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes mainOut {
2015-06-02 20:22:35 +08:00
0% {
-webkit-transform: rotateY(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
-webkit-transform: rotateY(90deg);
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes alphaTo {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes alphaTo {
2015-06-02 20:22:35 +08:00
0% {
opacity: 0;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 1;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@keyframes alphaOut {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
}
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-07 18:50:36 +08:00
@-webkit-keyframes alphaOut {
2015-06-02 20:22:35 +08:00
0% {
opacity: 1;
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
opacity: 0;
}
2015-05-07 18:50:36 +08:00
}
2015-05-11 15:52:24 +08:00
2015-05-16 17:05:49 +08:00
@-webkit-keyframes rotateCircle {
2015-06-02 20:22:35 +08:00
0% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(360deg);
}
2015-05-16 17:05:49 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-16 17:05:49 +08:00
@keyframes rotateCircle {
2015-06-02 20:22:35 +08:00
0% {
transform-origin: 50% 50%;
transform: rotate(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
transform-origin: 50% 50%;
transform: rotate(360deg);
}
2015-05-16 17:05:49 +08:00
}
2015-06-02 20:22:35 +08:00
@-webkit-keyframes rotateCircleBack {
0% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(360deg);
}
100% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(0deg);
}
}
@keyframes rotateCircleBack {
0% {
transform-origin: 50% 50%;
transform: rotate(360deg);
}
100% {
transform-origin: 50% 50%;
transform: rotate(0deg);
}
}
2015-05-28 17:35:56 +08:00
@keyframes loadTween {
2015-06-02 20:22:35 +08:00
0% {
transform: rotateY(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
50% {
transform: rotateY(180deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
transform: rotateX(-180deg);
}
2015-05-28 17:35:56 +08:00
}
2015-06-02 20:22:35 +08:00
2015-05-28 17:35:56 +08:00
@-webkit-keyframes loadTween {
2015-06-02 20:22:35 +08:00
0% {
-webkit-transform: rotateY(0deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
50% {
-webkit-transform: rotateY(180deg);
}
2015-06-02 20:30:52 +08:00
2015-06-02 20:22:35 +08:00
100% {
-webkit-transform: rotateX(-180deg);
}
2015-06-01 16:07:02 +08:00
}
2015-06-04 16:16:07 +08:00
/***************************************************************************/
2015-06-04 18:25:08 +08:00
.index-page header {
2015-06-04 16:37:43 +08:00
transition: opacity 0.5S;
2015-06-10 14:20:26 +08:00
-webkit-animation: xRightMatrix .5s ease-out;
animation: xRightMatrix .5s ease-out;
2015-06-04 18:25:08 +08:00
}
.index-page .nav {
2015-06-10 14:20:26 +08:00
-webkit-animation: yTopMatrix .5s ease-out .4s backwards;
animation: yTopMatrix .5s ease-out .4s backwards;
2015-06-04 16:37:43 +08:00
}
2015-05-11 15:52:24 +08:00
.index-page footer {
2015-06-10 14:20:26 +08:00
-webkit-animation: yBottomMatrix .5s ease-out .6s backwards;
animation: yBottomMatrix .5s ease-out .6s backwards;
2015-05-11 15:52:24 +08:00
}
.index-page .logo {
2015-06-02 20:22:35 +08:00
-webkit-animation: xLeftMatrix .5s ease-out;
animation: xLeftMatrix .5s ease-out;
2015-05-11 15:52:24 +08:00
}
.index-page .search {
2015-06-10 14:20:26 +08:00
-webkit-animation: xRightMatrix .5s ease-out .2s backwards;
animation: xRightMatrix .5s ease-out .2s backwards;
2015-05-11 15:52:24 +08:00
}
2015-05-12 15:49:05 +08:00
.api-link {
2015-06-02 20:22:35 +08:00
font-size: 16px;
vertical-align: middle;
margin-left: 15px;
font-weight: normal;
2015-06-01 16:07:02 +08:00
}
.sketch-link {
2015-06-02 20:22:35 +08:00
font-size: 14px;
vertical-align: middle;
font-weight: normal;
float: right;
margin-right: 15px;
border: 1px solid #ddd;
padding: 2px 15px;
border-radius: 100px;
color: #777;
2015-06-01 16:07:02 +08:00
}
.sketch-link i {
2015-06-02 20:22:35 +08:00
margin-right: 5px;
2015-05-12 15:49:05 +08:00
}
2015-05-15 16:00:08 +08:00
2015-06-09 22:07:15 +08:00
.component-demos {
margin: 2em 0 1em;
2015-11-20 22:43:01 +08:00
color: #404040;
font-weight: 500;
2015-11-20 22:46:52 +08:00
font-size: 24px;
2015-06-09 22:07:15 +08:00
}
2015-08-23 14:46:11 +08:00
.component-demos .anticon-appstore {
2015-06-02 20:22:35 +08:00
cursor: pointer;
2015-08-23 14:46:11 +08:00
font-size: 14px;
2015-06-02 20:22:35 +08:00
color: #9199AC;
margin-left: 5px;
opacity: 0.8;
transition: all 0.3s ease;
top: -2px;
2015-08-23 14:46:11 +08:00
position: relative;
2015-05-16 16:20:49 +08:00
}
2015-08-23 14:46:11 +08:00
.component-demos .anticon-appstore:hover {
2015-06-02 20:22:35 +08:00
opacity: 1;
2015-05-16 16:20:49 +08:00
}
2015-08-23 14:46:11 +08:00
.component-demos .anticon-appstore.expand {
2015-06-02 20:22:35 +08:00
color: #3B4357;
2015-05-27 11:35:01 +08:00
}
2015-06-25 16:15:12 +08:00
.code-boxes-col-1-1 {
2015-07-20 19:28:12 +08:00
width: 80%;
2015-06-25 16:15:12 +08:00
}
.code-boxes-col-2-1 {
2015-12-25 17:59:11 +08:00
width: 48%;
2015-08-19 21:11:08 +08:00
display: inline-block;
vertical-align: top;
2016-01-01 16:09:58 +08:00
padding-right: 8px;
2015-05-27 11:35:01 +08:00
}
2015-06-25 16:15:12 +08:00
.code-boxes-col-2-1:last-child {
2015-06-17 19:31:42 +08:00
padding-right: 0;
2016-01-01 16:09:58 +08:00
padding-left: 8px;
2015-06-17 19:31:42 +08:00
}
2015-05-15 16:00:08 +08:00
.code-box {
2015-06-02 20:22:35 +08:00
border: 1px solid #E9E9E9;
border-radius: 6px;
display: inline-block;
width: 100%;
position: relative;
2016-01-02 15:04:39 +08:00
margin: 0px 0 16px 0px;
2015-08-19 10:15:28 +08:00
transition: all 0.5s ease;
2015-06-17 19:31:42 +08:00
}
.code-box:hover {
border-color: #ccc;
}
.code-box:target {
2015-08-19 10:15:28 +08:00
border: 1px solid rgba(45, 183, 245, 0.7);
box-shadow: 0 0 4px rgba(45, 183, 245, 0.5);
}
.code-box:hover .code-box-meta,
.code-box:target .code-box-meta {
2015-06-17 19:31:42 +08:00
background: #fbfbfb;
}
.code-box:hover .code-box-title,
.code-box:target .code-box-title {
2015-06-17 19:31:42 +08:00
background: #fbfbfb;
box-shadow: 0 -1.2px 0 #e9e9e9;
2015-05-25 18:15:41 +08:00
}
.code-box .code-box-title a,
.code-box .code-box-title a:hover {
color: #666;
}
2015-05-18 17:45:08 +08:00
.code-box .code-box-demo {
2015-06-02 20:22:35 +08:00
border-bottom: 1px solid #E9E9E9;
padding: 42px 20px 50px;
}
2015-05-15 18:03:27 +08:00
.code-box-meta {
2015-06-02 20:22:35 +08:00
position: relative;
2015-10-22 16:51:44 +08:00
padding: 10px 15px;
2015-06-02 20:22:35 +08:00
border-radius: 0 0 6px 6px;
2015-06-17 19:31:42 +08:00
transition: background-color 0.4s ease;
2015-06-26 18:40:30 +08:00
width: 100%;
2015-05-15 18:03:27 +08:00
}
.code-box-meta h4,
.code-box-meta p {
2015-06-02 20:22:35 +08:00
margin: 0;
2015-05-15 18:03:27 +08:00
}
.code-box-title {
2015-06-02 20:22:35 +08:00
position: absolute;
top: -14px;
padding: 1px 1.1em;
2015-06-08 22:42:36 +08:00
color: #777;
2015-06-02 20:22:35 +08:00
border-radius: 6px;
2015-06-17 19:31:42 +08:00
background: #fff;
transition: all 0.4s ease;
2015-05-15 18:03:27 +08:00
}
2015-05-16 16:02:32 +08:00
.code-box-title:before {
2015-08-23 14:46:11 +08:00
font-family: anticon;
2015-11-14 14:09:08 +08:00
content: "\e658";
2015-06-02 20:22:35 +08:00
font-size: 16px;
vertical-align: middle;
line-height: 22px;
position: relative;
2015-06-08 22:42:36 +08:00
margin-right: 8px;
top: -2px;
2015-06-02 20:22:35 +08:00
color: #ccc;
2015-08-23 14:46:11 +08:00
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
display: inline-block;
2015-05-16 16:02:32 +08:00
}
2015-06-02 17:20:02 +08:00
.code-box-meta > p {
2015-06-02 20:22:35 +08:00
font-size: 12px;
margin: 0.5em 0;
2015-06-10 10:20:52 +08:00
padding-right: 25px;
2015-05-15 18:03:27 +08:00
}
.code-box .collapse {
2015-06-02 20:22:35 +08:00
position: absolute;
2015-10-22 16:48:18 +08:00
right: 16px;
2015-10-22 16:51:44 +08:00
bottom: 18px;
2015-06-02 20:22:35 +08:00
cursor: pointer;
2015-06-12 15:56:21 +08:00
width: 18px;
height: 18px;
font-size: 18px;
line-height: 18px;
2015-06-02 20:22:35 +08:00
opacity: 0.5;
2015-06-08 22:42:36 +08:00
text-align: center;
2015-08-25 14:01:41 +08:00
-webkit-transform: rotate(90deg);
2015-06-12 15:56:21 +08:00
transform: rotate(90deg);
transition: all 0.3s ease;
2015-06-17 19:31:42 +08:00
color: #999;
2015-06-26 18:40:30 +08:00
background: #fff;
2015-05-15 18:03:27 +08:00
}
2015-06-12 15:56:21 +08:00
.code-box.expand .collapse {
2015-08-25 14:01:41 +08:00
-webkit-transform: rotate(-90deg);
2015-06-12 15:56:21 +08:00
transform: rotate(-90deg);
2015-06-08 22:42:36 +08:00
}
2015-06-12 15:56:21 +08:00
.code-box .collapse:hover {
opacity: 1;
2015-06-08 22:42:36 +08:00
}
2015-05-15 18:03:27 +08:00
.code-box .highlight {
2015-06-02 20:22:35 +08:00
overflow: hidden;
display: none;
padding: 5px;
border-top: 1px dashed #e9e9e9;
2015-05-15 18:03:27 +08:00
}
.code-box pre {
2015-06-02 20:22:35 +08:00
margin: 0;
width: auto;
2015-05-15 16:00:08 +08:00
}
.code-box pre code {
2015-06-02 20:22:35 +08:00
border: none;
background: #fff;
2015-05-15 16:00:08 +08:00
}
2015-05-16 17:05:49 +08:00
2015-05-26 18:28:12 +08:00
.banner-entry {
2015-06-02 20:22:35 +08:00
position: absolute;
top: 19%;
left: 10%;
z-index: 100;
color: #707d8d;
2015-07-17 12:32:43 +08:00
font-family: "Raleway","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
2015-06-02 20:22:35 +08:00
font-weight: 300;
2015-05-16 17:05:49 +08:00
}
.entry-title {
2015-06-02 20:22:35 +08:00
font-size: 50px;
text-transform: uppercase;
line-height: 1;
margin-bottom: 12px;
2015-05-16 17:05:49 +08:00
}
2015-05-16 17:36:29 +08:00
.entry-slogan {
2015-06-02 20:22:35 +08:00
padding-left: 4px;
font-size: 14px;
color: #9ea9b4;
2015-05-16 17:36:29 +08:00
}
2015-05-16 17:05:49 +08:00
a.entry-link {
2015-08-22 21:08:18 +08:00
margin-top: 30px;
2015-06-02 20:22:35 +08:00
border: 1px solid rgba(95, 108, 119, 0.3);
border-radius: 50px;
color: #5F6C77;
2015-08-22 21:08:18 +08:00
display: inline-block;
2015-06-02 20:22:35 +08:00
text-align: center;
2015-08-22 21:08:18 +08:00
padding: 8px 20px;
2015-06-02 20:22:35 +08:00
transition: border 0.3s ease;
2015-05-16 17:05:49 +08:00
}
a.entry-link:hover {
2015-06-02 20:22:35 +08:00
border-color: #5F6C77;
2015-05-16 17:05:49 +08:00
}
2015-08-23 14:46:11 +08:00
a.entry-link .anticon-smile {
2015-08-24 18:06:30 +08:00
margin-right: 2px;
2015-06-02 20:22:35 +08:00
display: inline-block;
2015-08-24 18:06:30 +08:00
-webkit-animation: rotateCircleBack 0.6s 1 ease-in-out;
animation: rotateCircleBack 0.6s 1 ease-in-out;
2015-08-23 14:46:11 +08:00
line-height: 1;
2015-08-24 18:06:30 +08:00
width: 16px;
2015-05-16 17:05:49 +08:00
}
2015-08-23 14:46:11 +08:00
a.entry-link:hover .anticon-smile {
2015-08-24 18:06:30 +08:00
-webkit-animation: rotateCircle 0.6s 1 ease-in-out;
animation: rotateCircle 0.6s 1 ease-in-out;
2015-06-02 16:57:01 +08:00
}
2015-06-15 16:00:45 +08:00
2015-08-03 18:17:16 +08:00
.entry-version {
font-size: 12px;
margin-top: 15px;
position: absolute;
top: 36px;
right: -32px;
}
2015-06-15 16:00:45 +08:00
@media only screen and (min-width: 320px) and (max-width: 1024px) {
2015-08-03 17:40:58 +08:00
.code-boxes-col-2-1 {
2015-06-15 16:00:45 +08:00
float: none;
width: 100%;
}
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
.nav, .search {
display: none;
}
.logo {
margin: 10px;
height: auto;
}
2015-08-31 16:28:35 +08:00
.banner-entry {
position: relative;
top: 30px;
left: 0;
text-align: center;
}
2015-08-26 22:16:20 +08:00
.nav {
position: absolute;
z-index: 1000;
top: 50px;
right: 0;
background: #fff;
overflow: hidden;
height: auto;
line-height: 50px;
margin-right: 0;
border: 1px solid #e9e9e9;
width: 50%;
}
.nav .bar {
display: none!important;
}
.nav ul li {
width: 100%;
}
2015-06-15 16:00:45 +08:00
.nav-phone-icon {
display: block;
width: 49px;
height: 49px;
float: right;
cursor: pointer;
background: #BEC4C8;
}
.nav-phone-icon:before,
.nav-phone-icon:after {
content: "";
display: block;
border-radius: 1px;
width: 15px;
height: 2px;
background: #EBEDEE;
margin: 20px 0 0 18px;
}
.nav-phone-icon:after {
margin-top: 5px;
}
.main {
height: calc(100% - 86px);
}
2015-08-26 22:16:20 +08:00
.aside-container {
float: none;
width: auto;
2015-06-15 16:00:45 +08:00
}
2015-08-26 22:16:20 +08:00
.main-container {
margin-left: 0;
}
.markdown {
width: 100%;
}
footer {
text-align: center;
}
footer ul li {
float: none;
width: auto;
2015-06-15 16:00:45 +08:00
}
}
2015-09-11 17:54:52 +08:00
#instantclick {
2015-09-14 10:36:24 +08:00
top: 80px!important;
position: absolute!important;
2015-09-11 17:54:52 +08:00
}
#instantclick-bar {
background: #6EB4E0;
}
2015-11-03 17:35:35 +08:00
#versions-select {
position: relative;
top: -2px;
}
2015-11-09 21:00:30 +08:00
.window-frame {
position: relative;
margin: 0;
padding: 0;
border-radius: 5px;
border: 1px solid #ccc;
2015-11-14 20:41:10 +08:00
background-color: #fff;
2015-11-09 21:00:30 +08:00
line-height: 1;
}
.window-frame .top-bar {
background: #DCD9DC;
background-image: -webkit-linear-gradient(#F6F6F6, #dadada);
background-image: linear-gradient(#F6F6F6, #dadada);
min-height: 2rem;
border-radius: 0.35rem 0.35rem 0 0;
padding: 0.41528rem 0.83056rem;
border-bottom: 1px solid transparent;
border-bottom-color: #ccc;
color: rgba(0, 0, 0, 0.5);
}
.window-frame .top-bar .address-bar {
border-radius: 0.245rem;
border: 1px solid rgba(0, 0, 0, 0.3);
color: black;
box-shadow: 0 0.5px 0 0 rgba(255, 255, 255, 0.75), inset 0 1px 1px rgba(0, 0, 0, 0.15);
display: inline-block;
padding: 0 0.5em 0 1em;
font-size: 0.75rem;
line-height: 2;
background: white;
width: 60%;
margin-left: 15%;
}
.window-frame .top-bar .controls {
display: inline-block;
vertical-align: top;
position: relative;
padding-top: 0.2em;
}
.window-frame .top-bar .controls > * {
position: relative;
vertical-align: middle;
line-height: 1;
display: inline-block;
margin-right: 0.41528rem;
-webkit-transition: 0.1s linear;
transition: 0.1s linear;
}
.window-frame .top-bar .control {
width: 0.83056rem;
height: 0.83056rem;
background: #DCD9DC;
border-radius: 0.83056rem;
border: 1px solid rgba(0, 0, 0, 0.08);
cursor: pointer;
}
.window-frame .top-bar .control:hover {
background: #b0adb0;
}
.window-frame .top-bar .control:before,
.window-frame .top-bar .control:after {
line-height: 0.5;
color: black;
text-align: center;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
vertical-align: middle;
line-height: 0.5;
}
.window-frame .top-bar .control.close {
background: #FC625C;
}
.window-frame .top-bar .control.minify {
background: #FDC041;
}
.window-frame .top-bar .control.expand {
background: #35CD4B;
}
.window-frame .window-content {
padding: 0;
line-height: 1.5;
2015-11-14 20:41:10 +08:00
overflow: auto;
height: 440px;
2015-11-09 21:00:30 +08:00
position: relative;
border-radius: 0 0 5px 5px;
background: #ececec;
2015-11-09 21:00:30 +08:00
}
2016-01-02 15:04:39 +08:00
2015-11-09 21:00:30 +08:00
.window-frame .status-bar {
height: 2rem;
border-radius: 0 0 0.35rem 0.35rem;
display: none;
}
2015-12-25 17:54:02 +08:00
.demos-anchor {
color: #aaa;
position: fixed;
2016-01-06 15:27:56 +08:00
top: 100px;
right: 32px;
2015-12-25 17:54:02 +08:00
z-index: 100;
transition: all 0.3s ease;
background: #fff;
2016-01-02 15:04:39 +08:00
background: rgba(255,255,255,0.9);
padding: 8px 10px 8px 24px;
2015-12-25 18:13:10 +08:00
border-radius: 6px 0 0 6px;
2015-12-25 17:54:02 +08:00
margin: 0;
font-size: 12px;
2015-12-25 18:13:10 +08:00
border-right: 0;
2016-01-02 15:04:39 +08:00
-webkit-animation: .5s ease-out 0.5s xRightMatrix;
animation: .5s ease-out 0.5s xRightMatrix;
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
opacity: 0;
2015-12-25 17:54:02 +08:00
}