ant-design/site/static/style.css

1345 lines
22 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;
2016-01-06 17:28:49 +08:00
background: #ECECEC;
2015-06-23 10:51:38 +08:00
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 {
2016-01-06 19:47:13 +08:00
color: #2db7f5;
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 {
2016-01-06 19:47:13 +08:00
background: #2db7f5;
2015-06-10 21:03:27 +08:00
color: #fff;
2015-06-10 19:57:40 +08:00
}
::-moz-selection {
2016-01-06 19:47:13 +08:00
background: #2db7f5;
2015-06-10 21:03:27 +08:00
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;
font-size: 16px;
2016-01-06 17:28:49 +08:00
margin-bottom: 24px;
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;
2016-01-07 17:31:29 +08:00
height: 40px;
line-height: 40px;
margin: 17px 0 17px 4%;
2015-06-02 20:22:35 +08:00
text-transform: uppercase;
2016-01-07 17:47:56 +08:00
font-size: 14px;
2015-08-31 16:28:35 +08:00
font-family: "Hiragino Sans GB","Microsoft YaHei","微软雅黑",sans-serif;
2016-01-06 17:28:49 +08:00
color: #2db7f5;
2016-01-07 17:31:29 +08:00
width: 219px;
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 {
2016-01-07 17:31:29 +08:00
width: 40px;
2015-06-02 20:22:35 +08:00
float: left;
2016-01-07 17:31:29 +08:00
margin-right: 8px;
2015-06-16 18:29:43 +08:00
}
2015-05-07 18:50:36 +08:00
.search {
2015-06-02 20:22:35 +08:00
float: left;
2016-01-07 17:47:56 +08:00
height: 20px;
2015-08-26 22:16:20 +08:00
padding: 0px 0 0 30px;
2016-01-07 17:47:56 +08:00
margin: 28px auto 0;
2015-06-02 20:22:35 +08:00
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 {
2016-01-08 16:01:37 +08:00
margin-top: -3px;
2016-01-06 22:34:34 +08:00
width: 200px;
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%);
2016-01-06 22:34:34 +08:00
display: none;
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;
2016-01-06 22:34:34 +08:00
margin-right: 4%;
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 {
2016-01-06 22:34:34 +08:00
color: #666;
2015-06-02 20:22:35 +08:00
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 {
2016-01-06 17:28:49 +08:00
color: #2db7f5;
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 {
2016-01-06 17:28:49 +08:00
color: #2db7f5;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
.nav .bar {
height: 3px;
position: absolute;
2016-01-06 17:28:49 +08:00
bottom: 0;
2015-06-02 20:22:35 +08:00
left: 0;
2016-01-06 17:28:49 +08:00
background: #2db7f5;
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;
2016-01-06 17:28:49 +08:00
background: #2db7f5;
2015-08-22 19:13:06 +08:00
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;
2016-01-07 23:47:14 +08:00
font-size: 12px;
2015-06-02 20:22:35 +08:00
background: #fff;
2015-06-25 15:51:24 +08:00
position: relative;
z-index: 1;
2016-01-07 23:47:14 +08:00
color: #666;
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 {
2016-01-07 23:47:14 +08:00
font-size: 16px;
margin: 10px auto 5px;
2015-06-02 20:22:35 +08:00
font-weight: normal;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
2016-01-07 23:47:14 +08:00
footer ul li > div {
text-align: left;
2015-06-02 20:22:35 +08:00
margin: auto;
2016-01-07 23:47:14 +08:00
margin: 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-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 {
2016-01-06 22:34:34 +08:00
width: 220px;
2015-08-19 20:50:51 +08:00
padding-bottom: 50px;
2015-06-25 17:37:55 +08:00
float: left;
2016-01-06 17:28:49 +08:00
border-right: 1px solid #e9e9e9;
2016-01-07 17:00:42 +08:00
margin-right: -1px;
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;
2016-01-06 17:28:49 +08:00
position: relative;
right: -1px;
z-index: 1;
}
.aside-container > ul > li > ul {
2016-01-06 22:34:34 +08:00
margin-left: 16px;
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;
2016-01-06 17:28:49 +08:00
padding: 0 0 0 24px;
line-height: 40px;
height: 40px;
2015-06-02 20:22:35 +08:00
margin: 0;
cursor: pointer;
2015-06-10 12:13:55 +08:00
position: relative;
z-index: 1;
2015-08-22 19:13:06 +08:00
position: relative;
2016-01-06 17:28:49 +08:00
background: #fff;
2016-01-07 17:00:42 +08:00
border-right: 1px solid #e9e9e9;
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;
2016-01-06 17:28:49 +08:00
top: 0;
right: 20px;
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;
2015-08-22 19:16:35 +08:00
opacity: 0;
transition: all 0.3s ease;
2015-08-22 19:13:06 +08:00
}
2016-01-07 17:00:42 +08:00
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-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;
2016-01-06 17:28:49 +08:00
padding-left: 24px;
2015-06-02 20:22:35 +08:00
font-size: 14px;
2016-01-06 17:28:49 +08:00
color: #666;
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;
2016-01-06 17:28:49 +08:00
margin: 6px 0 6px 24px;
2015-08-22 19:13:06 +08:00
}
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 {
2016-01-06 17:28:49 +08:00
color: #2db7f5;
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 {
2016-01-06 17:28:49 +08:00
border-right: 2px solid #2db7f5;
color: #2db7f5;
2015-05-07 18:50:36 +08:00
}
2015-06-02 20:22:35 +08:00
.aside-container .current a {
2016-01-06 17:28:49 +08:00
color: #2db7f5;
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 {
2016-01-06 17:28:49 +08:00
background: #fff;
width: 92%;
margin: 0 auto;
border-radius: 6px;
overflow: hidden;
padding: 24px 0 0;
margin-bottom: 24px;
2016-01-06 18:49:43 +08:00
position: relative;
2015-05-15 18:03:27 +08:00
}
2015-05-09 18:16:36 +08:00
.main-container {
2016-01-06 17:28:49 +08:00
border-left: 1px solid #e9e9e9;
2016-01-06 22:34:34 +08:00
margin-left: 219px;
padding: 0 40px 120px;
2015-06-02 20:22:35 +08:00
background: #fff;
2015-07-29 17:24:38 +08:00
min-height: 500px;
2016-01-07 17:00:42 +08:00
overflow: hidden;
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;
2016-01-07 17:00:42 +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;
2016-01-06 17:28:49 +08:00
line-height: 40px;
margin-bottom: 24px;
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;
2016-01-06 22:34:34 +08:00
margin: 1.6em 0 0.6em 0;
2015-11-20 11:52:14 +08:00
font-weight: 500;
2016-01-07 17:00:42 +08:00
clear: both;
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 {
2016-01-07 17:00:42 +08:00
height: 1px;
2015-06-15 18:21:03 +08:00
border: 0;
2016-01-07 17:00:42 +08:00
background: #e9e9e9;
margin: 16px 0;
2016-01-08 16:01:37 +08:00
clear: both;
2015-06-15 18:21:03 +08:00
}
2015-06-01 16:07:02 +08:00
.markdown p,
.markdown pre {
2016-01-06 22:34:34 +08:00
margin: 1em 0;
2015-06-01 16:07:02 +08:00
}
2016-01-07 17:00:42 +08:00
.markdown > ul li,
.markdown blockquote ul > li {
2015-06-02 20:22:35 +08:00
list-style: circle;
2016-01-07 17:00:42 +08:00
margin-left: 1em;
padding-left: 0.4em;
2015-06-09 22:07:15 +08:00
}
2015-11-20 22:02:30 +08:00
.markdown > ul li p,
.markdown > ol li p {
margin: 0.6em 0;
}
2016-01-07 17:00:42 +08:00
.markdown > ol li,
.markdown blockquote ol > li {
2015-08-04 16:53:41 +08:00
list-style: decimal;
2016-01-07 17:00:42 +08:00
margin-left: 1em;
padding-left: 0.4em;
2015-08-04 16:53:41 +08:00
}
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;
2016-01-07 17:00:42 +08:00
margin: 1em 0;
overflow: hidden;
}
.markdown blockquote p {
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;
}
2016-01-07 17:00:42 +08:00
.markdown > br,
.markdown > p > br {
clear: both;
}
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;
font-size: 16px;
2016-01-06 22:34:34 +08:00
padding-left: 220px;
2016-01-06 15:27:56 +08:00
}
2016-01-06 18:49:43 +08:00
.prev-next-nav > .prev-page,
.prev-next-nav > .next-page {
2016-01-06 15:27:56 +08:00
padding: 0 24px;
width: 50%;
float: left;
line-height: 72px;
height: 72px;
2016-01-06 18:49:43 +08:00
border-top: 1px solid #e9e9e9;
2016-01-06 15:27:56 +08:00
}
2016-01-06 18:49:43 +08:00
.prev-next-nav > a.prev-page:before {
2016-01-06 15:27:56 +08:00
font-family: 'anticon';
content: '\e601';
font-size: 12px;
margin-right: 1em;
}
.prev-next-nav > .next-page {
text-align: right;
float: right;
}
2016-01-06 18:49:43 +08:00
.prev-next-nav > a.next-page:after {
2016-01-06 15:27:56 +08:00
font-family: 'anticon';
content: '\e600';
font-size: 12px;
margin-left: 1em;
}
.toc {
2016-01-08 16:01:37 +08:00
position: absolute;
2016-01-06 21:40:48 +08:00
font-size: 12px;
background: #fff;
padding-top: 12px;
2016-01-08 16:01:37 +08:00
right: 24px;
overflow: hidden;
2016-01-06 21:40:48 +08:00
}
.toc.sticky {
2016-01-06 17:28:49 +08:00
position: fixed;
2016-01-06 21:40:48 +08:00
top: 0;
2016-01-06 17:28:49 +08:00
right: 4%;
margin-right: 24px;
2016-01-06 18:49:43 +08:00
z-index: 100;
2016-01-06 15:27:56 +08:00
}
.toc li > ul {
2016-01-07 17:00:42 +08:00
text-indent: 8px;
2016-01-06 15:27:56 +08:00
}
.toc a {
2016-01-07 17:00:42 +08:00
padding-left: 8px;
2016-01-06 15:27:56 +08:00
border-left: 2px solid #eee;
display: block;
transition: all 0.3s ease;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
2016-01-07 17:00:42 +08:00
max-width: 90px;
2016-01-06 17:28:49 +08:00
line-height: 20px;
2016-01-06 22:34:34 +08:00
color: #999;
}
.toc a:hover {
color: #2db7f5;
2016-01-06 15:27:56 +08:00
}
.toc a.current {
border-color: #2db7f5;
2016-01-06 22:34:34 +08:00
color: #2db7f5;
2016-01-06 15:27:56 +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 */
2016-01-06 17:28:49 +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 {
2016-01-07 17:00:42 +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%;
}
2016-01-06 22:34:34 +08:00
.search {
display: none;
}
2015-06-15 16:00:45 +08:00
}
@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%;
}
2016-01-07 17:00:42 +08:00
.toc {
display: none;
}
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 {
2016-01-06 17:28:49 +08:00
background: #2db7f5;
2015-09-11 17:54:52 +08:00
}
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;
2016-01-06 21:40:48 +08:00
position: absolute;
2016-01-06 18:49:43 +08:00
margin-right: 24px;
2016-01-06 21:40:48 +08:00
top: 24px;
right: 0;
2015-12-25 17:54:02 +08:00
z-index: 100;
background: #fff;
font-size: 12px;
}
2016-01-06 20:58:35 +08:00
2016-01-07 17:00:42 +08:00
.preview-image-boxes {
2016-01-06 20:58:35 +08:00
float: right;
2016-01-07 17:00:42 +08:00
margin: 0 -14% 30px 60px;
width: 600px;
overflow: hidden;
}
.preview-image-box {
width: 100%;
float: left;
padding: 0 8px;
}
.preview-image-box:first-child {
margin-left: -8px;
}
.preview-image-box:last-child {
margin-right: -8px;
2016-01-06 20:58:35 +08:00
}
.preview-image-wrapper {
background: #F2F2F2;
padding: 24px;
display: inline-block;
text-align: center;
2016-01-07 17:00:42 +08:00
width: 100%;
position: relative;
}
.preview-image-wrapper.good:after {
content: '';
width: 100%;
height: 3px;
background: #2db7f5;
display: block;
position: absolute;
bottom: 0;
left: 0;
}
.preview-image-wrapper.bad:after {
content: '';
width: 100%;
height: 3px;
background: #f50;
display: block;
position: absolute;
bottom: 0;
left: 0;
}
.preview-image-description {
font-size: 12px;
margin-top: 8px;
color: #999;
2016-01-06 20:58:35 +08:00
}
2016-01-07 17:00:42 +08:00
.preview-image-box img {
2016-01-06 20:58:35 +08:00
cursor: pointer;
max-width: 100%;
2016-01-07 17:00:42 +08:00
transition: box-shadow 0.3s ease;
}
.preview-image-box img:hover {
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
2016-01-06 20:58:35 +08:00
}
2016-01-08 16:01:37 +08:00
.outside-link:after {
content: '\e669';
font-family: 'anticon';
margin-left: 5px;
font-size: 12px;
}
2016-01-06 20:58:35 +08:00
.image-modal {
text-align: center;
}
2016-01-08 16:01:37 +08:00
.image-modal-container {
padding: 8px 8px 32px 8px;
}
2016-01-06 20:58:35 +08:00
.image-modal .ant-modal-header {
display: none;
}
2016-01-08 16:01:37 +08:00
.image-modal .outside-link {
position: absolute;
right: 16px;
bottom: 16px;
}
2016-01-06 20:58:35 +08:00
.image-modal img {
max-width: 100%;
}