提交 100dc189 编写于 作者: 左宜 提交者: zinkey

替换rotate content部分

上级 c3681cf9
......@@ -70,7 +70,10 @@
.@{calendar-prefix-cls}-decade-panel-last-century-cell {
.@{calendar-prefix-cls}-decade-panel-decade {
transform: rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.@{calendar-prefix-cls}-decade-panel-decade:before {
content: "\e601";
}
}
......@@ -70,7 +70,9 @@
.@{calendar-prefix-cls}-year-panel-last-decade-cell {
.@{calendar-prefix-cls}-year-panel-year {
transform: rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
.@{calendar-prefix-cls}-year-panel-year:before {
content: "\e601";
}
}
......@@ -165,12 +165,9 @@
cursor: pointer;
&-inner {
top: 1px;
.ie-rotate(2);
&:before {
text-align: center;
content: "\e603";
transform: rotate(180deg);
-webkit-transform-origin: 47.5% 51%; /* fix chrome position */
content: "\e602";
}
}
&:hover {
......
......@@ -126,10 +126,9 @@
text-rendering: auto;
position: absolute;
transition: transform .3s ease;
content: "\e603";
content: "\e600";
right: 16px;
.ie-rotate(3);
transform: rotate(270deg) scale(0.75);
transform: scale(0.75);
}
&-inline > .@{menu-prefix-cls}-submenu-title:after {
......@@ -149,8 +148,8 @@
&-open {
&.@{menu-prefix-cls}-submenu-inline > .@{menu-prefix-cls}-submenu-title:after {
.ie-rotate(1);
transform: rotate(180deg) scale(0.75);
content: "\e602";
transform: scale(0.75);
}
}
}
......
......@@ -74,10 +74,9 @@
}
&-jump-prev {
.cross-rotate(180deg);
&:hover {
&:after {
content: "\e600\e600";
content: "\e601\e601";
}
}
}
......@@ -135,11 +134,10 @@
}
&-prev {
.cross-rotate(180deg);
a {
&:after {
margin-top: -.5px;
content: "\e600";
content: "\e601";
display: block;
}
}
......
......@@ -275,10 +275,8 @@
&-open {
.@{select-prefix-cls}-arrow {
.ie-rotate(2);
-ms-transform: rotate(180deg);
&:before {
.rotate(180deg);
content: "\e602";
}
}
.@{select-prefix-cls}-selection {
......
......@@ -104,11 +104,10 @@
&-tab-prev {
left: 0;
&-icon {
transform: rotate(180deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}
&-icon:before {
content: "\e600";
content: "\e601";
}
:root & {
......
......@@ -90,9 +90,9 @@
&.@{tree-prefix-cls}-bottom_close,
&.@{tree-prefix-cls}-noline_close {
.antTreeSwitcherIcon();
.ie-rotate(3);
&:after {
transform: rotate(270deg) scale(0.5);
content:'\e60a';
transform: scale(0.5);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册