76 lines
1.8 KiB
CSS

.alert-big-picture{
position: fixed;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,.7);
z-index: 99999;
left: 0;
top: 0;
/*display: none;*/
}
.alert-big-picture .swiper-container{
width: 70%;
height: 70%;
position: absolute;
left: 50%;
top: 50%;
margin-bottom: 10%;
-webkit-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
-o-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}
.alert-big-picture .swiper-slide img{
display: block;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
max-width: 98%;
max-height: 98%;
}
.alert-big-picture .swiper-slide{
height: auto;
top: 50%;
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
-ms-transform: translateY(-50%);
-o-transform: translateY(-50%);
transform: translateY(-50%);
}
.alert-big-picture .bottom-group{
width: 70%;
height: 10%;
overflow-x: auto;
overflow-y: hidden;
position: absolute;
left: 50%;
bottom: 0;
white-space: nowrap;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-o-transform: translateX(-50%);
transform: translateX(-50%);
}
.alert-big-picture .bottom-group div{
display: inline-block;
height: 100%;
border: 1px solid transparent;
vertical-align: top;
margin-right: 8px;
}
.alert-big-picture .bottom-group div.ac{
border-color: red;
}
.alert-big-picture .bottom-group img{
display: block;
height: 100%;
}