75 lines
1.3 KiB
CSS
75 lines
1.3 KiB
CSS
|
|
.preview {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 99;
|
|
}
|
|
.preview .preview_black{
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #0000008c;
|
|
position: absolute;
|
|
}
|
|
.preview .preview_main{
|
|
position: relative;
|
|
z-index: 999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
}
|
|
.preview_main .show {
|
|
height: 100%;
|
|
}
|
|
.preview_main .closed {
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 10px;
|
|
font-size: 20px;
|
|
color: #fff;
|
|
z-index: 99;
|
|
}
|
|
.preview_main .preview_page i {
|
|
font-size: 30px;
|
|
font-weight: bolder;
|
|
}
|
|
.preview_main .preview_page {
|
|
|
|
color: #fff;
|
|
z-index: 99;
|
|
position: absolute;
|
|
width: 100%;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
box-sizing: border-box;
|
|
}
|
|
.preview_action {
|
|
width: 282px;
|
|
height: 44px;
|
|
padding: 0 23px;
|
|
background-color: #606266;
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 30px;
|
|
transform: translateX(-50%);
|
|
border-color: #fff;
|
|
border-radius: 22px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
color: #fff;
|
|
}
|
|
.preview_action i {
|
|
font-size: 18px;
|
|
}
|
|
.leftx {
|
|
transform: rotateY(180deg);
|
|
} |