Browse Source

iconfont引用位置偏移调整

pull/520/head
左宜 9 years ago
parent
commit
5b7087ac93
  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 { &-icon {
margin-right: 8px; margin-right: 8px;
font-size: 14px; font-size: 14px;
top: 2px;
} }
&-description { &-description {

2
style/components/breadcrumb.less

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

2
style/components/confirm.less

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

2
style/components/datepicker/Calendar.less

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

4
style/components/menu.less

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

4
style/components/select.less

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

4
style/components/steps.less

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

2
style/components/table.less

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

2
style/components/tabs.less

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

2
style/components/tag.less

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

1
style/core/iconfont.less

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

4
style/mixins/button.less

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

Loading…
Cancel
Save