提交 b48e54cd 编写于 作者: A afc163

update iconfont and adjust some icon size

上级 cd4d9826
......@@ -55,7 +55,7 @@
}
&-close-icon, &-with-description-close-icon {
.iconfont-size-under-12px(10px);
font-size: 12px;
position: absolute;
right: 8px;
top: 50%;
......@@ -107,7 +107,7 @@
top: 17px;
right: 16px;
cursor: pointer;
.iconfont-size-under-12px(10px);
font-size: 12px;
}
&-message {
......
......@@ -54,13 +54,13 @@
text-rendering: auto;
width: 12px;
height: 12px;
.iconfont-size-under-12px(10px);
font-size: 14px;
line-height: 12px;
top: 18px;
right: 18px;
&:before {
content:"\e61e";
content: "\e61e";
display: block;
font-family: "anticon" !important;
}
......
......@@ -70,10 +70,10 @@
}
&-close-x:after {
font-size: 12px;
content: "\e61e";
font-family: "anticon";
cursor: pointer;
.iconfont-size-under-12px(10px);
}
&-close {
......
......@@ -11,7 +11,7 @@
.selected_icon() {
position: relative;
&:after {
.iconfont-size-under-12px(9px);
.iconfont-size-under-12px(10px);
display: inline-block;
content: '\e613';
font-family: 'anticon';
......@@ -267,18 +267,7 @@
.@{select-prefix-cls}-selection--single + .@{select-prefix-cls}-dropdown {
.@{select-prefix-cls}-dropdown-menu-item-selected {
background-color: tint(@primary-color, 90%);
position: relative;
&:after {
content: '\e613';
font-family: 'anticon';
.iconfont-size-under-12px(8px);
font-weight: bold;
position: absolute;
top: 6px;
right: 16px;
color: @primary-color;
background-color: tint(@primary-color, 90%);
}
.selected_icon();
}
}
.@{select-prefix-cls}-selection--multiple + .@{select-prefix-cls}-dropdown {
......
......@@ -20,7 +20,7 @@
color:#fff;
font-size: 12px;
position: absolute;
left:24px;
left: 24px;
}
&:after{
......
......@@ -42,16 +42,11 @@
.ant-dropdown-menu-item {
overflow: hidden;
padding: 7px 8px;
position: relative;
&.ant-dropdown-menu-item-selected {
.selected_icon();
}
&.ant-dropdown-menu-item-selected:after {
content: '\e613';
font-family: 'anticon';
font-weight: bold;
position: absolute;
top: 6px;
color: @primary-color;
.iconfont-size-under-12px(10px);
right: 8px;
padding-right: 8px;
}
}
}
......
......@@ -28,7 +28,7 @@
}
.anticon-cross {
.iconfont-size-under-12px(7px);
.iconfont-size-under-12px(10px);
cursor: pointer;
font-weight: bold;
margin-left: 3px;
......
......@@ -60,14 +60,14 @@
overflow: hidden;
.anticon {
margin-top: -2px;
.iconfont-size-under-12px(10px);
&.anticon-cross {
cursor: pointer;
color: #999;
&:hover {
color: #666;
}
}
font-size: 12px;
&.anticon-cross {
cursor: pointer;
color: #999;
&:hover {
color: #666;
}
}
}
}
.@{upload-prefix-cls}-item-name {
......
......@@ -20,7 +20,7 @@
// ICONFONT
@iconfont-css-prefix : anticon;
@icon-url : "//at.alicdn.com/t/font_1437110976_60069";
@icon-url : "//at.alicdn.com/t/font_1440074043_6914854";
// LINK
@link-color : #2db7f5;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册