mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
chore: upgrade to rc-image 5.10.x (#38415)
This commit is contained in:
parent
3d762dbb0a
commit
2c9fbc8f0c
@ -107,10 +107,10 @@
|
|||||||
|
|
||||||
&-operations {
|
&-operations {
|
||||||
.reset-component();
|
.reset-component();
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1;
|
z-index: @zindex-image + 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -124,6 +124,11 @@
|
|||||||
margin-left: @control-padding-horizontal;
|
margin-left: @control-padding-horizontal;
|
||||||
padding: @control-padding-horizontal;
|
padding: @control-padding-horizontal;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: all 0.3s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: fade(@modal-mask-bg, 20%);
|
||||||
|
}
|
||||||
|
|
||||||
&-disabled {
|
&-disabled {
|
||||||
color: @image-preview-operation-disabled-color;
|
color: @image-preview-operation-disabled-color;
|
||||||
@ -148,40 +153,48 @@
|
|||||||
|
|
||||||
&-switch-left,
|
&-switch-left,
|
||||||
&-switch-right {
|
&-switch-right {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
right: 10px;
|
right: 8px;
|
||||||
z-index: 1;
|
z-index: @zindex-image + 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
margin-top: -22px;
|
|
||||||
color: @image-preview-operation-color;
|
color: @image-preview-operation-color;
|
||||||
background: fade(@modal-mask-bg, 10%);
|
background: fade(@modal-mask-bg, 10%);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
transition: all 0.3s;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
|
|
||||||
&-disabled {
|
&:hover {
|
||||||
|
background: fade(@modal-mask-bg, 20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&-disabled,
|
||||||
|
&-disabled:hover {
|
||||||
color: @image-preview-operation-disabled-color;
|
color: @image-preview-operation-disabled-color;
|
||||||
|
background: fade(@modal-mask-bg, 10%);
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
> .@{iconfont-css-prefix} {
|
> .@{iconfont-css-prefix} {
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .@{iconfont-css-prefix} {
|
> .@{iconfont-css-prefix} {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-switch-left {
|
&-switch-left {
|
||||||
left: 10px;
|
left: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-switch-right {
|
&-switch-right {
|
||||||
right: 10px;
|
right: 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -131,7 +131,7 @@
|
|||||||
"rc-drawer": "~6.0.0",
|
"rc-drawer": "~6.0.0",
|
||||||
"rc-dropdown": "~4.0.0",
|
"rc-dropdown": "~4.0.0",
|
||||||
"rc-field-form": "~1.27.0",
|
"rc-field-form": "~1.27.0",
|
||||||
"rc-image": "~5.9.0",
|
"rc-image": "~5.10.0",
|
||||||
"rc-input": "~0.1.4",
|
"rc-input": "~0.1.4",
|
||||||
"rc-input-number": "~7.3.9",
|
"rc-input-number": "~7.3.9",
|
||||||
"rc-mentions": "~1.10.0",
|
"rc-mentions": "~1.10.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user