Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
94a0440f
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,发现更多精彩内容 >>
提交
94a0440f
编写于
8月 23, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix iconfont
上级
97ccc96a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
21 addition
and
61 deletion
+21
-61
components/iconfont/index.md
components/iconfont/index.md
+1
-1
site/templates/component.html
site/templates/component.html
+1
-1
site/templates/demos.html
site/templates/demos.html
+2
-2
site/templates/home.html
site/templates/home.html
+1
-1
static/style.css
static/style.css
+16
-56
未找到文件。
components/iconfont/index.md
浏览文件 @
94a0440f
...
...
@@ -391,7 +391,7 @@
</li>
<li>
<i
class=
"anticon anticon-appstore"
></i>
<span
class=
"anticon-class"
>
larg
e
</span>
<span
class=
"anticon-class"
>
appstor
e
</span>
</li>
<li>
<i
class=
"anticon anticon-line-chart"
></i>
...
...
site/templates/component.html
浏览文件 @
94a0440f
...
...
@@ -7,7 +7,7 @@
{{ post.title }} {{ post.meta.chinese }}
{%- if post.meta.API %}
<a
class=
"api-link"
href=
"http://{{ post.meta.API }}"
target=
"_blank"
>
<i
class=
"
iconfont-home icon-external
link"
></i>
<i
class=
"
anticon anticon-
link"
></i>
API 使用说明
</a>
{%- endif %}
...
...
site/templates/demos.html
浏览文件 @
94a0440f
...
...
@@ -2,10 +2,10 @@
{%- if items.length > 0 %}
<h2
class=
"component-demos"
>
组件演示
<i
class=
"
iconfont-hom
e icon-all"
title=
"展开全部代码"
></i>
<i
class=
"
anticon anticon-appstor
e icon-all"
title=
"展开全部代码"
></i>
{%- if post.meta.sketch %}
<a
class=
"sketch-link"
href=
"{{ post.meta.sketch }}"
target=
"_blank"
>
<i
class=
"
iconfont-home
icon-download"
></i>
<i
class=
"
anticon ant
icon-download"
></i>
Sketch 下载
</a>
{%- endif %}
...
...
site/templates/home.html
浏览文件 @
94a0440f
...
...
@@ -18,7 +18,7 @@
{{ config.site.description }}
</div>
<a
class=
"entry-link"
href=
"/spec/introduce"
>
<i
class=
"
iconfont-home icon-lego
"
></i>
<i
class=
"
anticon anticon-smile
"
></i>
开始使用
</a>
</div>
...
...
static/style.css
浏览文件 @
94a0440f
@font-face
{
font-family
:
"iconfont-home"
;
src
:
url('//at.alicdn.com/t/font_1431765342_6775353.eot')
;
src
:
url('//at.alicdn.com/t/font_1431765342_6775353.eot?#iefix')
format
(
'embedded-opentype'
),
url('//at.alicdn.com/t/font_1431765342_6775353.woff')
format
(
'woff'
),
url('//at.alicdn.com/t/font_1431765342_6775353.ttf')
format
(
'truetype'
),
url('//at.alicdn.com/t/font_1431765342_6775353.svg#iconfont')
format
(
'svg'
);
}
.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"
;
}
html
{
text-rendering
:
optimizeLegibility
;
-webkit-font-smoothing
:
antialiased
;
...
...
@@ -1687,21 +1640,22 @@ footer ul li > a {
font-weight
:
600
;
}
.component-demos
.
icon-all
{
.component-demos
.
anticon-appstore
{
cursor
:
pointer
;
font-size
:
1
6
px
;
font-size
:
1
4
px
;
color
:
#9199AC
;
margin-left
:
5px
;
vertical-align
:
text-bottom
;
opacity
:
0.8
;
transition
:
all
0.3s
ease
;
top
:
-3px
;
position
:
relative
;
}
.component-demos
.
icon-all
:hover
{
.component-demos
.
anticon-appstore
:hover
{
opacity
:
1
;
}
.component-demos
.
icon-all
.expand
{
.component-demos
.
anticon-appstore
.expand
{
color
:
#3B4357
;
}
...
...
@@ -1784,8 +1738,8 @@ footer ul li > a {
}
.code-box-title
:before
{
font-family
:
iconfont-home
;
content
:
"\e6
07
"
;
font-family
:
anticon
;
content
:
"\e6
65
"
;
font-size
:
16px
;
vertical-align
:
middle
;
line-height
:
22px
;
...
...
@@ -1793,6 +1747,9 @@ footer ul li > a {
margin-right
:
8px
;
top
:
-2px
;
color
:
#ccc
;
-webkit-transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
);
display
:
inline-block
;
}
.code-box-meta
>
p
{
...
...
@@ -1882,14 +1839,17 @@ a.entry-link:hover {
border-color
:
#5F6C77
;
}
a
.entry-link
.
icon-lego
{
a
.entry-link
.
anticon-smile
{
margin-right
:
3px
;
display
:
inline-block
;
-webkit-animation
:
rotateCircleBack
0.5s
1
ease-in-out
;
animation
:
rotateCircleBack
0.5s
1
ease-in-out
;
position
:
relative
;
top
:
-1px
;
line-height
:
1
;
}
a
.entry-link
:hover
.
icon-lego
{
a
.entry-link
:hover
.
anticon-smile
{
-webkit-animation
:
rotateCircle
0.5s
1
ease-in-out
;
animation
:
rotateCircle
0.5s
1
ease-in-out
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录