_settings.scss 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ////////////////////////
  2. // Settings //
  3. ////////////////////////
  4. // overlay
  5. $mfp-overlay-color: $black; // Color of overlay screen
  6. $mfp-overlay-opacity: 0.8; // Opacity of overlay screen
  7. $mfp-shadow: 0 0 8px rgba(0, 0, 0, 0.6); // Shadow on image or iframe
  8. // spacing
  9. $mfp-popup-padding-left: 8px; // Padding from left and from right side
  10. $mfp-popup-padding-left-mobile: 6px; // Same as above, but is applied when width of window is less than 800px
  11. $mfp-z-index-base: 1040; // Base z-index of popup
  12. // controls
  13. $mfp-include-arrows: true; // Include styles for nav arrows
  14. $mfp-controls-opacity: 1; // Opacity of controls
  15. $mfp-controls-color: $white; // Color of controls
  16. $mfp-controls-border-color: $white; // Border color of controls
  17. $mfp-inner-close-icon-color: $white; // Color of close button when inside
  18. $mfp-controls-text-color: #CCC; // Color of preloader and "1 of X" indicator
  19. $mfp-controls-text-color-hover: $white; // Hover color of preloader and "1 of X" indicator
  20. $mfp-IE7support: true; // Very basic IE7 support
  21. // Iframe-type options
  22. $mfp-include-iframe-type: true; // Enable Iframe-type popups
  23. $mfp-iframe-padding-top: 40px; // Iframe padding top
  24. $mfp-iframe-background: #000; // Background color of iframes
  25. $mfp-iframe-max-width: 900px; // Maximum width of iframes
  26. $mfp-iframe-ratio: 9/16; // Ratio of iframe (9/16 = widescreen, 3/4 = standard, etc.)
  27. // Image-type options
  28. $mfp-include-image-type: true; // Enable Image-type popups
  29. $mfp-image-background: #444 !default;
  30. $mfp-image-padding-top: 40px; // Image padding top
  31. $mfp-image-padding-bottom: 40px; // Image padding bottom
  32. $mfp-include-mobile-layout-for-image: true; // Removes paddings from top and bottom
  33. // Image caption options
  34. $mfp-caption-title-color: #F3F3F3; // Caption title color
  35. $mfp-caption-subtitle-color: #BDBDBD; // Caption subtitle color
  36. .mfp-counter { font-family: $alt-font; } // Caption font family
  37. // A11y
  38. $mfp-use-visuallyhidden: false;