vnote/src/data/extra/web/css/imageviewer.css
2020-12-31 19:53:28 +08:00

62 lines
1.1 KiB
CSS

.vx-image-view-image {
transition: 0.3s;
}
.vx-modal-box {
display: none;
position: fixed;
z-index: 1000;
padding-top: 50px;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
background-color: rgba(51, 56, 66, 0.85);
}
.vx-modal-content {
margin: auto;
display: block;
width: auto;
height: auto;
cursor: move;
}
/* Add Animation */
.vx-modal-content {
-webkit-animation-name: zoom;
-webkit-animation-duration: 0.6s;
animation-name: zoom;
animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
from {-webkit-transform:scale(0)}
to {-webkit-transform:scale(1)}
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
span.vx-modal-close {
position: absolute;
z-index: 1000;
top: 15px;
right: 35px;
color: #abb2bf;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
span.vx-modal-close:hover,
span.vx-modal-close:focus {
color: #d7dae0;
text-decoration: none;
cursor: pointer;
}