Browse Source

Merge pull request #35 from benjycui/master

更新 Icon Font 及相关代码
pull/36/merge
Emma 10 years ago
parent
commit
363806ac43
  1. 12
      style/components/inputNumber.less
  2. 7
      style/core/iconfont.less
  3. 2
      style/themes/default/custom.less

12
style/components/inputNumber.less

@ -90,11 +90,11 @@
cursor: pointer;
&-inner {
top: 2px;
left: 4px;
transform: rotate(270deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
&:before {
content: "\e611";
content: "\e600";
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
}
}
@ -103,10 +103,8 @@
cursor: pointer;
&-inner {
bottom: 2px;
transform: rotate(90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
&:before {
content: "\e611";
content: "\e600";
}
}
}

7
style/core/iconfont.less

@ -55,12 +55,11 @@
.@{iconfont-css-prefix}-retweet:before {content:"\e659";}
.@{iconfont-css-prefix}-right:before {content:"\e611";}
.@{iconfont-css-prefix}-down {.ie-rotate(1);}
.@{iconfont-css-prefix}-down:before {content:"\e611";.rotate(90deg);}
.@{iconfont-css-prefix}-down:before {content:"\e600";}
.@{iconfont-css-prefix}-left {.ie-rotate(2);}
.@{iconfont-css-prefix}-left:before {content:"\e611";.rotate(180deg);}
.@{iconfont-css-prefix}-up {.ie-rotate(3);}
.@{iconfont-css-prefix}-up:before {content:"\e611";.rotate(270deg);}
.@{iconfont-css-prefix}-up {.ie-rotate(2);}
.@{iconfont-css-prefix}-up:before {content:"\e600";.rotate(180deg);}
// 提示性图标
.@{iconfont-css-prefix}-question:before {content:"\e655";}

2
style/themes/default/custom.less

@ -20,7 +20,7 @@
// ICONFONT
@iconfont-css-prefix : anticon;
@icon-url : "//at.alicdn.com/t/font_1436443521_8072257";
@icon-url : "//at.alicdn.com/t/font_1436496908_974446";
// LINK
@link-color : @primary-color;

Loading…
Cancel
Save