Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
c3e404f6
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
c3e404f6
编写于
1月 06, 2016
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update page style
上级
f267d4fd
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
45 addition
and
28 deletion
+45
-28
docs/pattern/index.md
docs/pattern/index.md
+2
-1
docs/practice/bussiness.md
docs/practice/bussiness.md
+9
-0
docs/practice/cases.md
docs/practice/cases.md
+1
-1
docs/resource/download.md
docs/resource/download.md
+2
-1
docs/resource/reference.md
docs/resource/reference.md
+8
-0
site/static/script.js
site/static/script.js
+7
-0
site/static/style.css
site/static/style.css
+13
-21
site/templates/layout.html
site/templates/layout.html
+3
-3
site/theme.js
site/theme.js
+0
-1
未找到文件。
docs/pattern/index.md
浏览文件 @
c3e404f6
#
设计模式
#
典型页面
-
category: 0
-
order: 0
-
disabled: true
---
...
...
docs/practice/bussiness.md
0 → 100644
浏览文件 @
c3e404f6
# 业务组件
-
category: 1
-
order: 1
-
disabled: true
---
占位。
docs/practice/
index
.md
→
docs/practice/
cases
.md
浏览文件 @
c3e404f6
# 实践
# 实践
案例
-
category: 0
-
order: 0
...
...
docs/resource/
tools
.md
→
docs/resource/
download
.md
浏览文件 @
c3e404f6
# 资源下载
-
category: 资源
-
order: 0
-
category: 0
---
...
...
docs/resource/reference.md
0 → 100644
浏览文件 @
c3e404f6
# 相关书籍
-
order: 1
-
category: 1
---
待补充。
site/static/script.js
浏览文件 @
c3e404f6
...
...
@@ -93,9 +93,13 @@ InstantClickChangeFns.push(function() {
var
nextLink
=
links
[
currentLinkIndex
+
1
];
if
(
prevLink
)
{
prevNextNavNode
.
append
(
'
<a class="prev-page" href="
'
+
prevLink
.
href
+
'
">
'
+
prevLink
.
innerHTML
+
'
</a>
'
);
}
else
{
prevNextNavNode
.
append
(
'
<span class="prev-page"></span>
'
);
}
if
(
nextLink
)
{
prevNextNavNode
.
append
(
'
<a class="next-page" href="
'
+
nextLink
.
href
+
'
">
'
+
nextLink
.
innerHTML
+
'
</a>
'
);
}
else
{
prevNextNavNode
.
append
(
'
<span class="next-page"></span>
'
);
}
prevNextNavNode
.
appendTo
(
'
.main-container
'
);
}
...
...
@@ -121,6 +125,9 @@ InstantClickChangeFns.push(function() {
var
navFunc
=
{
navStrArr
:
[],
init
:
function
()
{
if
(
this
.
navBar
)
{
return
;
}
this
.
navBox
=
$
(
"
.nav
"
);
this
.
navBar
=
this
.
navBox
.
find
(
"
.bar
"
);
this
.
navList
=
this
.
navBox
.
find
(
"
ul li
"
);
...
...
site/static/style.css
浏览文件 @
c3e404f6
...
...
@@ -214,7 +214,6 @@ a.nav-link-disabled {
}
.nav
.bar
{
width
:
20%
;
height
:
3px
;
position
:
absolute
;
bottom
:
0
;
...
...
@@ -485,16 +484,15 @@ footer ul li > a {
overflow
:
hidden
;
padding
:
24px
0
0
;
margin-bottom
:
24px
;
position
:
relative
;
}
.main-container
{
border-left
:
1px
solid
#e9e9e9
;
margin-left
:
2
60
px
;
margin-left
:
2
59
px
;
padding
:
0
40px
120px
;
background
:
#fff
;
min-height
:
500px
;
position
:
relative
;
left
:
-1px
;
}
.main-container-center
{
...
...
@@ -660,19 +658,21 @@ footer ul li > a {
left
:
0
;
width
:
100%
;
overflow
:
hidden
;
border-top
:
1px
solid
#e9e9e9
;
font-size
:
16px
;
padding-left
:
260px
;
}
.prev-next-nav
>
a
{
.prev-next-nav
>
.prev-page
,
.prev-next-nav
>
.next-page
{
padding
:
0
24px
;
width
:
50%
;
float
:
left
;
line-height
:
72px
;
height
:
72px
;
border-top
:
1px
solid
#e9e9e9
;
}
.prev-next-nav
>
.prev-page
:before
{
.prev-next-nav
>
a
.prev-page
:before
{
font-family
:
'anticon'
;
content
:
'\e601'
;
font-size
:
12px
;
...
...
@@ -684,7 +684,7 @@ footer ul li > a {
float
:
right
;
}
.prev-next-nav
>
.next-page
:after
{
.prev-next-nav
>
a
.next-page
:after
{
font-family
:
'anticon'
;
content
:
'\e600'
;
font-size
:
12px
;
...
...
@@ -697,6 +697,8 @@ footer ul li > a {
right
:
4%
;
margin-right
:
24px
;
font-size
:
12px
;
background
:
#fff
;
z-index
:
100
;
}
.toc
li
>
ul
{
...
...
@@ -2160,20 +2162,10 @@ a.entry-link:hover .anticon-smile {
.demos-anchor
{
color
:
#aaa
;
position
:
fixed
;
top
:
100px
;
right
:
32px
;
margin-right
:
24px
;
top
:
128px
;
right
:
4%
;
z-index
:
100
;
transition
:
all
0.3s
ease
;
background
:
#fff
;
background
:
rgba
(
255
,
255
,
255
,
0.9
);
padding
:
8px
10px
8px
24px
;
border-radius
:
6px
0
0
6px
;
margin
:
0
;
font-size
:
12px
;
border-right
:
0
;
-webkit-animation
:
.5s
ease-out
0.5s
xRightMatrix
;
animation
:
.5s
ease-out
0.5s
xRightMatrix
;
-webkit-animation-fill-mode
:
forwards
;
animation-fill-mode
:
forwards
;
opacity
:
0
;
}
site/templates/layout.html
浏览文件 @
c3e404f6
...
...
@@ -67,10 +67,10 @@
<a
href=
"{{static_url('../')}}"
data-no-instant
>
首页
</a>
</li>
<li
class=
"{%- if post.directory|rootDirectoryIn(['docs/practice']) %}current{%- endif %}"
>
<a
href=
"{{static_url('../docs/practice/
index
')}}"
>
实践
</a>
<a
href=
"{{static_url('../docs/practice/
cases
')}}"
>
实践
</a>
</li>
<li
class=
"{%- if post.directory|rootDirectoryIn(['docs/pattern']) %}current{%- endif %}"
>
<a
href=
"{{static_url('../docs/pattern/
index
')}}"
>
模式
</a>
<a
href=
"{{static_url('../docs/pattern/
navigation
')}}"
>
模式
</a>
</li>
<li
class=
"{%- if post.directory|rootDirectoryIn(['docs/spec']) %}current{%- endif %}"
>
<a
href=
"{{static_url('../docs/spec/introduce')}}"
>
语言
</a>
...
...
@@ -79,7 +79,7 @@
<a
href=
"{{static_url('../docs/react/introduce')}}"
>
组件
</a>
</li>
<li
class=
"{%- if post.directory|rootDirectoryIn(['docs/resource']) %}current{%- endif %}"
>
<a
href=
"{{static_url('../docs/resource/
index
')}}"
>
资源
</a>
<a
href=
"{{static_url('../docs/resource/
download
')}}"
>
资源
</a>
</li>
</ul>
</nav>
...
...
site/theme.js
浏览文件 @
c3e404f6
...
...
@@ -84,7 +84,6 @@ module.exports = function(nico) {
if
(
!
cat
)
{
return
;
}
console
.
log
(
itemDirectory
,
item
.
directory
,
directories
);
if
(
directories
.
indexOf
(
itemDirectory
)
>=
0
||
item
.
filename
.
indexOf
(
'
CHANGELOG
'
)
>=
0
)
{
item
.
filename
=
item
.
filename
.
toLowerCase
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录