From 83b5e34039712c34685b17cd623772b0d6ebd4f3 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 10 Jul 2015 16:16:32 +0800 Subject: [PATCH] Update iconfont and relative code. --- style/components/inputNumber.less | 12 +++++------- style/core/iconfont.less | 7 +++---- style/themes/default/custom.less | 2 +- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/style/components/inputNumber.less b/style/components/inputNumber.less index 77c76cb4f8..f9b1ce2274 100644 --- a/style/components/inputNumber.less +++ b/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"; } } } diff --git a/style/core/iconfont.less b/style/core/iconfont.less index 9be47d2ede..fd8f744ada 100644 --- a/style/core/iconfont.less +++ b/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";} diff --git a/style/themes/default/custom.less b/style/themes/default/custom.less index 7c330fbb79..e2ef6d7094 100644 --- a/style/themes/default/custom.less +++ b/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;