65 lines
1.4 KiB
SCSS
65 lines
1.4 KiB
SCSS
|
|
.ImgDetail-main {
|
|
.ImgDetail-container {
|
|
height: 100vh;
|
|
width: 100%;
|
|
background: rgba(0, 10, 10, 0.5);
|
|
z-index: 9999999;
|
|
overflow: hidden;
|
|
position: fixed;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
left: 0;
|
|
top: 0;
|
|
.ImgDetail-box {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
.left-box {
|
|
border-radius: 50%;
|
|
height: 60px;
|
|
width: 60px;
|
|
background: rgba(0, 10, 10, 0.2);
|
|
position: absolute;
|
|
left: 1vw;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
.right-box {
|
|
height: 60px;
|
|
width: 60px;
|
|
border-radius: 50%;
|
|
background: rgba(0, 10, 10, 0.2);
|
|
position: absolute;
|
|
right: 1vw;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
}
|
|
.img-box{
|
|
height: 80vh;
|
|
width: 80vw;
|
|
img{
|
|
height: 100%;
|
|
width: 100%;
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
.close-btn{
|
|
color: white;
|
|
font-size: 28px;
|
|
position: absolute;
|
|
right: 2vw;
|
|
top: 2vw;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
} |