site_oueb_2/wp-content/plugins/ocean-extra/assets/css/lightbox.css

231 lines
5.3 KiB
CSS
Raw Normal View History

2022-11-22 20:23:31 +01:00
/*------------------------------------*
$CHOCOLAT
*------------------------------------*/
.chocolat-zoomable.chocolat-zoomed .chocolat-img {
cursor: zoom-out;
}
.chocolat-open {
overflow: hidden;
}
.chocolat-overlay {
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
z-index: 10;
background-color: #000;
display: none;
opacity: 0.85;
}
.chocolat-wrapper {
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
z-index: 99999;
color: #fff;
}
.chocolat-zoomable .chocolat-img {
cursor: zoom-in;
}
.chocolat-loader{
display:none;
position: absolute;
top: 50%;
left: 50%;
height: 32px;
width: 32px;
margin-left: -16px;
margin-top: -16px;
border-left: 3px solid rgba(255, 255, 255, 0.15);
border-right: 3px solid rgba(255, 255, 255, 0.15);
border-bottom: 3px solid rgba(255, 255, 255, 0.15);
border-top: 3px solid rgba(255, 255, 255, 0.8);
border-radius: 100%;
-webkit-animation: rotation .6s infinite linear;
-moz-animation: rotation .6s infinite linear;
-o-animation: rotation .6s infinite linear;
animation: rotation .6s infinite linear;
z-index: 11;
}
@-webkit-keyframes rotation {
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(359deg);}
}
@-moz-keyframes rotation {
from {-moz-transform: rotate(0deg);}
to {-moz-transform: rotate(359deg);}
}
@-o-keyframes rotation {
from {-o-transform: rotate(0deg);}
to {-o-transform: rotate(359deg);}
}
@keyframes rotation {
from {transform: rotate(0deg);}
to {transform: rotate(359deg);}
}
.chocolat-content {
position: fixed;
width: 0px;
height: 0px;
left: 50%;
top: 50%;
z-index: 14;
text-align: left;
}
.chocolat-content .chocolat-img {
position: absolute;
width: 100%;
height: 100%;
}
.chocolat-wrapper .chocolat-left {
position: absolute;
left: 0;
width: 50px;
height: 100px;
top: 50%;
margin-top: -50px;
cursor: pointer;
background: url(../../themes/oceanwp/assets/img/left.png) 50% 50% no-repeat;
z-index: 17;
display: none;
}
.chocolat-wrapper .chocolat-right {
position: absolute;
right: 0;
width: 50px;
height: 100px;
top: 50%;
margin-top: -50px;
cursor: pointer;
background: url(../../themes/oceanwp/assets/img/right.png) 50% 50% no-repeat;
z-index: 17;
display: none;
}
.chocolat-wrapper .chocolat-right.active {
display: block;
}
.chocolat-wrapper .chocolat-left.active {
display: block;
}
.chocolat-wrapper .chocolat-top {
position: absolute;
top: 0px;
right: 0;
left: 0;
line-height: 50px;
height: 50px;
overflow: hidden;
z-index: 17;
margin-bottom: 10px;
}
.chocolat-wrapper .chocolat-close {
width: 50px;
height: 50px;
cursor: pointer;
position: absolute;
top: 0;
right: 0;
background: url(../../themes/oceanwp/assets/img/close.png) 50% 50% no-repeat;
}
.chocolat-wrapper .chocolat-bottom {
position: absolute;
bottom: 0;
left: 0;
right: 0;
line-height: 40px;
height: 40px;
font-size: 12px;
z-index: 17;
padding-left: 15px;
padding-right: 15px;
background: rgba(0, 0, 0, 0.2);
text-align: right;
margin-top: 10px;
}
.chocolat-wrapper .chocolat-set-title {
display: inline-block;
padding-right: 15px;
line-height: 1;
border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.chocolat-wrapper .chocolat-pagination {
float: right;
display: inline-block;
padding-left: 15px;
padding-right: 15px;
margin-right: 15px;
/*border-right: 1px solid rgba(255, 255, 255, 0.2);*/
}
.chocolat-wrapper .chocolat-fullscreen {
width: 16px;
height: 40px;
background: url(../../themes/oceanwp/assets/img/fullscreen.png) 50% 50% no-repeat;
display: block;
margin: auto;
cursor: pointer;
float: right;
}
.chocolat-wrapper .chocolat-description {
display: inline-block;
float: left;
}
/* no container mode*/
body.chocolat-open > .chocolat-overlay {
z-index: 15;
}
body.chocolat-open > .chocolat-loader {
z-index: 15;
}
body.chocolat-open > .chocolat-content {
z-index: 17;
}
/* container mode*/
.chocolat-in-container .chocolat-wrapper,
.chocolat-in-container .chocolat-content,
.chocolat-in-container .chocolat-overlay {
position: absolute;
}
.chocolat-in-container {
position: relative;
}
/* RTL */
body.rtl .chocolat-overlay { right: 0; left: auto; }
body.rtl .chocolat-wrapper { right: 0; left: auto; }
body.rtl .chocolat-loader { right: 50%; left: auto; margin-right: -16px; margin-left: 0; }
body.rtl .chocolat-content { text-align: right; }
body.rtl .chocolat-wrapper .chocolat-left { right: 0; left: auto; }
body.rtl .chocolat-wrapper .chocolat-right { left: 0; right: auto; }
body.rtl .chocolat-wrapper .chocolat-close { left: 0; right: auto; }
body.rtl .chocolat-wrapper .chocolat-bottom { text-align: left; }
body.rtl .chocolat-wrapper .chocolat-set-title { padding-left: 15px; padding-right: 0; border-left: 1px solid rgba(255, 255, 255, 0.3); border-right: none; }
body.rtl .chocolat-wrapper .chocolat-pagination { float: left; margin-left: 15px; margin-right: 0; }
body.rtl .chocolat-wrapper .chocolat-fullscreen { float: left; }
body.rtl .chocolat-wrapper .chocolat-description { float: right; }