|
.mk-image-preview {
|
pointer-events: none;
|
height: 100%;
|
text-align: center;
|
}
|
.mk-image-preview.zoom-enter,
|
.mk-image-preview.zoom-appear {
|
-webkit-transform: none;
|
transform: none;
|
opacity: 0;
|
-webkit-animation-duration: 0.3s;
|
animation-duration: 0.3s;
|
-webkit-user-select: none;
|
-moz-user-select: none;
|
-ms-user-select: none;
|
user-select: none;
|
}
|
.mk-image-preview-mask {
|
position: fixed;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
z-index: 1100;
|
height: 100%;
|
background-color: rgba(0, 0, 0, 0.65);
|
}
|
.mk-image-preview-mask-hidden {
|
display: none;
|
}
|
.mk-image-preview-wrap {
|
position: fixed;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
overflow: auto;
|
outline: 0;
|
-webkit-overflow-scrolling: touch;
|
}
|
.mk-image-preview-body {
|
position: absolute;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
overflow: hidden;
|
}
|
.mk-image-preview-img {
|
max-width: 95%;
|
max-height: 95%;
|
vertical-align: middle;
|
-webkit-transform: scale3d(1, 1, 1);
|
transform: scale3d(1, 1, 1);
|
cursor: -webkit-grab;
|
cursor: grab;
|
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
-webkit-user-select: none;
|
-moz-user-select: none;
|
-ms-user-select: none;
|
user-select: none;
|
pointer-events: auto;
|
}
|
.mk-image-preview-img-wrapper {
|
position: absolute;
|
top: 0;
|
right: 0;
|
bottom: 0;
|
left: 0;
|
-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
|
}
|
.mk-image-preview-img-wrapper::before {
|
display: inline-block;
|
width: 1px;
|
height: 50%;
|
margin-right: -1px;
|
content: '';
|
}
|
.mk-image-preview-moving .mk-image-preview-img {
|
cursor: -webkit-grabbing;
|
cursor: grabbing;
|
}
|
.mk-image-preview-moving .mk-image-preview-img-wrapper {
|
-webkit-transition-duration: 0s;
|
transition-duration: 0s;
|
}
|
.mk-image-preview-wrap {
|
z-index: 1180;
|
}
|
.mk-image-preview-operations {
|
-webkit-box-sizing: border-box;
|
box-sizing: border-box;
|
margin: 0;
|
padding: 0;
|
color: rgba(0, 0, 0, 0.85);
|
font-size: 14px;
|
font-variant: tabular-nums;
|
line-height: 1.5715;
|
-webkit-font-feature-settings: 'tnum';
|
font-feature-settings: 'tnum';
|
position: absolute;
|
top: 0;
|
right: 0;
|
z-index: 1;
|
display: -webkit-box;
|
display: -ms-flexbox;
|
display: flex;
|
-webkit-box-orient: horizontal;
|
-webkit-box-direction: reverse;
|
-ms-flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
-webkit-box-align: center;
|
-ms-flex-align: center;
|
align-items: center;
|
width: 100%;
|
color: rgba(255, 255, 255, 0.85);
|
list-style: none;
|
background: rgba(0, 0, 0, 0.5);
|
pointer-events: auto;
|
}
|
.mk-image-preview-operations-operation {
|
margin-left: 12px;
|
padding: 10px 12px;
|
cursor: pointer;
|
font-size: 1.5vw;
|
}
|
.mk-image-preview-operations-operation-disabled {
|
color: rgba(255, 255, 255, 0.25);
|
pointer-events: none;
|
}
|
.mk-image-preview-operations-operation:last-of-type {
|
margin-left: 0;
|
}
|
.mk-image-preview-switch-left,
|
.mk-image-preview-switch-right {
|
font-size: 20px;
|
position: absolute;
|
top: 50%;
|
right: 10px;
|
z-index: 1;
|
display: -webkit-box;
|
display: -ms-flexbox;
|
display: flex;
|
-webkit-box-align: center;
|
-ms-flex-align: center;
|
align-items: center;
|
-webkit-box-pack: center;
|
-ms-flex-pack: center;
|
justify-content: center;
|
width: 44px;
|
height: 44px;
|
margin-top: -22px;
|
color: rgba(255, 255, 255, 0.85);
|
background: rgba(0, 0, 0, 0.1);
|
border-radius: 50%;
|
cursor: pointer;
|
pointer-events: auto;
|
}
|
|
.mk-image-preview-switch-left {
|
left: 10px;
|
}
|
.mk-image-preview-switch-right {
|
right: 10px;
|
}
|
|
.mk-drawer.mk-drawer-open .mk-drawer-mask {
|
height: 100%;
|
opacity: 1;
|
transition: none;
|
-webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
pointer-events: auto;
|
}
|
.mk-preview {
|
z-index: 1100;
|
opacity: 0;
|
}
|
.mk-preview.close {
|
display: none;
|
}
|
.mk-preview.open {
|
opacity: 1;
|
}
|
|
.mk-preview.opening {
|
transition: none;
|
-webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
pointer-events: auto;
|
}
|
.mk-preview.closeing {
|
opacity: 1;
|
transition: none;
|
-webkit-animation: antdDrawerFadeOut 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
animation: antdDrawerFadeOut 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
|
pointer-events: auto;
|
}
|
|
@-webkit-keyframes antdDrawerFadeIn {
|
0% {
|
opacity: 0;
|
}
|
100% {
|
opacity: 1;
|
}
|
}
|
@keyframes antdDrawerFadeIn {
|
0% {
|
opacity: 0;
|
}
|
100% {
|
opacity: 1;
|
}
|
}
|
@-webkit-keyframes antdDrawerFadeOut {
|
0% {
|
opacity: 1;
|
}
|
100% {
|
opacity: 0;
|
}
|
}
|
@keyframes antdDrawerFadeOut {
|
0% {
|
opacity: 1;
|
}
|
100% {
|
opacity: 0;
|
}
|
}
|