92 lines
1.4 KiB
CSS
92 lines
1.4 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.list img {
|
|
width: 100px;
|
|
}
|
|
|
|
.preview {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: 999;
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.preview .zz {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #000000c4;
|
|
z-index: -1;
|
|
position: absolute;
|
|
}
|
|
|
|
.preview .preview_img {
|
|
transition: all 0.5s;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.preview .icon-close {
|
|
position: absolute;
|
|
z-index: 2;
|
|
right: 10px;
|
|
top: 10px;
|
|
color: #fff;
|
|
font-size: 40px;
|
|
}
|
|
|
|
.preview .button {
|
|
position: absolute;
|
|
width: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
z-index: 2;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.preview .button i {
|
|
color: #fff;
|
|
font-size: 25px;
|
|
|
|
}
|
|
|
|
.preview .icon {
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
bottom: 30px;
|
|
padding: 9px 10px;
|
|
background: #716f6fc4;
|
|
border-radius: 25px;
|
|
|
|
}
|
|
|
|
.preview .icon i {
|
|
color: #fff;
|
|
font-size: 22px;
|
|
margin-right: 20px;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
|
|
.preview .icon i:last-child {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.icon .right {
|
|
transform: rotateY(180deg);
|
|
display: inline-block;
|
|
} |