Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
68b9e612
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,发现更多精彩内容 >>
提交
68b9e612
编写于
7月 09, 2015
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update iconfont
上级
16f88766
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
51 addition
and
21 deletion
+51
-21
components/iconfont/index.md
components/iconfont/index.md
+9
-1
components/progress/index.jsx
components/progress/index.jsx
+1
-1
style/components/breadcrumb.less
style/components/breadcrumb.less
+0
-1
style/components/button.less
style/components/button.less
+0
-1
style/components/datepicker/Picker.less
style/components/datepicker/Picker.less
+8
-5
style/components/dialog/Dialog.less
style/components/dialog/Dialog.less
+4
-1
style/components/popover.less
style/components/popover.less
+1
-1
style/components/progress.less
style/components/progress.less
+1
-1
style/components/select.less
style/components/select.less
+10
-2
style/components/steps.less
style/components/steps.less
+11
-4
style/components/tabs.less
style/components/tabs.less
+1
-0
style/core/iconfont.less
style/core/iconfont.less
+4
-2
style/themes/default/custom.less
style/themes/default/custom.less
+1
-1
未找到文件。
components/iconfont/index.md
浏览文件 @
68b9e612
...
...
@@ -11,7 +11,7 @@
## 图标的命名规范
我们为每个图标赋予了语义化的命名。我们的命名规范如
下
:
我们为每个图标赋予了语义化的命名。我们的命名规范如:
-
1. 使用
`-`
来连接单词;
...
...
@@ -498,6 +498,14 @@
<i
class=
"anticon anticon-windows"
></i>
<span
class=
"anticon-class"
>
windows
</span>
</li>
<li>
<i
class=
"anticon anticon-ie"
></i>
<span
class=
"anticon-class"
>
ie
</span>
</li>
<li>
<i
class=
"anticon anticon-chrome"
></i>
<span
class=
"anticon-class"
>
chrome
</span>
</li>
<li>
<i
class=
"anticon anticon-loading"
></i>
<span
class=
"anticon-class"
>
loading
</span>
...
...
components/progress/index.jsx
浏览文件 @
68b9e612
...
...
@@ -32,7 +32,7 @@ var Line = React.createClass({
};
var
fontSize
=
(
props
.
width
/
100
*
props
.
strokeWidth
);
var
iconStyle
=
{
'
fontSize
'
:
(
fontSize
<
1
4
)
?
14
:
fontSize
'
fontSize
'
:
(
fontSize
<
1
2
)
?
12
:
fontSize
};
var
textStyle
=
{
'
color
'
:
statusColorMap
[
props
.
status
]
...
...
style/components/breadcrumb.less
浏览文件 @
68b9e612
...
...
@@ -23,7 +23,6 @@
}
.anticon {
font-size: 14px;
position: relative;
top: -1px;
}
...
...
style/components/button.less
浏览文件 @
68b9e612
...
...
@@ -44,7 +44,6 @@
&-menu {
> .@{iconfont-css-prefix} {
top: -1px;
font-size: @font-size-base;
font-size: ~"10px \9"; // ie8-9
.scale(0.83);
...
...
style/components/datepicker/Picker.less
浏览文件 @
68b9e612
...
...
@@ -16,18 +16,21 @@
-webkit-user-select: none;
user-select: none;
.transition(all .3s @ease-in-out);
width: 1
4
px;
height: 1
4
px;
line-height: 1
4
px;
width: 1
2
px;
height: 1
2
px;
line-height: 1
2
px;
right: 8px;
color: #999;
top: 50%;
margin-top: -
7
px;
margin-top: -
6
px;
&:after {
content: "\e60c";
font-family: "anticon";
font-size: 1
4
px;
font-size: 1
2
px;
color: #999;
display: inline-block;
line-height: 1;
vertical-align: bottom;
}
}
&-open .@{prefixCalendarClass},
...
...
style/components/dialog/Dialog.less
浏览文件 @
68b9e612
...
...
@@ -43,6 +43,7 @@
filter: alpha(opacity=20);
opacity: .2;
text-decoration: none;
transition: opacity .3s ease;
&-x {
position: absolute;
...
...
@@ -58,7 +59,9 @@
-moz-osx-font-smoothing: grayscale;
width: 12px;
height: 12px;
font-size: 12px;
font-size: @font-size-base;
font-size: ~"10px \9"; // ie8-9
.scale(0.83);
line-height: 12px;
color:#000;
top:18px;
...
...
style/components/popover.less
浏览文件 @
68b9e612
...
...
@@ -127,10 +127,10 @@
padding: 8px 8px 12px 8px;
font-size: 14px;
.anticon {
font-size: 16px;
margin-right: 6px;
line-height: 18px;
color: #FC8C6E;
vertical-align: text-bottom;
}
}
...
...
style/components/progress.less
浏览文件 @
68b9e612
...
...
@@ -24,7 +24,7 @@
line-height: 1;
.anticon {
font-size: 1
.2em
;
font-size: 1
2px
;
}
}
...
...
style/components/select.less
浏览文件 @
68b9e612
...
...
@@ -35,8 +35,10 @@
top: 1px;
right: 1px;
width: 20px;
font-family: 'anticon';
font-size: @font-size-base;
font-size: ~"10px \9"; // ie8-9
.scale(0.83);
&:before {
content: '\e611';
.rotate(90deg);
...
...
@@ -137,7 +139,13 @@
cursor: pointer;
display: inline-block;
font-weight: bold;
padding: 0 0 0 8px;
font-size: @font-size-base;
font-size: ~"8px \9"; // ie8-9
.scale(0.67);
padding: 0 0 0 4px;
position: relative;
top: -1px;
left: 4px;
&:hover {
color: #333;
}
...
...
style/components/steps.less
浏览文件 @
68b9e612
...
...
@@ -14,7 +14,6 @@
@finish-description-color: @finish-title-color;
@finish-tail-color: @process-icon-color;
.transition(@transition) {
transition: @transition;
-webkit-transition: @transition;
...
...
@@ -90,11 +89,11 @@
.@{stepsPrefixClass}-head-inner {
background: none;
border: 0;
font-size: 20px;
width: auto;
height: auto;
> .@{stepsPrefixClass}-icon {
top: -4px;
font-size: 20px;
top: 0;
}
}
&.@{stepsPrefixClass}-status-process {
...
...
@@ -103,7 +102,6 @@
}
}
}
}
.@{stepsPrefixClass}-head, .@{stepsPrefixClass}-main {
...
...
@@ -135,6 +133,10 @@
top: -2px;
color: @primary-color;
position: relative;
&.anticon {
font-size: 12px;
}
}
}
.@{stepsPrefixClass}-main {
...
...
@@ -183,6 +185,11 @@
border-radius: 18px;
font-size: 12px;
margin-right: 10px;
> .@{stepsPrefixClass}-icon.anticon {
font-size: 12px;
font-size: ~"9px \9"; // ie8-9
.scale(0.75);
}
}
.@{stepsPrefixClass}-main {
margin-top: 0;
...
...
style/components/tabs.less
浏览文件 @
68b9e612
...
...
@@ -68,6 +68,7 @@
text-align: center;
text-transform: none;
font-family: sans-serif;
font-size: 12px;
&:before {
display: block;
...
...
style/core/iconfont.less
浏览文件 @
68b9e612
...
...
@@ -125,7 +125,7 @@
.@{iconfont-css-prefix}-link:before {content:"\e640";}
.@{iconfont-css-prefix}-logout:before {content:"\e642";}
.@{iconfont-css-prefix}-mail:before {content:"\e643";}
.@{iconfont-css-prefix}-menu-fold:before {content:"\e64
4"
;}
.@{iconfont-css-prefix}-menu-fold:before {content:"\e64
5";.rotate(180deg)
;}
.@{iconfont-css-prefix}-menu-unfold:before {content:"\e645";}
.@{iconfont-css-prefix}-mobile:before {content:"\e649";}
.@{iconfont-css-prefix}-notification:before {content:"\e64a";}
...
...
@@ -142,12 +142,14 @@
.@{iconfont-css-prefix}-tablet:before {content:"\e664";}
.@{iconfont-css-prefix}-tag:before {content:"\e665";}
.@{iconfont-css-prefix}-tags:before {content:"\e666";}
.@{iconfont-css-prefix}-to-top:before
{content:"\e667";}
.@{iconfont-css-prefix}-to-top:before {content:"\e667";}
.@{iconfont-css-prefix}-unlock:before {content:"\e668";}
.@{iconfont-css-prefix}-upload:before {content:"\e669";}
.@{iconfont-css-prefix}-user:before {content:"\e66a";}
.@{iconfont-css-prefix}-video-camera:before {content:"\e66b";}
.@{iconfont-css-prefix}-windows:before {content:"\e66c";}
.@{iconfont-css-prefix}-ie:before {content:"\e66d";}
.@{iconfont-css-prefix}-chrome:before {content:"\e66e";}
.@{iconfont-css-prefix}-loading:before {
display: inline-block;
.animation(loadingCircle 1s infinite linear);
...
...
style/themes/default/custom.less
浏览文件 @
68b9e612
...
...
@@ -20,7 +20,7 @@
// ICONFONT
@iconfont-css-prefix : anticon;
@icon-url : "//at.alicdn.com/t/font_143
4092639_4910953
";
@icon-url : "//at.alicdn.com/t/font_143
6434300_7173727
";
// LINK
@link-color : @primary-color;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录