Update Magnific Popup to version 0.8.9

This commit is contained in:
Michael Rose
2013-06-04 11:19:59 -04:00
parent 34a15e5ea7
commit 94b9385c12
6 changed files with 174 additions and 98 deletions

View File

@@ -56,7 +56,21 @@
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
width: 100%;
cursor: auto; }
cursor: auto;
&:after {
content: '';
display: block;
width: auto;
height: auto;
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: -1;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
}
.mfp-ajax-cur {
cursor: progress; }
@@ -221,22 +235,22 @@ button::-moz-focus-inner {
.border-radius(5px, 5px, 0, 0); }
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
border-right: 12px solid white;
border-right: 12px solid #fff;
left: 5px; }
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
border-right: 20px solid white; }
border-right: 20px solid #fff; }
.mfp-arrow-right {
right: 0;
.border-radius(0, 0, 5px, 5px); }
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
border-left: 12px solid white;
border-left: 12px solid #fff;
left: 3px; }
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
border-left: 20px solid white; }
border-left: 20px solid #fff; }
.mfp-iframe-holder {
padding-top: 40px;
@@ -255,7 +269,8 @@ button::-moz-focus-inner {
.mfp-iframe-scaler iframe {
position: absolute;
top: -3px;
display: block;
top: 0;
left: 0;
width: 100%;
height: 100%;
@@ -263,7 +278,7 @@ button::-moz-focus-inner {
background: black; }
.mfp-iframe-holder .mfp-close {
top: -43px; }
top: -40px; }
/* Main image in popup */
img.mfp-img {