Skip to content

Commit

Permalink
Update Magnific Popup 0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
krisxoofoo committed Oct 12, 2013
1 parent 946e03d commit 42cf717
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 30 deletions.
43 changes: 15 additions & 28 deletions css/magnific-popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
text-align: left;
z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
width: 100%;
cursor: auto; }

Expand All @@ -72,10 +71,7 @@
.mfp-auto-cursor .mfp-content {
cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none; }
Expand Down Expand Up @@ -114,6 +110,7 @@ button.mfp-close, button.mfp-arrow {
border: 0;
-webkit-appearance: none;
display: block;
outline: none;
padding: 0;
z-index: 1046;
-webkit-box-shadow: none;
Expand Down Expand Up @@ -145,8 +142,7 @@ button::-moz-focus-inner {
.mfp-close-btn-in .mfp-close {
color: #333333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
color: white;
right: -6px;
text-align: right;
Expand Down Expand Up @@ -175,9 +171,7 @@ button::-moz-focus-inner {
margin-top: -54px; }
.mfp-arrow:hover, .mfp-arrow:focus {
opacity: 1; }
.mfp-arrow:before, .mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
content: '';
display: block;
width: 0;
Expand All @@ -188,35 +182,29 @@ button::-moz-focus-inner {
margin-top: 35px;
margin-left: 35px;
border: medium inset transparent; }
.mfp-arrow:after,
.mfp-arrow .mfp-a {
.mfp-arrow:after, .mfp-arrow .mfp-a {
border-top-width: 13px;
border-bottom-width: 13px;
top: 8px; }
.mfp-arrow:before,
.mfp-arrow .mfp-b {
.mfp-arrow:before, .mfp-arrow .mfp-b {
border-top-width: 21px;
border-bottom-width: 21px; }

.mfp-arrow-left {
left: 0; }
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
border-right: 17px solid white;
margin-left: 31px; }
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
margin-left: 25px;
border-right: 27px solid #3f3f3f; }

.mfp-arrow-right {
right: 0; }
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
border-left: 17px solid white;
margin-left: 39px; }
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
border-left: 27px solid #3f3f3f; }

.mfp-iframe-holder {
Expand Down Expand Up @@ -302,8 +290,8 @@ img.mfp-img {

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
/**
* Remove all paddings around the image on small screen
*/
* Remove all paddings around the image on small screen
*/
.mfp-img-mobile .mfp-image-holder {
padding-left: 0;
padding-right: 0; }
Expand Down Expand Up @@ -342,22 +330,21 @@ img.mfp-img {
position: fixed;
text-align: center;
padding: 0; } }

@media all and (max-width: 900px) {
.mfp-arrow {
-webkit-transform: scale(0.75);
transform: scale(0.75); }

.mfp-arrow-left {
-webkit-transform-origin: 0;
transform-origin: 0; }

.mfp-arrow-right {
-webkit-transform-origin: 100%;
transform-origin: 100%; }

.mfp-container {
padding-left: 6px;
padding-right: 6px; } }

.mfp-ie7 .mfp-img {
padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
Expand Down
Loading

0 comments on commit 42cf717

Please sign in to comment.