ant-design/static/style.css

1180 lines
21 KiB
CSS
Raw Normal View History

2015-05-26 18:07:50 +08:00
@font-face {font-family: "iconfont-home";
src: url('//at.alicdn.com/t/font_1431765342_6775353.eot'); /* IE9*/
src: url('//at.alicdn.com/t/font_1431765342_6775353.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('//at.alicdn.com/t/font_1431765342_6775353.woff') format('woff'), /* chrome銆乫irefox */
url('//at.alicdn.com/t/font_1431765342_6775353.ttf') format('truetype'), /* chrome銆乫irefox銆乷pera銆丼afari, Android, iOS 4.2+*/
url('//at.alicdn.com/t/font_1431765342_6775353.svg#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont-home {
font-family:"iconfont-home" !important;
font-size:16px;
font-style:normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.icon-tag:before { content: "\e607"; }
.icon-lego:before { content: "\e600"; }
.icon-all:before { content: "\e601"; }
.icon-chevron:before { content: "\e602"; }
.icon-externallink:before { content: "\e603"; }
.icon-download:before { content: "\e604"; }
.icon-github:before { content: "\e605"; }
.icon-code:before { content: "\e606"; }
2015-05-07 18:50:36 +08:00
html {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
2015-05-26 18:07:50 +08:00
2015-05-15 18:03:27 +08:00
html, body {
2015-05-07 18:50:36 +08:00
height: 100%;
}
2015-05-09 18:16:36 +08:00
body {
2015-05-12 16:12:07 +08:00
font-family: "Helvetica Neue","Microsoft Yahei",Helvetica,Arial,sans-serif;
2015-05-09 18:16:36 +08:00
line-height: 1.5;
color: #999;
2015-05-09 18:24:25 +08:00
font-size: 14px;
2015-05-09 18:16:36 +08:00
}
2015-05-07 18:50:36 +08:00
*,
*:after,
*:before {
box-sizing: border-box;
}
html,
body,
ul,
li,
p {
margin: 0;
padding: 0;
}
img,
input {
display: block;
}
ul,
li {
list-style: none;
}
a {
2015-05-09 18:16:36 +08:00
color: #6EB4E0;
2015-05-07 18:50:36 +08:00
text-decoration: none;
2015-05-16 16:20:49 +08:00
transition: color .3s ease;
2015-05-07 18:50:36 +08:00
}
a:hover {
color: #6EB4E0;
}
header {
width: 100%;
2015-05-09 18:16:36 +08:00
background: #fff;
2015-05-07 18:50:36 +08:00
overflow: hidden;
2015-05-09 18:16:36 +08:00
border-bottom: 1px solid #eee;
2015-05-09 18:25:40 +08:00
font-size: 16px;
2015-05-07 18:50:36 +08:00
}
2015-05-26 18:28:12 +08:00
.fn-hide{
display: none;
}
2015-05-07 18:50:36 +08:00
.fn-alpha-in {
opacity: 1 !important;
}
.fn-alpha-out {
opacity: 0 !important;
}
.logo {
float: left;
height: 46px;
2015-05-16 20:35:50 +08:00
line-height: 58px;
margin: 15px 30px;
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;
font-family: "Raleway",sans-serif;
2015-05-16 21:13:19 +08:00
font-weight: 500;
2015-05-16 20:35:50 +08:00
}
.logo img {
float: left;
2015-05-07 18:50:36 +08:00
}
.search {
float: left;
height: 22px;
padding: 0px 30px;
margin: 32px auto;
border-left: 1px solid #EBEDEE;
position: relative;
}
.search input[type="text"] {
border: transparent;
outline: none;
width: 100px;
height: 22px;
padding: 0 0 0 20px;
2015-05-11 15:52:24 +08:00
color: #999;
transition: padding .3s cubic-bezier(0.075, 0.82, 0.165, 1);
font-size: 14px;
2015-05-07 18:50:36 +08:00
}
2015-05-16 17:10:22 +08:00
.search input::-webkit-input-placeholder,
.search input::-moz-placeholder,
2015-05-07 18:50:36 +08:00
.search input:-ms-input-placeholder {
color: #CADCE3;
}
.search form .focus {
2015-05-07 18:50:36 +08:00
padding: 0 20px 0 0;
/*width: 150px;*/
2015-05-07 18:50:36 +08:00
}
.search button {
position: absolute;
outline: none;
background: transparent;
border: transparent;
top: 5px;
width: 15px;
height: 15px;
padding: 0;
left: 30px;
cursor: pointer;
transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.search button:before,
.search button:after {
content: "";
display: block;
}
.search button:before {
width: 12px;
height: 12px;
border-radius: 6px;
border: 2px solid #CADCE3;
background: #ffffff;
position: absolute;
top: 0
}
.search button:after {
width: 2px;
height: 6px;
background: #CADCE3;
position: absolute;
transform: rotate(-45deg);
left: 10px;
top: 8px;
}
2015-05-11 15:52:24 +08:00
.search input:focus ~ button {
left: 170px;
}
2015-05-07 18:50:36 +08:00
.nav {
width: 30%;
height: 87px;
line-height: 87px;
float: right;
font-size: 0.875em;
position: relative;
2015-05-16 17:42:45 +08:00
margin-right: 25px;
2015-05-07 18:50:36 +08:00
}
.nav ul li {
float: left;
width: 16.66%;
text-align: center;
2015-05-11 17:17:57 +08:00
border-top: 3px solid transparent;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:33:14 +08:00
.nav ul li.current {
2015-05-26 11:50:57 +08:00
border-top: 3px solid #71B5DE;
2015-05-09 18:33:14 +08:00
}
2015-05-07 18:50:36 +08:00
.nav ul li a {
color: #728AA3;
width: 100%;
height: 100%;
display: block;
2015-05-11 19:45:56 +08:00
}
.nav ul li.current a {
color: #71B5DE;
2015-05-07 18:50:36 +08:00
}
.nav ul li a:hover,
.nav ul li .hover {
color: #6EB4E0;
}
.nav .bar {
width: 16.66%;
height: 3px;
position: absolute;
top: 0;
left: 0;
background: #6EB4E0;
}
.barAnim{
transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1);
2015-05-07 18:50:36 +08:00
}
.nav-phone-icon {
display: none;
}
/*banner*/
.main-box {
display: block;
position: absolute;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.perspective {
vertical-align: top;
position: relative;
perspective: 4000px;
-webkit-perspective: 4000px;
}
.main {
overflow: hidden;
position: relative;
min-height: calc(100% - 217px);
transform-style: preserve-3d;
transition: transform .6s cubic-bezier(0.785, 0.135, 0.15, 0.86), height .5s ease-out;
}
.banner-box {
width: 100%;
height: 100%;
min-height: 600px;
position: relative;
overflow: inherit;
2015-05-26 18:28:12 +08:00
-webkit-animation: alphaTo .3s ease-out;
animation: alphaTo .3s ease-out;
2015-05-07 18:50:36 +08:00
}
.banner-box .banner-img {
2015-05-09 15:39:06 +08:00
background: url("https://t.alipayobjects.com/images/T1URpfXeXtXXXXXXXX.jpg") center no-repeat;
2015-05-07 18:50:36 +08:00
height: 1062px;
width: 2185px;
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
}
.banner-box #bannerAnim,
.load-main-box {
position: absolute;
width: 100%;
height: 100%;
transform-origin: 0 0;
-webkit-transform-origin: 0 0;
z-index: 2;
2015-05-26 18:28:12 +08:00
background: #2d2d2d
2015-05-07 18:50:36 +08:00
}
.load-main-box {
top: 0;
background: rgba(100, 100, 100, 0.15);
animation: alphaTo .3s ease-out;
-webkit-animation: alphaTo .3s ease-out;
}
.load-box {
width: 40px;
height: 40px;
background: #ffffff;
border-radius: 4px;
box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
margin-left: -20px;
margin-top: -20px;
}
.load-box em {
display: block;
width: 20px;
height: 20px;
border-radius: 20px 20px 0 0;
background: linear-gradient(0deg, transparent 50%, #6EB4E0 50%);
margin: 10px;
position: relative;
float: left;
animation: RotaeX 1.5s infinite linear;
-webkit-animation: RotaeX 1.5s infinite linear;
}
.load-box em:before,
.load-box em:after {
content: "";
display: block;
}
.load-box em:before {
width: 14px;
height: 14px;
border-radius: 14px;
margin: 3px auto;
position: relative;
z-index: 1;
background: #ffffff;
}
.load-box em:after {
position: absolute;
width: 20px;
height: 20px;
border-radius: 20px;
top: 0;
background: linear-gradient(90deg, #6EB4E0, transparent);
}
.load-out {
transform: scale(0, 0);
-webkit-animation: scaleOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
2015-05-16 20:35:50 +08:00
animation: scaleOut .5s cubic-bezier(0.6, -0.28, 0.735, 0.045);
2015-05-07 18:50:36 +08:00
}
.banner-box #bannerAnim .banner-line-absolute {
position: absolute;
}
footer {
2015-05-09 18:16:36 +08:00
clear: both;
border-top: 1px solid #eee;
2015-05-09 18:25:40 +08:00
font-size: 16px;
2015-05-15 18:03:27 +08:00
background: #fff;
2015-05-07 18:50:36 +08:00
}
footer ul {
overflow: hidden;
min-height: 130px;
margin: 0 2%;
}
footer ul li {
float: left;
width: 25%;
padding: 1% 2%;
}
footer ul li>h2 {
font-size: 1em;
color: #5C6B77;
margin: 10px auto;
font-weight: normal;
}
footer ul li>h3,
footer h3 {
font-size: 0.75em;
color: #5C6B77;
font-weight: normal;
}
2015-05-09 18:16:36 +08:00
footer > h3 {
2015-05-07 18:50:36 +08:00
text-align: center;
font-size: .75em;
display: none;
margin: auto;
padding: 10px 0;
}
2015-05-09 18:16:36 +08:00
footer ul li > a {
2015-05-07 18:50:36 +08:00
font-size: 0.75em;
display: block;
margin: 5px auto;
}
2015-05-09 18:16:36 +08:00
.aside-container {
2015-05-21 22:24:19 +08:00
width: 260px;
2015-05-07 18:50:36 +08:00
background: #F9F9F9;
2015-05-11 18:09:13 +08:00
padding-top: 15px;
}
.aside-container li h4 {
font-size: 16px;
font-weight: bold;
padding-left: 50px;
margin: 10px 0;
color: #5C6B77;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
.aside-container li a {
line-height: 44px;
height: 44px;
2015-05-07 18:50:36 +08:00
display: block;
2015-05-09 18:16:36 +08:00
padding-left: 60px;
font-size: 14px;
color: #5C6B76;
border-left: 3px solid transparent;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
2015-05-21 22:24:19 +08:00
.aside-container li a .chinese {
font-size: 12px;
margin-left: 10px;
font-weight: normal;
color: #999;
}
2015-05-09 18:16:36 +08:00
.aside-container li a:hover {
color: #6EB4E0;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
.aside-container li.current > a {
background: #fff;
border-left: 3px solid #71B5DE;
color: #71B5DE;
2015-05-07 18:50:36 +08:00
}
2015-05-09 18:16:36 +08:00
2015-05-15 18:03:27 +08:00
.main-wrapper {
display: flex;
}
2015-05-09 18:16:36 +08:00
.main-container {
2015-05-21 22:24:19 +08:00
width: calc(100% - 260px);
2015-05-25 18:15:41 +08:00
padding: 30px 40px 120px;
2015-05-07 18:50:36 +08:00
-webkit-animation: xRightMatrix .5s ease-out .5s backwards;
2015-05-11 15:52:24 +08:00
animation: xRightMatrix .5s ease-out .5s backwards;
2015-05-09 18:16:36 +08:00
}
2015-05-09 18:40:01 +08:00
.main-container-center {
margin: 0 auto;
2015-05-16 16:05:22 +08:00
padding-left: 0;
padding-right: 0;
2015-05-09 18:40:01 +08:00
width: calc(100% - 80px);
height: 100%;
}
2015-05-09 18:16:36 +08:00
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #5C6B77;
2015-05-07 18:50:36 +08:00
}
2015-05-15 18:03:27 +08:00
.markdown h2 {
margin: 2.5em 0 1em 0;
}
2015-05-09 18:24:25 +08:00
.markdown p {
margin: 1em 0;
2015-05-15 18:03:27 +08:00
width: 75%;
2015-05-09 18:24:25 +08:00
}
2015-05-07 18:50:36 +08:00
@media only screen and (min-width: 768px) and (max-width: 1024px) {
.nav {
width: 40%;
}
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
.nav,
.search {
display: none;
}
.logo {
margin: 10px;
width: 110px;
height: auto;
}
.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);
}
footer ul {
display: none;
}
footer h3 {
display: block;
}
}
/*********动画区域**********/
/*动画延时*/
.delay-mode {
animation-fill-mode: backwards !important;
-webkit-animation-fill-mode: backwards !important;
}
.no-delay {
animation-delay: 0s !important;
-webkit-animation-delay: 0s !important;
-moz-animation-delay: 0s !important;
-o-animation-delay: 0s !important;
}
.from-rotate-scale-m {
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);
}
.from-rotate-scale-l {
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);
}
.from-scale-l {
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);
}
.from-scale-m {
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);
}
.from-x-left {
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);
}
.from-x-right {
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);
}
.from-y-top {
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);
}
.from-y-bottom {
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);
}
.to-img-blur {
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;
}
.from-img-blur {
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;
}
.alpha-out {
opacity: 0;
animation: alphaOut .5s ease-out;
-webkit-animation: alphaOut .5s ease-out;
}
@keyframes fromImgBlur {
0% {
opacity: 0;
filter: blur(15px);
}
100% {
opacity: 1;
filter: blur(0px);
}
}
@-webkit-keyframes fromImgBlur {
0% {
opacity: 0;
-webkit-filter: blur(15px);
}
100% {
opacity: 1;
-webkit-filter: blur(0px);
}
}
@-moz-keyframes fromImgBlur {
0% {
opacity: 0;
-moz-filter: blur(15px);
}
100% {
opacity: 1;
-moz-filter: blur(0px);
}
}
@-ms-keyframes fromImgBlur {
0% {
opacity: 0;
-ms-filter: blur(15px);
}
100% {
opacity: 1;
-ms-filter: blur(0px);
}
}
@-o-keyframes fromImgBlur {
0% {
opacity: 0;
-o-filter: blur(15px);
}
100% {
opacity: 1;
-o-filter: blur(0px);
}
}
@keyframes toImgBlur {
0% {
opacity: 1;
filter: blur(0px);
}
100% {
opacity: 0;
filter: blur(15px);
}
}
@-webkit-keyframes toImgBlur {
0% {
opacity: 1;
-webkit-filter: blur(0px);
}
100% {
opacity: 0;
-webkit-filter: blur(15px);
}
}
@-moz-keyframes toImgBlur {
0% {
opacity: 1;
-moz-filter: blur(0px);
}
100% {
opacity: 0;
-moz-filter: blur(15px);
}
}
@-ms-keyframes toImgBlur {
0% {
opacity: 1;
-ms-filter: blur(0px);
}
100% {
opacity: 0;
-ms-filter: blur(15px);
}
}
@-o-keyframes toImgBlur {
0% {
opacity: 1;
-o-filter: blur(0px);
}
100% {
opacity: 0;
-o-filter: blur(15px);
}
}
@keyframes yBottom {
0% {
opacity: 0;
margin-top: 100px;
}
100% {
opacity: 1;
margin-top: 0px;
}
}
@-webkit-keyframes yBottom {
0% {
opacity: 0;
margin-top: 100px;
}
100% {
opacity: 1;
margin-top: 0px;
}
}
@keyframes yTop {
0% {
opacity: 0;
margin-top: -100px;
}
100% {
opacity: 1;
margin-top: 0px;
}
}
@-webkit-keyframes yTop {
0% {
opacity: 0;
margin-top: -100px;
}
100% {
opacity: 1;
margin-top: 0px;
}
}
@keyframes xRight {
0% {
opacity: 0;
margin-left: 100px;
}
100% {
opacity: 1;
margin-left: 0px;
}
}
@-webkit-keyframes xRight {
0% {
opacity: 0;
margin-left: 100px;
}
100% {
opacity: 1;
margin-right: 0px;
}
}
@keyframes xLeft {
0% {
opacity: 0;
margin-left: -100px;
}
100% {
opacity: 1;
margin-left: 0px;
}
}
@-webkit-keyframes xLeft {
0% {
opacity: 0;
margin-left: -100px;
}
100% {
opacity: 1;
margin-left: 0px;
}
}
@keyframes mScale {
0% {
opacity: 0;
transform: scale(0, 0);
}
100% {
opacity: 1;
transform: scale(1, 1);
}
}
@-webkit-keyframes mScale {
0% {
opacity: 0;
-webkit-transform: scale(0, 0);
}
100% {
opacity: 1;
-webkit-transform: scale(1, 1);
}
}
@keyframes lScale {
0% {
opacity: 0;
transform: scale(1.5, 1.5);
}
100% {
opacity: 1;
transform: scale(1, 1);
}
}
@-webkit-keyframes lScale {
0% {
opacity: 0;
-webkit-transform: scale(1.5, 1.5);
}
100% {
opacity: 1;
-webkit-transform: scale(1, 1);
}
}
@keyframes mRotateScale {
0% {
opacity: 0;
transform: rotate(90deg) scale(0, 0);
}
100% {
opacity: 1;
transform: rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes mRotateScale {
0% {
opacity: 0;
-webkit-transform: rotate(90deg) scale(0, 0);
}
100% {
opacity: 1;
-webkit-transform: rotate(0deg) scale(1, 1);
}
}
@keyframes lRotateScale {
0% {
opacity: 0;
transform: rotate(90deg) scale(1.5, 1.5);
}
100% {
opacity: 1;
transform: rotate(0deg) scale(1, 1);
}
}
@-webkit-keyframes lRotateScale {
0% {
opacity: 0;
-webkit-transform: rotate(90deg) scale(1.5, 1.5);
}
100% {
opacity: 1;
-webkit-transform: rotate(0deg) scale(1, 1);
}
}
@keyframes RotaeX {
to {
transform: rotate(360deg);
}
}
@-webkit-keyframes RotaeX {
to {
-webkit-transform: rotate(360deg);
}
}
@keyframes scaleOut {
0% {
transform: scale(1, 1);
}
100% {
transform: scale(0, 0);
}
}
@-webkit-keyframes scaleOut {
0% {
-webkit-transform: scale(1, 1);
;
}
100% {
-webkit-transform: scale(0, 0);
;
}
}
@keyframes yTopMatrix {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}
@-webkit-keyframes yTopMatrix {
0% {
opacity: 0;
-webkit-transform: translateY(-50px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0px);
}
}
@keyframes yBottomMatrix {
0% {
opacity: 0;
transform: translateY(50px);
}
100% {
opacity: 1;
transform: translateY(0px);
}
}
@-webkit-keyframes yBottomMatrix {
0% {
opacity: 0;
-webkit-transform: translateY(50px);
}
100% {
opacity: 1;
-webkit-transform: translateY(0px);
}
}
@keyframes xLeftMatrix {
0% {
opacity: 0;
transform: translateX(-50px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
@-webkit-keyframes xLeftMatrix {
0% {
opacity: 0;
-webkit-transform: translateX(-50px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0px);
}
}
@keyframes xRightMatrix {
0% {
opacity: 0;
transform: translateX(50px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
@-webkit-keyframes xRightMatrix {
0% {
opacity: 0;
-webkit-transform: translateX(50px);
}
100% {
opacity: 1;
-webkit-transform: translateX(0px);
}
}
@keyframes mainOut {
0% {
transform: rotateY(0deg);
}
100% {
transform: rotateY(90deg);
}
}
@-webkit-keyframes mainOut {
0% {
-webkit-transform: rotateY(0deg);
}
100% {
-webkit-transform: rotateY(90deg);
}
}
@keyframes alphaTo {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@-webkit-keyframes alphaTo {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes alphaOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@-webkit-keyframes alphaOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
2015-05-11 15:52:24 +08:00
2015-05-16 17:05:49 +08:00
@-webkit-keyframes rotateCircle {
0% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(360deg);
}
}
@keyframes rotateCircle {
0% {
transform-origin: 50% 50%;
transform: rotate(0deg);
}
100% {
transform-origin: 50% 50%;
transform: rotate(360deg);
}
}
2015-05-11 15:52:24 +08:00
/* 首页有动画 */
.index-page .nav {
-webkit-animation: yTopMatrix .5s ease-out .5s backwards;
animation: yTopMatrix .5s ease-out .5s backwards;
}
.index-page footer {
-webkit-animation: yBottomMatrix .5s ease-out .7s backwards;
animation: yBottomMatrix .5s ease-out .7s backwards;
}
.index-page .logo {
-webkit-animation: xLeftMatrix .5s ease-out;
animation: xLeftMatrix .5s ease-out;
}
.index-page .search {
-webkit-animation: xRightMatrix .5s ease-out .3s backwards;
animation: xRightMatrix .5s ease-out .3s backwards;
}
2015-05-12 15:49:05 +08:00
.api-link {
font-size: 16px;
vertical-align: middle;
margin-left: 15px;
2015-05-12 16:13:25 +08:00
font-weight: normal;
2015-05-12 15:49:05 +08:00
}
2015-05-15 16:00:08 +08:00
2015-05-16 16:20:49 +08:00
.component-demos .icon-all {
cursor: pointer;
font-size: 16px;
color: #9199AC;
margin-left: 5px;
vertical-align: text-bottom;
opacity: 0.8;
transition: all 0.3s ease;
}
.component-demos .icon-all:hover {
opacity: 1;
}
2015-05-15 16:00:08 +08:00
.code-box {
border: 1px solid #E9E9E9;
border-radius: 6px;
2015-05-15 18:03:27 +08:00
display: inline-block;
width: 100%;
2015-05-25 18:15:41 +08:00
position: relative;
margin: 0px 15px 15px 0px;
}
.code-box.code-box-expand {
border-bottom: 1px dashed #ddd;
border-radius: 6px 6px 0 0;
2015-05-15 18:03:27 +08:00
}
2015-05-18 17:45:08 +08:00
.code-box .code-box-demo {
2015-05-15 18:03:27 +08:00
padding: 50px 25px;
border-bottom: 1px solid #ddd;
}
.code-box-meta {
position: relative;
padding: 25px 15px;
}
.code-box-meta h4,
.code-box-meta p {
margin: 0;
}
.code-box-title {
position: absolute;
top: -10px;
background: #fff;
padding: 0 1em;
2015-05-16 16:02:32 +08:00
color: #888;
2015-05-15 18:03:27 +08:00
font-weight: bold;
}
2015-05-16 16:02:32 +08:00
.code-box-title:before {
2015-05-26 18:07:50 +08:00
font-family: iconfont-home;
2015-05-16 16:02:32 +08:00
content: "\e607";
font-size: 16px;
vertical-align: middle;
line-height: 22px;
position: relative;
margin-right: 6px;
top: -1px;
color: #ccc;
}
2015-05-15 18:03:27 +08:00
.code-box-description {
font-size: 12px;
}
.code-box .collapse {
position: absolute;
right: 15px;
top: 50%;
cursor: pointer;
border: 1px solid #999;
width: 20px;
height: 20px;
line-height: 17px;
font-size: 14px;
text-indent: 3px;
border-radius: 100%;
opacity: 0.5;
transform: rotate(90deg);
margin-top: -10px;
}
.code-box .collapse:hover {
opacity: 1;
}
.code-box .highlight {
overflow: hidden;
display: none;
padding: 5px 15px;
2015-05-25 18:15:41 +08:00
position: absolute;
width: calc(100% + 2px);
border: 1px solid #ddd;
border-top: 1px dashed #ddd;
border-radius: 0 0 6px 6px;
background: #fff;
margin-left: -1px;
2015-05-15 18:03:27 +08:00
}
.code-box pre {
margin: 0;
2015-05-15 16:00:08 +08:00
}
.code-box pre code {
border: none;
}
2015-05-16 17:05:49 +08:00
2015-05-26 18:28:12 +08:00
.banner-entry {
2015-05-16 17:05:49 +08:00
position: absolute;
2015-05-18 11:45:23 +08:00
top: 19%;
2015-05-16 17:05:49 +08:00
left: 10%;
z-index: 100;
2015-05-18 11:45:23 +08:00
color: #707d8d;
2015-05-16 17:29:03 +08:00
font-family: 'Raleway', sans-serif;
font-weight: 300;
2015-05-26 18:28:12 +08:00
/*-webkit-animation: xLeftMatrix 2s ease-out;
animation: xLeftMatrix 2s ease-out;*/
2015-05-16 17:05:49 +08:00
}
.entry-title {
2015-05-18 11:45:23 +08:00
font-size: 50px;
2015-05-16 17:05:49 +08:00
text-transform: uppercase;
line-height: 1;
2015-05-18 11:45:23 +08:00
margin-bottom: 2px;
2015-05-16 17:05:49 +08:00
}
2015-05-16 17:36:29 +08:00
.entry-slogan {
padding-left: 4px;
2015-05-18 11:45:23 +08:00
font-size: 18px;
color: #9ea9b4;
2015-05-16 17:36:29 +08:00
}
2015-05-16 17:05:49 +08:00
a.entry-link {
2015-05-18 11:45:23 +08:00
margin-top: 15px;
2015-05-16 17:05:49 +08:00
border: 1px solid rgba(95, 108, 119, 0.3);
border-radius: 50px;
color: #5F6C77;
display: block;
text-align: center;
padding: 8px 0;
width: 140px;
2015-05-26 18:28:12 +08:00
transition: border 0.3s ease;
2015-05-16 17:05:49 +08:00
}
a.entry-link:hover {
border-color: #5F6C77;
}
2015-05-26 22:12:11 +08:00
a.entry-link .icon-lego {
2015-05-16 17:05:49 +08:00
margin-right: 3px;
display: inline-block;
}
2015-05-26 22:12:11 +08:00
a.entry-link:hover .icon-lego {
2015-05-26 18:28:12 +08:00
-webkit-animation: rotateCircle 0.5s 1 ease-in-out;
animation: rotateCircle 0.5s 1 ease-in-out;
2015-05-16 17:05:49 +08:00
}