Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
11555d3e
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,发现更多精彩内容 >>
提交
11555d3e
编写于
11月 17, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update style for adjust iconfont baseline again
Finally, we can say goodbye to top:-1px and top:1px
上级
abfe35c1
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
18 addition
and
41 deletion
+18
-41
components/iconfont/index.md
components/iconfont/index.md
+1
-1
site/static/style.css
site/static/style.css
+1
-3
style/components/alert.less
style/components/alert.less
+1
-1
style/components/breadcrumb.less
style/components/breadcrumb.less
+1
-6
style/components/collapse.less
style/components/collapse.less
+1
-1
style/components/datepicker/Calendar.less
style/components/datepicker/Calendar.less
+1
-1
style/components/menu.less
style/components/menu.less
+1
-2
style/components/message.less
style/components/message.less
+1
-1
style/components/notification.less
style/components/notification.less
+1
-1
style/components/popover.less
style/components/popover.less
+0
-2
style/components/steps.less
style/components/steps.less
+1
-3
style/components/table.less
style/components/table.less
+0
-4
style/components/tabs.less
style/components/tabs.less
+1
-1
style/components/tag.less
style/components/tag.less
+0
-2
style/components/timeline.less
style/components/timeline.less
+1
-1
style/components/tree.less
style/components/tree.less
+1
-1
style/components/upload.less
style/components/upload.less
+1
-1
style/core/iconfont.less
style/core/iconfont.less
+3
-2
style/mixins/button.less
style/mixins/button.less
+0
-6
style/themes/default/custom.less
style/themes/default/custom.less
+1
-1
未找到文件。
components/iconfont/index.md
浏览文件 @
11555d3e
...
...
@@ -157,7 +157,7 @@ const icons1 = ['step-backward', 'step-forward', 'fast-backward', 'fast-forward'
const
icons2
=
[
'
question
'
,
'
question-circle-o
'
,
'
question-circle
'
,
'
plus
'
,
'
plus-circle-o
'
,
'
plus-circle
'
,
'
pause
'
,
'
pause-circle-o
'
,
'
pause-circle
'
,
'
minus
'
,
'
minus-circle-o
'
,
'
minus-circle
'
,
'
info
'
,
'
info-circle-o
'
,
'
info-circle
'
,
'
exclamation
'
,
'
exclamation-circle-o
'
,
'
exclamation-circle
'
,
'
cross
'
,
'
cross-circle-o
'
,
'
cross-circle
'
,
'
check
'
,
'
check-circle-o
'
,
'
check-circle
'
,
'
clock-circle-o
'
,
'
clock-circle
'
];
const
icons3
=
[
'
lock
'
,
'
unlock
'
,
'
android
'
,
'
apple
'
,
'
area-chart
'
,
'
bar-chart
'
,
'
bars
'
,
'
book
'
,
'
calendar
'
,
'
cloud
'
,
'
cloud-download
'
,
'
code
'
,
'
copy
'
,
'
credit-card
'
,
'
delete
'
,
'
desktop
'
,
'
download-line
'
,
'
edit
'
,
'
ellipsis
'
,
'
file
'
,
'
file-text
'
,
'
folder
'
,
'
folder-open
'
,
'
github
'
,
'
hdd
'
,
'
frown
'
,
'
meh
'
,
'
inbox
'
,
'
laptop
'
,
'
appstore
'
,
'
line-chart
'
,
'
link
'
,
'
logout
'
,
'
mail
'
,
'
menu-fold
'
,
'
menu-unfold
'
,
'
mobile
'
,
'
notification
'
,
'
paper-clip
'
,
'
picture
'
,
'
pie-chart
'
,
'
poweroff
'
,
'
reload
'
,
'
search
'
,
'
setting
'
,
'
share-alt
'
,
'
shopping-cart
'
,
'
smile
'
,
'
tablet
'
,
'
tag
'
,
'
tags
'
,
'
to-top
'
,
'
upload
'
,
'
user
'
,
'
video-camera
'
,
'
windows
'
,
'
ie
'
,
'
chrome
'
,
'
home
'
,
'
loading
'
,
'
smile-circle
'
,
'
meh-circle
'
,
'
frown-circle
'
,
'
tags-o
'
,
'
tag-o
'
,
'
cloud-upload-o
'
,
'
cloud-download-o
'
,
'
cloud-upload
'
,
'
cloud-o
'
,
'
star-o
'
,
'
star
'
,
'
environment
'
,
'
environment-o
'
,
'
eye
'
,
'
eye-o
'
,
'
camera
'
,
'
camera-o
'
,
'
aliwangwang
'
,
'
aliwangwang-o
'
,
'
save
'
,
'
team
'
,
'
solution
'
,
'
phone
'
,
'
filter
'
,
'
exception
'
,
'
export
'
,
'
customerservice
'
];
const
icons3
=
[
'
lock
'
,
'
unlock
'
,
'
android
'
,
'
apple
'
,
'
area-chart
'
,
'
bar-chart
'
,
'
bars
'
,
'
book
'
,
'
calendar
'
,
'
cloud
'
,
'
cloud-download
'
,
'
code
'
,
'
copy
'
,
'
credit-card
'
,
'
delete
'
,
'
desktop
'
,
'
download-line
'
,
'
edit
'
,
'
ellipsis
'
,
'
file
'
,
'
file-text
'
,
'
folder
'
,
'
folder-open
'
,
'
github
'
,
'
hdd
'
,
'
frown
'
,
'
meh
'
,
'
inbox
'
,
'
laptop
'
,
'
appstore
'
,
'
line-chart
'
,
'
link
'
,
'
logout
'
,
'
mail
'
,
'
menu-fold
'
,
'
menu-unfold
'
,
'
mobile
'
,
'
notification
'
,
'
paper-clip
'
,
'
picture
'
,
'
pie-chart
'
,
'
poweroff
'
,
'
reload
'
,
'
search
'
,
'
setting
'
,
'
share-alt
'
,
'
shopping-cart
'
,
'
smile
'
,
'
tablet
'
,
'
tag
'
,
'
tags
'
,
'
to-top
'
,
'
upload
'
,
'
user
'
,
'
video-camera
'
,
'
windows
'
,
'
ie
'
,
'
chrome
'
,
'
home
'
,
'
loading
'
,
'
smile-circle
'
,
'
meh-circle
'
,
'
frown-circle
'
,
'
tags-o
'
,
'
tag-o
'
,
'
cloud-upload-o
'
,
'
cloud-download-o
'
,
'
cloud-upload
'
,
'
cloud-o
'
,
'
star-o
'
,
'
star
'
,
'
environment
'
,
'
environment-o
'
,
'
eye
'
,
'
eye-o
'
,
'
camera
'
,
'
camera-o
'
,
'
aliwangwang
'
,
'
aliwangwang-o
'
,
'
save
'
,
'
team
'
,
'
solution
'
,
'
phone
'
,
'
filter
'
,
'
exception
'
,
'
export
'
,
'
customerservice
'
,
'
qrcode
'
];
ReactDOM
.
render
(<
IconSet
icons
=
{
icons1
}
/>,
document
.
getElementById
(
'
iconset-direction
'
));
...
...
site/static/style.css
浏览文件 @
11555d3e
...
...
@@ -1676,7 +1676,7 @@ footer ul li > a {
margin-left
:
5px
;
opacity
:
0.8
;
transition
:
all
0.3s
ease
;
top
:
-
1
px
;
top
:
-
2
px
;
position
:
relative
;
}
...
...
@@ -1874,8 +1874,6 @@ a.entry-link .anticon-smile {
display
:
inline-block
;
-webkit-animation
:
rotateCircleBack
0.6s
1
ease-in-out
;
animation
:
rotateCircleBack
0.6s
1
ease-in-out
;
position
:
relative
;
top
:
1px
;
line-height
:
1
;
width
:
16px
;
}
...
...
style/components/alert.less
浏览文件 @
11555d3e
...
...
@@ -15,7 +15,7 @@
&-icon {
margin-right: 8px;
font-size: 14px;
top:
2
px;
top:
1
px;
}
&-description {
...
...
style/components/breadcrumb.less
浏览文件 @
11555d3e
...
...
@@ -22,12 +22,7 @@
color: #d9d9d9;
}
.anticon {
position: relative;
top: 1px;
}
.anticon + span {
margin-left:
6
px;
margin-left:
4
px;
}
}
style/components/collapse.less
浏览文件 @
11555d3e
...
...
@@ -35,7 +35,7 @@
color: #666;
display: inline-block;
margin-right: 8px;
line-height:
38
px;
line-height:
40
px;
content: "\e611";
vertical-align: middle;
transition: transform 0.24s ease;
...
...
style/components/datepicker/Calendar.less
浏览文件 @
11555d3e
...
...
@@ -243,7 +243,7 @@
height: 20px;
text-align: center;
line-height: 20px;
top:
8
px;
top:
7
px;
margin: 0;
}
...
...
style/components/menu.less
浏览文件 @
11555d3e
...
...
@@ -161,8 +161,7 @@
&-submenu-title {
.anticon {
width: 14px;
margin-right: 9px;
top: 1px;
margin-right: 8px;
}
}
...
...
style/components/message.less
浏览文件 @
11555d3e
...
...
@@ -41,6 +41,6 @@
.anticon {
margin-right: 8px;
font-size: 14px;
top:
2
px;
top:
1
px;
}
}
style/components/notification.less
浏览文件 @
11555d3e
...
...
@@ -52,7 +52,7 @@
left: 16px;
top: 50%;
margin-top: -17px;
font-size: 3
5
px;
font-size: 3
4
px;
&-success {
color: @success-color;
...
...
style/components/popover.less
浏览文件 @
11555d3e
...
...
@@ -104,8 +104,6 @@
.anticon {
margin-right: 8px;
color: @error-color;
position: relative;
top: 1px;
}
}
...
...
style/components/steps.less
浏览文件 @
11555d3e
...
...
@@ -133,8 +133,6 @@
&.anticon {
font-size: 12px;
position: relative;
top: 1px;
}
}
}
...
...
@@ -197,7 +195,7 @@
margin-right: 10px;
> .@{steps-prefix-cls}-icon.anticon {
.iconfont-size-under-12px(9px);
top:
1px
;
top:
0
;
}
}
.@{steps-prefix-cls}-main {
...
...
style/components/table.less
浏览文件 @
11555d3e
...
...
@@ -27,8 +27,6 @@
.anticon-bars {
margin-left: 4px;
position: relative;
top: 1px;
.iconfont-size-under-12px(10px);
cursor: pointer;
color: #aaa;
...
...
@@ -201,8 +199,6 @@
width: 100%;
.anticon {
margin-right: 4px;
position: relative;
top: 1px;
}
}
}
...
...
style/components/tabs.less
浏览文件 @
11555d3e
...
...
@@ -177,7 +177,7 @@
width: 14px;
height: 14px;
margin-right: 8px;
top: 1px
;
line-height: 1.5
;
}
}
...
...
style/components/tag.less
浏览文件 @
11555d3e
...
...
@@ -32,8 +32,6 @@
cursor: pointer;
font-weight: bold;
margin-left: 3px;
position: relative;
top: 1px;
color: #666;
transition: all 0.3s ease;
opacity: 0.66;
...
...
style/components/timeline.less
浏览文件 @
11555d3e
...
...
@@ -41,7 +41,7 @@
padding: 0 0 10px 24px;
font-size: 12px;
position: relative;
top: -
2
px;
top: -
3
px;
}
&-last {
...
...
style/components/tree.less
浏览文件 @
11555d3e
...
...
@@ -50,7 +50,7 @@
line-height: 0;
margin: 0;
width: 16px;
height: 1
7
px;
height: 1
8
px;
display: inline-block;
vertical-align: middle;
border: 0 none;
...
...
style/components/upload.less
浏览文件 @
11555d3e
...
...
@@ -88,7 +88,7 @@
margin-right: 4px;
font-size: 12px;
color: #999;
top:
2
px;
top:
1
px;
}
.anticon-cross {
.iconfont-size-under-12px(10px);
...
...
style/core/iconfont.less
浏览文件 @
11555d3e
...
...
@@ -42,8 +42,8 @@
.@{iconfont-css-prefix}-cloud-download:before {content:"\e65b";}
.@{iconfont-css-prefix}-star-o:before {content:"\e693";}
.@{iconfont-css-prefix}-star:before {content:"\e694";}
.@{iconfont-css-prefix}-environment:before
{content:"\e665";}
.@{iconfont-css-prefix}-environment-o:before
{content:"\e666";}
.@{iconfont-css-prefix}-environment:before {content:"\e665";}
.@{iconfont-css-prefix}-environment-o:before {content:"\e666";}
.@{iconfont-css-prefix}-eye:before {content:"\e66e";}
.@{iconfont-css-prefix}-eye-o:before {content:"\e66d";}
.@{iconfont-css-prefix}-camera:before {content:"\e653";}
...
...
@@ -177,6 +177,7 @@
.@{iconfont-css-prefix}-caret-circle-right:before {content:"\e605";}
.@{iconfont-css-prefix}-caret-circle-up:before {content:"\e606";}
.@{iconfont-css-prefix}-caret-circle-down:before {content:"\e607";}
.@{iconfont-css-prefix}-qrcode:before {content:"\e6a5";}
.@{iconfont-css-prefix}-loading:before {
display: inline-block;
.animation(loadingCircle 1s infinite linear);
...
...
style/mixins/button.less
浏览文件 @
11555d3e
...
...
@@ -92,8 +92,6 @@
> .@{iconfont-css-prefix} {
line-height: 1;
position: relative;
top: 1px;
}
&,
...
...
@@ -167,10 +165,6 @@
.square(@btn-circle-size);
.button-size(0; @font-size-base + 2; 50%);
> .@{iconfont-css-prefix} {
top: 1px;
}
&.@{btnClassName}-lg {
.square(@btn-circle-size-lg);
.button-size(0; @btn-font-size-lg + 2; 50%);
...
...
style/themes/default/custom.less
浏览文件 @
11555d3e
...
...
@@ -20,7 +20,7 @@
// ICONFONT
@iconfont-css-prefix : anticon;
@icon-url : "//at.alicdn.com/t/font_1447
430015_7197566
";
@icon-url : "//at.alicdn.com/t/font_1447
745222_4559345
";
// LINK
@link-color : #2db7f5;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录