Browse Source

update iconfont url

pull/34/head
afc163 10 years ago
parent
commit
e0d74468b8
  1. 4
      components/iconfont/index.md
  2. 3
      style/core/iconfont.less
  3. 4
      style/themes/default/custom.less

4
components/iconfont/index.md

@ -506,6 +506,10 @@
<i class="anticon anticon-chrome"></i> <i class="anticon anticon-chrome"></i>
<span class="anticon-class">chrome</span> <span class="anticon-class">chrome</span>
</li> </li>
<li>
<i class="anticon anticon-home"></i>
<span class="anticon-class">home</span>
</li>
<li> <li>
<i class="anticon anticon-loading"></i> <i class="anticon anticon-loading"></i>
<span class="anticon-class">loading</span> <span class="anticon-class">loading</span>

3
style/core/iconfont.less

@ -149,7 +149,8 @@
.@{iconfont-css-prefix}-video-camera:before {content:"\e66b";} .@{iconfont-css-prefix}-video-camera:before {content:"\e66b";}
.@{iconfont-css-prefix}-windows:before {content:"\e66c";} .@{iconfont-css-prefix}-windows:before {content:"\e66c";}
.@{iconfont-css-prefix}-ie:before {content:"\e66d";} .@{iconfont-css-prefix}-ie:before {content:"\e66d";}
.@{iconfont-css-prefix}-chrome:before {content:"\e66e";} .@{iconfont-css-prefix}-chrome:before {content:"\e66e";}
.@{iconfont-css-prefix}-home:before {content:"\e612";}
.@{iconfont-css-prefix}-loading:before { .@{iconfont-css-prefix}-loading:before {
display: inline-block; display: inline-block;
.animation(loadingCircle 1s infinite linear); .animation(loadingCircle 1s infinite linear);

4
style/themes/default/custom.less

@ -15,12 +15,12 @@
@text-color : #666; @text-color : #666;
@font-size-base : 12px; @font-size-base : 12px;
@line-height-base : 1.5; @line-height-base : 1.5;
@line-height-computed: floor((@font-size-base * @line-height-base)); @line-height-computed : floor((@font-size-base * @line-height-base));
@border-radius-base : 6px; @border-radius-base : 6px;
// ICONFONT // ICONFONT
@iconfont-css-prefix : anticon; @iconfont-css-prefix : anticon;
@icon-url : "//at.alicdn.com/t/font_1436434300_7173727"; @icon-url : "//at.alicdn.com/t/font_1436443521_8072257";
// LINK // LINK
@link-color : @primary-color; @link-color : @primary-color;

Loading…
Cancel
Save