提交 819bd7d2 编写于 作者: A afc163

fix iconfont style

上级 b4a3853c
......@@ -19,6 +19,5 @@ ReactDOM.render(<div>
<style>
.code-box-demo .ant-slider {
margin-bottom: 50px;
margin-left: 15px;
}
</style>
......@@ -49,15 +49,15 @@ ReactDOM.render(
, document.getElementById('components-slider-demo-icon-slider'));
````
<style>
````css
.iconWrapper {
position: relative;
padding: 0 24px 0 9px;
padding: 0px 30px;
}
.iconWrapper .anticon {
position: absolute;
top: -6px;
top: -3px;
width: 16px;
height: 16px;
line-height: 1;
......@@ -75,4 +75,4 @@ ReactDOM.render(
.anticon.anticon-highlight {
color: #666;
}
</style>
````
......@@ -397,20 +397,18 @@ footer ul li > a {
position: absolute;
top: 11px;
right: 30px;
content: "\e600";
content: "\e602";
font-family: "anticon";
transform: scale(0.6);
font-size: 12px;
color: #5C6B76;
opacity: 0;
-webkit-transform: scale(0.6) rotate(180deg);
transform: scale(0.6) rotate(180deg);
transition: all 0.3s ease;
}
.aside-container li[open=open] h4:after {
-webkit-transform: scale(0.6) rotate(0deg);
transform: scale(0.6) rotate(0deg);
-webkit-transform: scale(0.6) rotate(180deg);
transform: scale(0.6) rotate(180deg);
}
.aside-container li:hover h4:after {
......@@ -1678,7 +1676,7 @@ footer ul li > a {
margin-left: 5px;
opacity: 0.8;
transition: all 0.3s ease;
top: -3px;
top: -1px;
position: relative;
}
......@@ -1770,7 +1768,7 @@ footer ul li > a {
.code-box-title:before {
font-family: anticon;
content: "\e665";
content: "\e658";
font-size: 16px;
vertical-align: middle;
line-height: 22px;
......@@ -1877,7 +1875,7 @@ a.entry-link .anticon-smile {
-webkit-animation: rotateCircleBack 0.6s 1 ease-in-out;
animation: rotateCircleBack 0.6s 1 ease-in-out;
position: relative;
top: -1px;
top: 1px;
line-height: 1;
width: 16px;
}
......
......@@ -99,7 +99,7 @@
position: absolute;
top: 50%;
left: 24px;
margin-top: -22px;
margin-top: -15px;
font-size: 29px;
}
......
......@@ -35,6 +35,7 @@
color: #666;
display: inline-block;
margin-right: 8px;
line-height: 38px;
content: "\e611";
vertical-align: middle;
transition: transform 0.24s ease;
......
......@@ -248,10 +248,10 @@
}
.@{calendar-prefix-cls}-clear-btn:after {
content: "\e632";
content: "\e631";
font-family: "anticon";
font-size: 12px;
color: #aaa;
color: #ccc;
display: inline-block;
line-height: 1;
width: 20px;
......@@ -260,7 +260,7 @@
}
.@{calendar-prefix-cls}-clear-btn:hover:after {
color: #666;
color: #999;
}
.@{calendar-prefix-cls}-ok-btn {
......
......@@ -159,7 +159,7 @@
.anticon {
width: 14px;
margin-right: 8px;
top: -1px;
top: 1px;
color: #999;
}
}
......@@ -262,7 +262,7 @@
.anticon {
width: 14px;
margin-right: 8px;
top: -1px;
top: 1px;
}
}
......@@ -386,4 +386,4 @@
border-right: 0px;
}
}
}
\ No newline at end of file
}
......@@ -51,7 +51,7 @@
position: absolute;
left: 16px;
top: 50%;
margin-top: -26px;
margin-top: -17px;
font-size: 35px;
&-success {
......
......@@ -35,7 +35,6 @@
left: 0;
z-index: 1080;
cursor: auto;
-moz-user-select: text;
user-select: text;
white-space: normal;
font-size: @font-size-base;
......@@ -106,7 +105,7 @@
margin-right: 8px;
color: @error-color;
position: relative;
top: -1px;
top: 1px;
}
}
......
......@@ -202,7 +202,7 @@
.anticon {
margin-right: 4px;
position: relative;
top: -1px;
top: 1px;
}
}
}
......
......@@ -53,7 +53,7 @@
user-select: none;
z-index: 2;
margin-right: -2px;
margin-top: 1px;
margin-top: 3px;
width: 32px;
height: 100%;
line-height: 32px;
......
......@@ -46,7 +46,7 @@
p.@{upload-prefix-cls}-drag-icon {
.anticon {
font-size: 80px;
margin-top: -30px;
margin-top: -5px;
color: tint(@primary-color, 20%);
}
height: 60px;
......@@ -88,7 +88,7 @@
margin-right: 4px;
font-size: 12px;
color: #999;
top:2px;
top: 2px;
}
.anticon-cross {
.iconfont-size-under-12px(10px);
......
......@@ -91,8 +91,9 @@
.@{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}-download-line:before {content:"\e664";}
.@{iconfont-css-prefix}-upload:before {content:"\e664";}
.@{iconfont-css-prefix}-download:before {content:"\e663";}
.@{iconfont-css-prefix}-download-line:before {content:"\e663";} // 兼容老版本
.@{iconfont-css-prefix}-delete:before {content:"\e661";}
.@{iconfont-css-prefix}-copy:before {content:"\e660";}
.@{iconfont-css-prefix}-customerservice:before {content:"\e65e";}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册