Sha256: bdb74ee45bada756fb1cc316fd7eb693e66fe84c31a8084b7b4786f630807a9d

Contents?: true

Size: 766 Bytes

Versions: 9

Compression:

Stored size: 766 Bytes

Contents

// Fix z-index of Magnific Popup lightboxes so that they appear above Bootstrap modals

$mfp-z-index-base: 1140;

.mfp-bg { z-index: $mfp-z-index-base + 2; }
.mfp-wrap { z-index: $mfp-z-index-base + 3; }
.mfp-content { z-index: $mfp-z-index-base + 5; }
.mfp-preloader { z-index: $mfp-z-index-base + 4; }

button.mfp-close,
button.mfp-arrow {
  z-index: $mfp-z-index-base + 6;
}


// Smooth transition of lightbox background

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;

  backface-visibility: hidden;
	transition: all 150ms ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
	opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
	opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trestle-0.9.8 frontend/css/components/_magnific-popup.scss
trestle-0.9.7 frontend/css/components/_magnific-popup.scss
trestle-0.9.6 frontend/css/components/_magnific-popup.scss
trestle-0.9.5 frontend/css/components/_magnific-popup.scss
trestle-0.9.4 frontend/css/components/_magnific-popup.scss
trestle-0.9.3 frontend/css/components/_magnific-popup.scss
trestle-0.9.2 frontend/css/components/_magnific-popup.scss
trestle-0.9.1 frontend/css/components/_magnific-popup.scss
trestle-0.9.0 frontend/css/components/_magnific-popup.scss