style.less 25.3 KB
Newer Older
A
afc163 已提交
1
html {
A
afc163 已提交
2 3 4
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
A
afc163 已提交
5
}
A
afc163 已提交
6

A
afc163 已提交
7 8 9
html,
body {
  height: 100%;
A
afc163 已提交
10
}
A
afc163 已提交
11

A
afc163 已提交
12
body {
A
afc163 已提交
13
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
A
afc163 已提交
14
  line-height: 1.5;
A
afc163 已提交
15
  color: #666;
A
afc163 已提交
16
  font-size: 14px;
A
afc163 已提交
17
  background: #ECECEC;
A
afc163 已提交
18
  transition: background 1s cubic-bezier(0.075, 0.82, 0.165, 1);
A
afc163 已提交
19
  overflow-x: hidden;
A
afc163 已提交
20
}
A
afc163 已提交
21

A
afc163 已提交
22 23 24
*,
*:after,
*:before {
A
afc163 已提交
25
  box-sizing: border-box;
A
afc163 已提交
26
}
A
afc163 已提交
27

A
afc163 已提交
28 29 30 31 32
html,
body,
ul,
li,
p {
A
afc163 已提交
33 34
  margin: 0;
  padding: 0;
A
afc163 已提交
35
}
A
afc163 已提交
36

A
afc163 已提交
37 38
ul,
li {
A
afc163 已提交
39
  list-style: none;
A
afc163 已提交
40
}
A
afc163 已提交
41

A
afc163 已提交
42
a {
A
afc163 已提交
43
  color: #2db7f5;
A
afc163 已提交
44 45
  text-decoration: none;
  transition: color .3s ease;
A
afc163 已提交
46
}
A
afc163 已提交
47

A
afc163 已提交
48
a:hover {
A
afc163 已提交
49
  color: #4DC4F0;
A
afc163 已提交
50
}
A
afc163 已提交
51 52

.clearfix:after {
A
afc163 已提交
53 54 55
  clear: both;
  display: table;
  content: '';
A
afc163 已提交
56 57
}

A
afc163 已提交
58
::selection {
A
afc163 已提交
59
  background: #2db7f5;
A
afc163 已提交
60
  color: #fff;
A
afc163 已提交
61 62
}
::-moz-selection {
A
afc163 已提交
63
  background: #2db7f5;
A
afc163 已提交
64
  color: #fff;
A
afc163 已提交
65 66
}

A
afc163 已提交
67
header {
A
afc163 已提交
68 69 70
  width: 100%;
  background: #fff;
  font-size: 16px;
A
afc163 已提交
71
  margin-bottom: 24px;
A
afc163 已提交
72
}
A
afc163 已提交
73 74 75

.fn-hide {
  display: none;
罗宪 已提交
76
}
A
afc163 已提交
77

A
afc163 已提交
78
.fn-alpha-in {
A
afc163 已提交
79
  opacity: 1 !important;
A
afc163 已提交
80
}
A
afc163 已提交
81

A
afc163 已提交
82
.fn-alpha-out {
A
afc163 已提交
83
  opacity: 0 !important;
A
afc163 已提交
84
}
A
afc163 已提交
85

A
afc163 已提交
86
a.logo {
A
afc163 已提交
87
  float: left;
A
afc163 已提交
88 89
  height: 40px;
  line-height: 40px;
A
afc163 已提交
90
  margin: 20px 0 20px 4%;
A
afc163 已提交
91
  text-transform: uppercase;
A
afc163 已提交
92
  font-size: 14px;
A
afc163 已提交
93
  font-family: "Hiragino Sans GB","Microsoft YaHei","微软雅黑",sans-serif;
A
afc163 已提交
94
  color: #2db7f5;
A
afc163 已提交
95
  width: 219px;
A
afc163 已提交
96
}
A
afc163 已提交
97

A
afc163 已提交
98
.logo img {
A
afc163 已提交
99
  width: 40px;
A
afc163 已提交
100
  float: left;
A
afc163 已提交
101
  margin-right: 8px;
A
afc163 已提交
102 103
}

A
afc163 已提交
104
.search {
A
afc163 已提交
105
  float: left;
A
afc163 已提交
106
  height: 20px;
A
afc163 已提交
107
  padding: 0px 0 0 30px;
A
afc163 已提交
108 109
  margin: 30px auto 0;
  border-left: 1px solid #e9e9e9;
A
afc163 已提交
110
  position: relative;
A
afc163 已提交
111
}
A
afc163 已提交
112

A
afc163 已提交
113
#autoComplete {
A
afc163 已提交
114
  margin-top: -3px;
A
afc163 已提交
115
  width: 200px;
A
afc163 已提交
116 117
}

118 119 120 121
#autoComplete .ant-select {
  font-size: 14px;
}

A
afc163 已提交
122
#autoComplete .ant-select-selection--single {
A
afc163 已提交
123 124
  border: transparent;
  outline: none;
A
afc163 已提交
125
  width: 160px;
A
afc163 已提交
126 127
  height: 28px;
  line-height: 28px;
A
afc163 已提交
128 129 130
  color: #999;
  transition: padding .3s cubic-bezier(0.075, 0.82, 0.165, 1);
  font-size: 14px;
A
afc163 已提交
131
  box-shadow: none;
A
afc163 已提交
132
}
A
afc163 已提交
133

A
afc163 已提交
134 135 136 137 138 139
#autoComplete input::-webkit-input-placeholder,
#autoComplete input::-moz-placeholder,
#autoComplete input:-ms-input-placeholder {
  color: #CADCE3;
}

A
afc163 已提交
140
.autoComplete.ant-select-dropdown {
141 142 143
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 8px rgba(0,0,0,0.25);
A
afc163 已提交
144
  font-size: 14px;
145 146
}

A
afc163 已提交
147 148 149 150
.autoComplete .ant-select-dropdown-menu {
  max-height: 200px;
}

A
afc163 已提交
151 152 153 154
.autoComplete .ant-select-dropdown-menu-item {
  border-radius: 0!important;
}

A
afc163 已提交
155
.autoComplete .ant-component-decs {
156 157 158 159 160 161 162
  font-size: 12px;
  position: absolute;
  top: 9px;
  color: #aaa;
  right: 16px;
}

A
afc163 已提交
163 164 165
.global-hint {
  color: #666;
  font-size: 12px;
A
afc163 已提交
166 167 168 169
  padding: 5px 14px 6px;
  margin-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 1px 3px #ddd;
A
afc163 已提交
170
  opacity: 0.8;
A
afc163 已提交
171 172 173
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
A
afc163 已提交
174
  display: none;
A
afc163 已提交
175 176
}

A
afc163 已提交
177
.nav {
A
afc163 已提交
178 179 180 181 182
  height: 80px;
  line-height: 80px;
  float: right;
  font-size: 0.875em;
  position: relative;
A
afc163 已提交
183
  margin-right: 4%;
A
afc163 已提交
184
  overflow: hidden;
A
afc163 已提交
185
}
A
afc163 已提交
186

A
afc163 已提交
187
.nav ul li {
A
afc163 已提交
188 189
  float: left;
  text-align: center;
A
afc163 已提交
190
}
A
afc163 已提交
191

A
afc163 已提交
192
.nav ul li a {
A
afc163 已提交
193
  color: #666;
A
afc163 已提交
194 195 196
  width: 100%;
  height: 100%;
  display: block;
A
afc163 已提交
197
  padding: 0 22px;
A
afc163 已提交
198
}
A
afc163 已提交
199

A
afc163 已提交
200
a.nav-link-disabled {
A
afc163 已提交
201
  cursor: not-allowed;
A
afc163 已提交
202
  color: #ccc !important;
A
afc163 已提交
203 204 205
  pointer-events: none;
}

A
afc163 已提交
206
.nav ul li.current a {
A
afc163 已提交
207
  color: #2db7f5;
A
afc163 已提交
208
  font-weight: 600;
A
afc163 已提交
209
}
A
afc163 已提交
210

A
afc163 已提交
211 212
.nav ul li a:hover,
.nav ul li .hover {
A
afc163 已提交
213
  color: #2db7f5;
A
afc163 已提交
214
}
215

A
afc163 已提交
216 217 218
.nav .bar {
  height: 3px;
  position: absolute;
A
afc163 已提交
219
  bottom: 0;
A
afc163 已提交
220
  left: 0;
A
afc163 已提交
221
  background: #2db7f5;
A
afc163 已提交
222
  display: none;
A
afc163 已提交
223
  transition: left .3s cubic-bezier(0.075, 0.82, 0.165, 1), width 1.5s cubic-bezier(0.075, 0.82, 0.165, 1);
A
afc163 已提交
224
}
A
afc163 已提交
225

A
afc163 已提交
226
.main-box {
A
afc163 已提交
227 228 229 230 231 232
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
A
afc163 已提交
233
}
A
afc163 已提交
234

A
afc163 已提交
235
.perspective {
A
afc163 已提交
236 237 238 239
  vertical-align: top;
  position: relative;
  perspective: 4000px;
  -webkit-perspective: 4000px;
A
afc163 已提交
240
}
A
afc163 已提交
241

A
afc163 已提交
242
.main {
A
afc163 已提交
243 244 245 246 247 248
  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;
A
afc163 已提交
249
}
罗宪 已提交
250

A
afc163 已提交
251 252 253 254 255 256 257
.banner-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: inherit;
  -webkit-animation: alphaTo .3s ease-out;
  animation: alphaTo .3s ease-out;
A
afc163 已提交
258
}
A
afc163 已提交
259

A
afc163 已提交
260
.banner-box .banner-img {
罗宪 已提交
261 262 263
  background: url("https://t.alipayobjects.com/images/T1CFtgXb0jXXXXXXXX.jpg") center no-repeat;
  height: 1300px;
  width: 2400px;
罗宪 已提交
264
  transform-origin: center center;
A
afc163 已提交
265
  transition: opacity 0.5s ease-out;
A
afc163 已提交
266
}
A
afc163 已提交
267

A
afc163 已提交
268 269
.banner-box #bannerAnim,
.load-main-box {
A
afc163 已提交
270 271 272 273 274 275
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  z-index: 2;
罗宪 已提交
276 277
    top:0;
    left:0;
A
afc163 已提交
278
}
罗宪 已提交
279

A
afc163 已提交
280
.load-box {
A
afc163 已提交
281 282
  -webkit-perspective: 300px;
  -moz-perspective: 300px;
罗宪 已提交
283 284
  width: 140px;
  height: 80px;
A
afc163 已提交
285 286 287
  position: absolute;
  top: 50%;
  left: 50%;
罗宪 已提交
288 289
  margin-left: -70px;
  margin-top: -40px;
A
afc163 已提交
290 291 292
  z-index: 99;
  animation: alphaTo .3s ease-out;
  -webkit-animation: alphaTo .3s ease-out;
A
afc163 已提交
293 294 295
  font-size: 22px;
  text-align: center;
  font-family: "Raleway","Helvetica Neue",Helvetica,"Lantinghei SC","Microsoft YaHei","微软雅黑","Hiragino Sans GB",SimSun,sans-serif;
A
afc163 已提交
296 297 298 299 300 301 302 303 304 305
}

.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;
A
afc163 已提交
306
  margin: auto;
罗宪 已提交
307
  animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
A
afc163 已提交
308
  -webkit-animation: loadTween 2S cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;;
罗宪 已提交
309
}
A
afc163 已提交
310 311
.load-box span {
  display: inline-block;
罗宪 已提交
312
}
A
afc163 已提交
313 314
.load-box span > p {
  float: left;
罗宪 已提交
315
}
A
afc163 已提交
316 317 318
.load-main-box .load-bar {
  width: 0%;
  height: 2px;
A
afc163 已提交
319
  background: #2db7f5;
A
afc163 已提交
320 321
  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);;
罗宪 已提交
322
}
A
afc163 已提交
323
.load-out {
324 325
  -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);
A
afc163 已提交
326
}
A
afc163 已提交
327

A
afc163 已提交
328
.banner-box #bannerAnim .banner-line-absolute {
A
afc163 已提交
329
  position: absolute;
A
afc163 已提交
330 331 332
}

footer {
A
afc163 已提交
333 334
  clear: both;
  border-top: 1px solid #eee;
A
afc163 已提交
335
  font-size: 12px;
A
afc163 已提交
336
  background: #fff;
A
afc163 已提交
337 338
  position: relative;
  z-index: 1;
A
afc163 已提交
339
  color: #666;
A
afc163 已提交
340
}
A
afc163 已提交
341

A
afc163 已提交
342
footer ul {
A
afc163 已提交
343 344
  overflow: hidden;
  margin: 0 2%;
A
afc163 已提交
345
}
A
afc163 已提交
346

A
afc163 已提交
347
footer ul li {
A
afc163 已提交
348 349 350
  float: left;
  width: 25%;
  padding: 5px 2% 15px;
A
afc163 已提交
351
}
A
afc163 已提交
352

A
afc163 已提交
353
footer ul li > h2 {
A
afc163 已提交
354 355
  font-size: 16px;
  margin: 10px auto 5px;
A
afc163 已提交
356
  font-weight: normal;
A
afc163 已提交
357
}
A
afc163 已提交
358

A
afc163 已提交
359 360
footer ul li > div {
  text-align: left;
A
afc163 已提交
361
  margin: auto;
A
afc163 已提交
362
  margin: 10px 0;
A
afc163 已提交
363
}
A
afc163 已提交
364

A
afc163 已提交
365
footer ul li > a {
A
afc163 已提交
366
  margin: 5px 2px 0 0;
A
afc163 已提交
367
}
A
afc163 已提交
368

A
afc163 已提交
369
.aside-container {
A
afc163 已提交
370
  width: 220px;
A
afc163 已提交
371
  padding-bottom: 50px;
A
afc163 已提交
372
  float: left;
A
afc163 已提交
373
  border-right: 1px solid #e9e9e9;
A
afc163 已提交
374
  margin-right: -1px;
A
afc163 已提交
375
}
A
afc163 已提交
376

A
afc163 已提交
377
.aside-container > ul > li {
A
afc163 已提交
378
  overflow: hidden;
A
afc163 已提交
379 380 381 382 383 384
  position: relative;
  right: -1px;
  z-index: 1;
}

.aside-container > ul > li > ul {
A
afc163 已提交
385
  margin-left: 16px;
罗宪 已提交
386
}
387

A
afc163 已提交
388
.aside-container li h4 {
A
afc163 已提交
389
  font-size: 14px;
A
afc163 已提交
390
  font-weight: 600;
A
afc163 已提交
391 392 393
  padding: 0 0 0 24px;
  line-height: 40px;
  height: 40px;
A
afc163 已提交
394 395
  margin: 0;
  cursor: pointer;
A
afc163 已提交
396 397
  position: relative;
  z-index: 1;
A
afc163 已提交
398
  position: relative;
A
afc163 已提交
399
  background: #fff;
A
afc163 已提交
400
  border-right: 1px solid #e9e9e9;
罗宪 已提交
401
}
A
afc163 已提交
402

A
afc163 已提交
403 404
.aside-container li h4:after {
  position: absolute;
A
afc163 已提交
405 406
  top: 0;
  right: 20px;
A
afc163 已提交
407
  content: "\e602";
A
afc163 已提交
408 409 410
  font-family: "anticon";
  transform: scale(0.6);
  font-size: 12px;
A
afc163 已提交
411 412
  opacity: 0;
  transition: all 0.3s ease;
A
afc163 已提交
413 414
}

A
afc163 已提交
415

A
afc163 已提交
416
.aside-container li[open=open] h4:after {
A
afc163 已提交
417 418
  -webkit-transform: scale(0.6) rotate(180deg);
  transform: scale(0.6) rotate(180deg);
A
afc163 已提交
419 420
}

A
afc163 已提交
421 422 423 424
.aside-container li:hover h4:after {
  opacity: 0.8;
}

A
afc163 已提交
425
.aside-container li > ul.aside-list-show {
A
afc163 已提交
426 427 428
  display: block;
}

A
afc163 已提交
429
.aside-container li a {
A
afc163 已提交
430 431
  line-height: 40px;
  height: 40px;
A
afc163 已提交
432
  display: block;
A
afc163 已提交
433
  padding-left: 24px;
A
afc163 已提交
434
  font-size: 14px;
A
afc163 已提交
435
  color: #666;
A
afc163 已提交
436
}
A
afc163 已提交
437

A
afc163 已提交
438 439
.aside-container li.type-divider {
  font-size: 12px;
A
afc163 已提交
440
  -webkit-transform:  scale(0.9);
A
afc163 已提交
441 442 443
  transform: scale(0.9);
  transform-origin: 0 50%;
  color: #aaa;
A
afc163 已提交
444
  margin: 6px 0 6px 24px;
A
afc163 已提交
445 446
}

A
afc163 已提交
447 448 449 450 451
.aside-container .chinese {
  font-size: 12px;
  margin-left: 6px;
  font-weight: normal;
  opacity: 0.67;
A
afc163 已提交
452 453
}

A
afc163 已提交
454
.aside-container li a:hover {
A
afc163 已提交
455
  color: #2db7f5;
A
afc163 已提交
456
}
A
afc163 已提交
457

A
afc163 已提交
458
.aside-container .current {
A
afc163 已提交
459 460
  border-right: 2px solid #2db7f5;
  color: #2db7f5;
A
afc163 已提交
461
}
A
afc163 已提交
462 463

.aside-container .current a {
A
afc163 已提交
464
  color: #2db7f5;
罗宪 已提交
465
}
A
afc163 已提交
466

A
layout  
afc163 已提交
467
.main-wrapper {
A
afc163 已提交
468 469 470 471 472 473 474
  background: #fff;
  width: 92%;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  padding: 24px 0 0;
  margin-bottom: 24px;
A
afc163 已提交
475
  position: relative;
A
layout  
afc163 已提交
476 477
}

A
afc163 已提交
478
.main-container {
A
afc163 已提交
479
  border-left: 1px solid #e9e9e9;
A
afc163 已提交
480 481
  margin-left: 219px;
  padding: 0 40px 120px;
A
afc163 已提交
482
  background: #fff;
A
afc163 已提交
483
  min-height: 500px;
A
afc163 已提交
484
  overflow: hidden;
A
afc163 已提交
485 486
}

A
afc163 已提交
487
.markdown {
A
afc163 已提交
488
  color: #666;
A
afc163 已提交
489
  font-size: 14px;
A
afc163 已提交
490
  line-height: 1.8;
A
afc163 已提交
491 492
}

A
afc163 已提交
493 494 495 496
.highlight {
  line-height: 1.5;
}

A
afc163 已提交
497
.markdown img {
A
afc163 已提交
498
  vertical-align: middle;
A
afc163 已提交
499
  max-width: 100%;
A
afc163 已提交
500 501
}

A
afc163 已提交
502
.markdown h1 {
A
afc163 已提交
503 504
  color: #404040;
  font-weight: 500;
A
afc163 已提交
505 506
  line-height: 40px;
  margin-bottom: 24px;
A
afc163 已提交
507 508
}

A
afc163 已提交
509 510 511 512 513
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
A
afc163 已提交
514
  color: #404040;
A
afc163 已提交
515
  margin: 1.6em 0 0.6em 0;
A
afc163 已提交
516
  font-weight: 500;
A
afc163 已提交
517
  clear: both;
A
layout  
afc163 已提交
518 519
}

A
afc163 已提交
520
.markdown h1 { font-size: 28px; }
A
afc163 已提交
521
.markdown h2 { font-size: 22px; }
A
afc163 已提交
522
.markdown h3 { font-size: 18px; }
A
afc163 已提交
523 524 525 526
.markdown h4 { font-size: 16px; }
.markdown h5 { font-size: 14px; }
.markdown h6 { font-size: 12px; }

A
afc163 已提交
527
.markdown hr {
A
afc163 已提交
528
  height: 1px;
A
afc163 已提交
529
  border: 0;
A
afc163 已提交
530 531
  background: #e9e9e9;
  margin: 16px 0;
A
afc163 已提交
532
  clear: both;
A
afc163 已提交
533 534
}

罗宪 已提交
535 536
.markdown p,
.markdown pre {
A
afc163 已提交
537
  margin: 1em 0;
罗宪 已提交
538 539
}

A
afc163 已提交
540 541 542 543 544 545 546 547
.markdown > p,
.markdown > blockquote,
.markdown > .highlight,
.markdown > ol,
.markdown > ul {
  width: 80%;
}

A
afc163 已提交
548
.markdown ul > li {
A
afc163 已提交
549 550 551
  list-style: circle;
}

A
afc163 已提交
552 553
.markdown > ul li,
.markdown blockquote ul > li {
A
afc163 已提交
554 555
  margin-left: 20px;
  padding-left: 4px;
A
afc163 已提交
556 557
}

A
afc163 已提交
558 559 560 561 562
.markdown > ul li p,
.markdown > ol li p {
  margin: 0.6em 0;
}

A
afc163 已提交
563
.markdown ol > li {
A
afc163 已提交
564 565 566
  list-style: decimal;
}

A
afc163 已提交
567 568
.markdown > ol li,
.markdown blockquote ol > li {
A
afc163 已提交
569 570
  margin-left: 20px;
  padding-left: 4px;
A
afc163 已提交
571 572
}

A
afc163 已提交
573 574
.markdown code {
  margin: 0 3px;
罗宪 已提交
575 576
}

A
afc163 已提交
577 578
.markdown pre {
  border-radius: 6px;
A
afc163 已提交
579
  background: #f9f9f9;
A
afc163 已提交
580 581
}

罗宪 已提交
582
.markdown pre code {
A
afc163 已提交
583
  border: none;
A
afc163 已提交
584 585
  padding: 1em 2em;
  background: #f9f9f9;
A
afc163 已提交
586
  margin: 0;
罗宪 已提交
587 588
}

A
afc163 已提交
589 590 591 592 593
.markdown strong,
.markdown b {
  font-weight: 600;
}

A
API  
afc163 已提交
594 595 596 597 598
.markdown > table {
  border-collapse: collapse;
  border-spacing: 0px;
  empty-cells: show;
  border: 1px solid #e9e9e9;
A
afc163 已提交
599
  width: 80%;
A
afc163 已提交
600
  margin-bottom: 24px;
A
afc163 已提交
601 602 603 604
}

.markdown > table th {
  white-space: nowrap;
A
afc163 已提交
605 606
  color: #5C6B77;
  font-weight: 600;
A
API  
afc163 已提交
607 608 609 610 611 612 613 614 615 616 617 618 619
}

.markdown > table th,
.markdown > table td {
  border: 1px solid #e9e9e9;
  padding: 8px 16px;
  text-align: left;
}

.markdown > table th {
  background: #F7F7F7;
}

A
afc163 已提交
620 621 622 623 624
.markdown blockquote {
  font-size: 90%;
  color: #999;
  border-left: 4px solid #e9e9e9;
  padding-left: 0.8em;
A
afc163 已提交
625 626 627 628
  margin: 1em 0;
}

.markdown blockquote p {
A
afc163 已提交
629
  margin: 0;
A
afc163 已提交
630 631
}

632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647
.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;
}

A
afc163 已提交
648 649 650 651 652
.markdown > br,
.markdown > p > br {
  clear: both;
}

罗宪 已提交
653
#api ~ ul > li > p > strong ~ code {
A
afc163 已提交
654 655 656 657
  background: #fff;
  color: #CC7300;
  border: none;
  margin-left: 0.5em;
A
afc163 已提交
658 659
}

A
afc163 已提交
660 661 662 663 664 665 666
.prev-next-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  font-size: 16px;
A
afc163 已提交
667
  padding-left: 220px;
A
afc163 已提交
668 669
}

A
afc163 已提交
670 671
.prev-next-nav > .prev-page,
.prev-next-nav > .next-page {
A
afc163 已提交
672 673 674 675 676
  padding: 0 24px;
  width: 50%;
  float: left;
  line-height: 72px;
  height: 72px;
A
afc163 已提交
677
  border-top: 1px solid #e9e9e9;
A
afc163 已提交
678 679
}

A
afc163 已提交
680
.prev-next-nav > a.prev-page:before {
A
afc163 已提交
681 682 683 684 685 686 687 688 689 690 691
  font-family: 'anticon';
  content: '\e601';
  font-size: 12px;
  margin-right: 1em;
}

.prev-next-nav > .next-page {
  text-align: right;
  float: right;
}

A
afc163 已提交
692
.prev-next-nav > a.next-page:after {
A
afc163 已提交
693 694 695 696 697 698 699
  font-family: 'anticon';
  content: '\e600';
  font-size: 12px;
  margin-left: 1em;
}

.toc {
A
afc163 已提交
700 701 702 703
  font-size: 14px;
  margin-bottom: 20px;
  background: #fbfbfb;
  border-left: 2px solid #eee;
A
afc163 已提交
704 705
}

A
afc163 已提交
706 707 708 709
.toc > ul {
  padding: 8px 0;
}

A
afc163 已提交
710 711 712 713
.toc > ul li {
  list-style: none;
}

A
afc163 已提交
714
.toc li > ul {
A
afc163 已提交
715
  text-indent: 8px;
A
afc163 已提交
716 717
  font-size: 12px;
  display: none;
A
afc163 已提交
718 719 720
}

.toc a {
A
afc163 已提交
721
  padding-left: 16px;
A
afc163 已提交
722
  border-left: 2px solid #eee;
A
afc163 已提交
723
  margin-left: -2px;
A
afc163 已提交
724 725 726 727
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
A
afc163 已提交
728
  color: #666;
A
afc163 已提交
729 730 731 732
}

.toc a:hover {
  color: #2db7f5;
A
afc163 已提交
733 734 735 736
}

.toc a.current {
  border-color: #2db7f5;
A
afc163 已提交
737
  color: #2db7f5;
A
afc163 已提交
738 739
}

Z
zhujun24 已提交
740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772
/* 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 */

A
afc163 已提交
773
/***************************************************************************/
A
afc163 已提交
774
.api-link {
A
afc163 已提交
775 776 777 778
  font-size: 16px;
  vertical-align: middle;
  margin-left: 15px;
  font-weight: normal;
罗宪 已提交
779 780 781
}

.sketch-link {
A
afc163 已提交
782 783 784 785 786 787 788 789 790
  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;
罗宪 已提交
791 792 793
}

.sketch-link i {
A
afc163 已提交
794
  margin-right: 5px;
A
afc163 已提交
795
}
A
afc163 已提交
796

A
afc163 已提交
797 798
.component-demos {
  margin: 2em 0 1em;
A
afc163 已提交
799 800
  color: #404040;
  font-weight: 500;
A
afc163 已提交
801
  font-size: 24px;
A
afc163 已提交
802 803
}

A
afc163 已提交
804
.component-demos .anticon-appstore {
A
afc163 已提交
805
  cursor: pointer;
A
afc163 已提交
806
  font-size: 14px;
A
afc163 已提交
807 808 809 810
  color: #9199AC;
  margin-left: 5px;
  opacity: 0.8;
  transition: all 0.3s ease;
811
  top: -2px;
A
afc163 已提交
812
  position: relative;
A
afc163 已提交
813 814
}

A
afc163 已提交
815
.component-demos .anticon-appstore:hover {
A
afc163 已提交
816
  opacity: 1;
A
afc163 已提交
817 818
}

A
afc163 已提交
819
.component-demos .anticon-appstore.expand {
A
afc163 已提交
820
  color: #3B4357;
A
afc163 已提交
821 822
}

A
afc163 已提交
823
.code-boxes-col-1-1 {
A
afc163 已提交
824
  width: 80%;
A
afc163 已提交
825 826 827
}

.code-boxes-col-2-1 {
A
afc163 已提交
828
  width: 48%;
A
afc163 已提交
829 830
  display: inline-block;
  vertical-align: top;
A
afc163 已提交
831
  padding-right: 8px;
A
afc163 已提交
832 833
}

A
afc163 已提交
834
.code-boxes-col-2-1:last-child {
A
afc163 已提交
835
  padding-right: 0;
A
afc163 已提交
836
  padding-left: 8px;
A
afc163 已提交
837 838
}

A
afc163 已提交
839
.code-box {
A
afc163 已提交
840 841 842 843 844
  border: 1px solid #E9E9E9;
  border-radius: 6px;
  display: inline-block;
  width: 100%;
  position: relative;
A
afc163 已提交
845
  margin: 0px 0 16px 0px;
A
afc163 已提交
846
  transition: all 0.5s ease;
A
afc163 已提交
847 848 849 850 851 852
}

.code-box:hover {
  border-color: #ccc;
}

853
.code-box:target {
A
afc163 已提交
854 855
  border: 1px solid rgba(45, 183, 245, 0.7);
  box-shadow: 0 0 4px rgba(45, 183, 245, 0.5);
856 857 858 859
}

.code-box:hover .code-box-meta,
.code-box:target .code-box-meta {
A
afc163 已提交
860 861 862
  background: #fbfbfb;
}

863 864
.code-box:hover .code-box-title,
.code-box:target .code-box-title {
A
afc163 已提交
865 866
  background: #fbfbfb;
  box-shadow: 0 -1.2px 0 #e9e9e9;
A
afc163 已提交
867 868
}

869 870 871 872 873
.code-box .code-box-title a,
.code-box .code-box-title a:hover {
  color: #666;
}

A
afc163 已提交
874
.code-box .code-box-demo {
A
afc163 已提交
875
  border-bottom: 1px solid #E9E9E9;
876 877 878
  padding: 42px 20px 50px;
}

A
layout  
afc163 已提交
879
.code-box-meta {
A
afc163 已提交
880
  position: relative;
A
afc163 已提交
881
  padding: 10px 15px;
A
afc163 已提交
882
  border-radius: 0 0 6px 6px;
A
afc163 已提交
883
  transition: background-color 0.4s ease;
A
afc163 已提交
884
  width: 100%;
A
layout  
afc163 已提交
885 886 887 888
}

.code-box-meta h4,
.code-box-meta p {
A
afc163 已提交
889
  margin: 0;
A
layout  
afc163 已提交
890 891 892
}

.code-box-title {
A
afc163 已提交
893 894 895
  position: absolute;
  top: -14px;
  padding: 1px 1.1em;
A
afc163 已提交
896
  color: #777;
A
afc163 已提交
897
  border-radius: 6px;
A
afc163 已提交
898 899
  background: #fff;
  transition: all 0.4s ease;
A
layout  
afc163 已提交
900 901
}

A
afc163 已提交
902
.code-box-title:before {
A
afc163 已提交
903
  font-family: anticon;
A
afc163 已提交
904
  content: "\e658";
A
afc163 已提交
905 906 907 908
  font-size: 16px;
  vertical-align: middle;
  line-height: 22px;
  position: relative;
A
afc163 已提交
909
  margin-right: 8px;
910
  top: -2px;
A
afc163 已提交
911
  color: #ccc;
A
afc163 已提交
912 913 914
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  display: inline-block;
A
afc163 已提交
915 916
}

A
afc163 已提交
917
.code-box-meta > p {
A
afc163 已提交
918 919
  font-size: 12px;
  margin: 0.5em 0;
A
afc163 已提交
920
  padding-right: 25px;
A
afc163 已提交
921
  width: 100%;
A
layout  
afc163 已提交
922 923 924
}

.code-box .collapse {
A
afc163 已提交
925
  position: absolute;
A
afc163 已提交
926
  right: 16px;
A
afc163 已提交
927
  bottom: 18px;
A
afc163 已提交
928
  cursor: pointer;
A
afc163 已提交
929 930 931 932
  width: 18px;
  height: 18px;
  font-size: 18px;
  line-height: 18px;
A
afc163 已提交
933
  opacity: 0.5;
A
afc163 已提交
934
  text-align: center;
A
afc163 已提交
935
  -webkit-transform: rotate(90deg);
A
afc163 已提交
936 937
  transform: rotate(90deg);
  transition: all 0.3s ease;
A
afc163 已提交
938
  color: #999;
A
afc163 已提交
939
  background: #fff;
A
layout  
afc163 已提交
940 941
}

A
afc163 已提交
942
.code-box.expand .collapse {
A
afc163 已提交
943
  -webkit-transform: rotate(-90deg);
A
afc163 已提交
944
  transform: rotate(-90deg);
A
afc163 已提交
945 946
}

A
afc163 已提交
947 948
.code-box .collapse:hover {
  opacity: 1;
A
afc163 已提交
949 950
}

A
layout  
afc163 已提交
951
.code-box .highlight {
A
afc163 已提交
952 953 954 955
  overflow: hidden;
  display: none;
  padding: 5px;
  border-top: 1px dashed #e9e9e9;
A
layout  
afc163 已提交
956 957 958
}

.code-box pre {
A
afc163 已提交
959 960
  margin: 0;
  width: auto;
A
afc163 已提交
961 962 963
}

.code-box pre code {
A
afc163 已提交
964 965
  border: none;
  background: #fff;
A
afc163 已提交
966
}
A
afc163 已提交
967

罗宪 已提交
968
.banner-entry {
A
afc163 已提交
969 970 971 972 973
  position: absolute;
  top: 19%;
  left: 10%;
  z-index: 100;
  color: #707d8d;
A
afc163 已提交
974
  font-family: "Raleway","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",SimSun,sans-serif;
A
afc163 已提交
975
  font-weight: 300;
A
afc163 已提交
976 977 978
}

.entry-title {
A
afc163 已提交
979 980 981 982
  font-size: 50px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 12px;
A
afc163 已提交
983 984
}

A
afc163 已提交
985
.entry-slogan {
A
afc163 已提交
986 987 988
  padding-left: 4px;
  font-size: 14px;
  color: #9ea9b4;
A
afc163 已提交
989 990
}

A
afc163 已提交
991
a.entry-link {
A
afc163 已提交
992
  margin-top: 30px;
A
afc163 已提交
993 994 995
  border: 1px solid rgba(95, 108, 119, 0.3);
  border-radius: 50px;
  color: #5F6C77;
A
afc163 已提交
996
  display: inline-block;
A
afc163 已提交
997
  text-align: center;
A
afc163 已提交
998
  padding: 8px 20px;
A
afc163 已提交
999
  transition: border 0.3s ease;
A
afc163 已提交
1000 1001 1002
}

a.entry-link:hover {
A
afc163 已提交
1003
  border-color: #5F6C77;
A
afc163 已提交
1004 1005
}

A
afc163 已提交
1006
a.entry-link .anticon-smile {
A
afc163 已提交
1007
  margin-right: 2px;
A
afc163 已提交
1008
  display: inline-block;
A
afc163 已提交
1009 1010
  -webkit-animation: rotateCircleBack 0.6s 1 ease-in-out;
  animation: rotateCircleBack 0.6s 1 ease-in-out;
A
afc163 已提交
1011
  line-height: 1;
A
afc163 已提交
1012
  width: 16px;
A
afc163 已提交
1013 1014
}

A
afc163 已提交
1015
a.entry-link:hover .anticon-smile {
A
afc163 已提交
1016 1017
  -webkit-animation: rotateCircle 0.6s 1 ease-in-out;
  animation: rotateCircle 0.6s 1 ease-in-out;
A
afc163 已提交
1018
}
A
afc163 已提交
1019

A
afc163 已提交
1020 1021 1022 1023 1024 1025 1026 1027
.entry-version {
  font-size: 12px;
  margin-top: 15px;
  position: absolute;
  top: 36px;
  right: -32px;
}

A
afc163 已提交
1028
#instantclick {
A
afc163 已提交
1029 1030
  top: 80px!important;
  position: absolute!important;
A
afc163 已提交
1031 1032 1033
}

#instantclick-bar {
A
afc163 已提交
1034
  background: #2db7f5;
A
afc163 已提交
1035
}
A
afc163 已提交
1036 1037 1038 1039 1040

#versions-select {
  position: relative;
  top: -2px;
}
A
afc163 已提交
1041 1042 1043 1044 1045 1046 1047

.window-frame {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: 5px;
  border: 1px solid #ccc;
A
afc163 已提交
1048
  background-color: #fff;
A
afc163 已提交
1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
  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;
A
afc163 已提交
1129 1130
  overflow: auto;
  height: 440px;
A
afc163 已提交
1131 1132
  position: relative;
  border-radius: 0 0 5px 5px;
1133
  background: #ececec;
A
afc163 已提交
1134
}
A
afc163 已提交
1135

A
afc163 已提交
1136 1137 1138 1139 1140
.window-frame .status-bar {
  height: 2rem;
  border-radius: 0 0 0.35rem 0.35rem;
  display: none;
}
A
afc163 已提交
1141 1142 1143

.demos-anchor {
  color: #aaa;
A
afc163 已提交
1144
  position: absolute;
A
afc163 已提交
1145
  margin-right: 24px;
A
afc163 已提交
1146 1147
  top: 24px;
  right: 0;
A
afc163 已提交
1148 1149 1150 1151
  z-index: 100;
  background: #fff;
  font-size: 12px;
}
A
afc163 已提交
1152

A
afc163 已提交
1153 1154
.demos-anchor a {
  padding-left: 8px;
A
afc163 已提交
1155 1156 1157 1158 1159
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90px;
A
afc163 已提交
1160 1161
}

A
afc163 已提交
1162 1163 1164 1165 1166 1167 1168 1169
.demos-anchor.toc.sticky {
  position: fixed;
  top: 0;
  right: 4%;
  margin-right: 24px;
  z-index: 100;
}

A
afc163 已提交
1170
.preview-image-boxes {
A
afc163 已提交
1171
  float: right;
A
afc163 已提交
1172
  margin: 0 0 110px 60px;
A
afc163 已提交
1173
  width: 616px;
A
afc163 已提交
1174 1175
}

A
afc163 已提交
1176 1177 1178 1179
.preview-image-boxes + .preview-image-boxes {
  margin-top: -75px;
}

A
afc163 已提交
1180 1181 1182 1183 1184 1185
.preview-image-box {
  width: 100%;
  float: left;
  padding: 0 8px;
}

A
afc163 已提交
1186
.preview-image-wrapper {
A
afc163 已提交
1187 1188
  background: #f4f4f4;
  padding: 16px;
A
afc163 已提交
1189 1190
  display: inline-block;
  text-align: center;
A
afc163 已提交
1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216
  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;
}

A
afc163 已提交
1217 1218
.preview-image-title {
  font-size: 12px;
A
afc163 已提交
1219
  margin-top: 5px;
A
afc163 已提交
1220 1221 1222
  color: #666;
}

A
afc163 已提交
1223 1224
.preview-image-description {
  font-size: 12px;
A
afc163 已提交
1225
  margin-top: 2px;
A
afc163 已提交
1226
  color: #999;
A
afc163 已提交
1227
  line-height: 1.5;
A
afc163 已提交
1228 1229
}

A
afc163 已提交
1230 1231 1232 1233 1234 1235
.preview-image-description hr {
  margin: 2px 0;
  border: 0;
  background: none;
}

A
afc163 已提交
1236
.preview-image-box img {
A
afc163 已提交
1237 1238
  cursor: pointer;
  max-width: 100%;
A
afc163 已提交
1239
  transition: all 0.3s ease;
A
afc163 已提交
1240 1241 1242
  background: #fff;
  padding: 12px;
  border-radius: 6px;
A
afc163 已提交
1243 1244
}

A
afc163 已提交
1245 1246
.preview-image-boxes.pack img {
  padding: 0;
A
afc163 已提交
1247
  box-shadow: 0 1px 0 0 #ddd, 0 3px 0 0 #fff, 0 4px 0 0 #ddd, 0 6px 0 0 #fff,  0 7px 0 0 #ddd;
A
afc163 已提交
1248 1249
}

A
afc163 已提交
1250
.preview-image-box img:hover {
A
afc163 已提交
1251
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
A
afc163 已提交
1252 1253
}

A
afc163 已提交
1254 1255 1256 1257 1258 1259 1260
.outside-link:after {
  content: '\e669';
  font-family: 'anticon';
  margin-left: 5px;
  font-size: 12px;
}

A
afc163 已提交
1261 1262 1263 1264
.image-modal {
  text-align: center;
}

A
afc163 已提交
1265
.image-modal-container {
A
afc163 已提交
1266
  position: relative;
A
afc163 已提交
1267
  text-align: center;
A
afc163 已提交
1268 1269
}

A
afc163 已提交
1270 1271 1272 1273
.image-modal .ant-modal-header {
  display: none;
}

A
afc163 已提交
1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294
.image-modal .ant-carousel .slick-slider {
  padding-bottom: 24px;
}

.image-modal .ant-carousel .slick-dots {
  text-align: left;
  bottom: -6px;
}

.image-modal .ant-carousel .slick-dots li {
  margin: 0;
}

.image-modal .preview-image-title {
  position: absolute;
  bottom: 12px;
  left: 50%;
  display: inline-block;
  transform: translateX(-50%);;
}

A
afc163 已提交
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310
.image-modal .slick-prev {
  left: 0;
  height: 100%;
  top: 0;
  margin-top: 0;
  width: 50%;
  text-align: left;
}

.image-modal .slick-prev:after {
  content: "\e601";
  font-size: 28px;
  font-family: "anticon";
  color: #000;
  opacity: 0;
  transition: all 0.3s ease;
A
afc163 已提交
1311 1312 1313
  position: absolute;
  top: 220px;
  right: 24px;
A
afc163 已提交
1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335
}

.image-modal .slick-prev:hover:after {
  opacity: 0.38;
}

.image-modal .slick-next {
  right: 0;
  height: 100%;
  top: 0;
  margin-top: 0;
  width: 50%;
  text-align: right;
}

.image-modal .slick-next:after {
  content: "\e600";
  font-size: 28px;
  font-family: "anticon";
  color: #000;
  opacity: 0;
  transition: all 0.3s ease;
A
afc163 已提交
1336 1337 1338
  position: absolute;
  top: 220px;
  right: 24px;
A
afc163 已提交
1339 1340 1341 1342 1343 1344
}

.image-modal .slick-next:hover:after {
  opacity: 0.38;
}

A
afc163 已提交
1345 1346 1347
.image-modal .outside-link {
  position: absolute;
  right: 16px;
A
afc163 已提交
1348
  bottom: 12px;
A
afc163 已提交
1349 1350
}

A
afc163 已提交
1351 1352 1353
.image-modal .ant-carousel .slick-slide img {
  max-width: 100%;
  display: inline-block;
A
afc163 已提交
1354
}
A
afc163 已提交
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526

.resource-cards {
  width: 100%;
}

.resource-card {
  max-width: 350px;
  width: 40%;
  min-width: 300px;;
  height: 130px;
  border: 1px solid #e9e9e9;
  border-radius: 6px;
  font-size: 12px;
  color: #777;
  display: inline-block;
  margin: 20px 40px 10px 0;
  vertical-align: middle;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resource-card:hover {
  box-shadow: 0 1px 4px rgba(64,64,64,.2);
}

.resource-card:hover .resource-card-title {
  color: #2db7f5;
}

.resource-card.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.resource-card img {
  display: inline-block;
  vertical-align: middle;
  width: 50px;
  margin: 0 20px 0 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.resource-card-content {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 92px;
}

.resource-card-title {
  display: block;
  font-size: 16px;
  color: #666;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  line-height: 1;
  margin-bottom: 8px;
}

.resource-card-description {
  display: block;
  color: #999;
  padding-right: 8px;
}


/* responsive style */
@media only screen and (min-width: 320px) and (max-width: 1024px) {
  .code-boxes-col-2-1 {
    float: none;
    width: 100%;
  }
  .search {
    display: none;
  }
  .preview-image-boxes {
    margin: 0!important;
    float: none;
    width: 100%;
  }

  .preview-image-box {
    padding-left: 0;
  }
}

@media only screen and (min-width: 320px) and (max-width: 767px) {
  .nav, .search {
    display: none;
  }

  .logo {
    margin: 10px;
    height: auto;
  }

  .banner-entry {
    position: relative;
    top: 30px;
    left: 0;
    text-align: center;
  }

  .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%;
  }

  .toc {
    display: none;
  }

  .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);
  }

  .aside-container {
    float: none;
    width: auto;
  }

  .main-container {
    margin-left: 0;
  }

A
afc163 已提交
1527 1528 1529 1530 1531
  .markdown > * {
    width: 100%!important;
  }

  .main-wrapper {
A
afc163 已提交
1532 1533 1534
    width: 100%;
  }

A
afc163 已提交
1535 1536 1537 1538 1539
  .main-container {
    padding-left: 30px;
    padding-right: 30px;
  }

A
afc163 已提交
1540 1541 1542 1543 1544 1545 1546 1547 1548
  footer {
    text-align: center;
  }

  footer ul li {
    float: none;
    width: auto;
  }
}