Browse Source

iconfont引用位置偏移调整

pull/520/head
左宜 9 years ago
committed by zinkey
parent
commit
c528527039
  1. 1
      style/components/alert.less
  2. 2
      style/components/breadcrumb.less
  3. 2
      style/components/confirm.less
  4. 2
      style/components/datepicker/Calendar.less
  5. 4
      style/components/menu.less
  6. 4
      style/components/select.less
  7. 4
      style/components/steps.less
  8. 2
      style/components/table.less
  9. 2
      style/components/tabs.less
  10. 2
      style/components/tag.less
  11. 1
      style/core/iconfont.less
  12. 4
      style/mixins/button.less

1
style/components/alert.less

@ -15,6 +15,7 @@
&-icon {
margin-right: 8px;
font-size: 14px;
top: 2px;
}
&-description {

2
style/components/breadcrumb.less

@ -24,7 +24,7 @@
.anticon {
position: relative;
top: -1px;
top: 1px;
}
.anticon + span {

2
style/components/confirm.less

@ -27,7 +27,7 @@
font-size: 24px;
margin-right: 12px;
position: relative;
top: 2px;
top: 5px;
}
.anticon-exclamation-circle {

2
style/components/datepicker/Calendar.less

@ -243,7 +243,7 @@
height: 20px;
text-align: center;
line-height: 20px;
top: 6px;
top: 8px;
margin: 0;
}

4
style/components/menu.less

@ -158,7 +158,7 @@
.anticon {
width: 14px;
margin-right: 8px;
top: -1px;
top: 1px;
color: #999;
}
}
@ -261,7 +261,7 @@
.anticon {
width: 14px;
margin-right: 8px;
top: -1px;
top: 1px;
}
}

4
style/components/select.less

@ -275,8 +275,10 @@
&-open {
.@{select-prefix-cls}-arrow {
.ie-rotate(2);
-ms-transform: rotate(180deg);
&:before {
content: "\e602";
.rotate(180deg);
}
}
.@{select-prefix-cls}-selection {

4
style/components/steps.less

@ -134,7 +134,7 @@
&.anticon {
font-size: 12px;
position: relative;
top: -2px;
top: 1px;
}
}
}
@ -197,7 +197,7 @@
margin-right: 10px;
> .@{steps-prefix-cls}-icon.anticon {
.iconfont-size-under-12px(9px);
top: -1px;
top: 1px;
}
}
.@{steps-prefix-cls}-main {

2
style/components/table.less

@ -28,7 +28,7 @@
.anticon-bars {
margin-left: 4px;
position: relative;
top: -1px;
top: 1px;
.iconfont-size-under-12px(10px);
cursor: pointer;
color: #aaa;

2
style/components/tabs.less

@ -177,7 +177,7 @@
width: 14px;
height: 14px;
margin-right: 8px;
top: -1px;
top: 1px;
}
}

2
style/components/tag.less

@ -33,7 +33,7 @@
font-weight: bold;
margin-left: 3px;
position: relative;
top: -1px;
top: 1px;
color: #666;
transition: all 0.3s ease;
opacity: 0.66;

1
style/core/iconfont.less

@ -92,6 +92,7 @@
.@{iconfont-css-prefix}-desktop:before {content:"\e662";}
.@{iconfont-css-prefix}-edit:before {content:"\e668";}
.@{iconfont-css-prefix}-ellipsis:before {content:"\e667";}
.@{iconfont-css-prefix}-upload:before {content:"\e663";}
.@{iconfont-css-prefix}-upload-line:before {content:"\e663";}
.@{iconfont-css-prefix}-download-line:before {content:"\e664";}
.@{iconfont-css-prefix}-delete:before {content:"\e661";}

4
style/mixins/button.less

@ -93,7 +93,7 @@
> .@{iconfont-css-prefix} {
line-height: 1;
position: relative;
top: -1px;
top: 1px;
}
&,
@ -168,7 +168,7 @@
.button-size(0; @font-size-base + 2; 50%);
> .@{iconfont-css-prefix} {
top: -1px;
top: 1px;
}
&.@{btnClassName}-lg {

Loading…
Cancel
Save