提交 c5285270 编写于 作者: 左宜 提交者: zinkey

iconfont引用位置偏移调整

上级 100dc189
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
&-icon { &-icon {
margin-right: 8px; margin-right: 8px;
font-size: 14px; font-size: 14px;
top: 2px;
} }
&-description { &-description {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
.anticon { .anticon {
position: relative; position: relative;
top: -1px; top: 1px;
} }
.anticon + span { .anticon + span {
......
...@@ -27,7 +27,7 @@ ...@@ -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 {
......
...@@ -243,7 +243,7 @@ ...@@ -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;
} }
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
.anticon { .anticon {
width: 14px; width: 14px;
margin-right: 8px; margin-right: 8px;
top: -1px; top: 1px;
color: #999; color: #999;
} }
} }
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
.anticon { .anticon {
width: 14px; width: 14px;
margin-right: 8px; margin-right: 8px;
top: -1px; top: 1px;
} }
} }
......
...@@ -275,8 +275,10 @@ ...@@ -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 {
......
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
&.anticon { &.anticon {
font-size: 12px; font-size: 12px;
position: relative; position: relative;
top: -2px; top: 1px;
} }
} }
} }
...@@ -197,7 +197,7 @@ ...@@ -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 {
......
...@@ -28,7 +28,7 @@ ...@@ -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;
......
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
width: 14px; width: 14px;
height: 14px; height: 14px;
margin-right: 8px; margin-right: 8px;
top: -1px; top: 1px;
} }
} }
......
...@@ -33,7 +33,7 @@ ...@@ -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;
......
...@@ -92,6 +92,7 @@ ...@@ -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";}
......
...@@ -93,7 +93,7 @@ ...@@ -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 @@ ...@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册