mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 22:09:52 +08:00
63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
.view-image,.view-svg {
|
|
transition: 0.3s;
|
|
}
|
|
|
|
.modal-box {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1000;
|
|
padding-top: 50px;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: rgb(68, 68, 68);
|
|
background-color: rgba(68, 68, 68, 0.95);
|
|
}
|
|
|
|
.modal-content {
|
|
margin: auto;
|
|
display: block;
|
|
width: auto;
|
|
height: auto;
|
|
cursor: move;
|
|
}
|
|
|
|
/* Add Animation */
|
|
.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.modal-close {
|
|
position: absolute;
|
|
z-index: 1000;
|
|
top: 15px;
|
|
right: 35px;
|
|
color: #DADADA;
|
|
font-size: 40px;
|
|
font-weight: bold;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
span.modal-close:hover,
|
|
span.modal-close:focus {
|
|
color: #EEEEEE;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|