You are here

blazy.filter.css in Blazy 7

Same filename and directory in other branches
  1. 8.2 css/components/blazy.filter.css

Provides integration with core filter module.

This file contains fixes when Blazy put inside core Align/ Caption images filter which may not suit your design needs, adjust it.

File

css/components/blazy.filter.css
View source
  1. /**
  2. * @file
  3. * Provides integration with core filter module.
  4. *
  5. * This file contains fixes when Blazy put inside core Align/ Caption images
  6. * filter which may not suit your design needs, adjust it.
  7. */
  8. .media-wrapper--blazy,
  9. .media-wrapper--blazy * {
  10. box-sizing: border-box;
  11. }
  12. /** Without this, media--ratio will be collapsed. Adjust accordingly. */
  13. .media-wrapper--blazy {
  14. max-width: 100%;
  15. min-width: 50%;
  16. }
  17. /** Blazy is placed after filter Align/ Caption will be collapsed. Adjust it. */
  18. .caption .media-wrapper--blazy,
  19. .align-left .media-wrapper--blazy,
  20. .align-right .media-wrapper--blazy,
  21. .align-center .media-wrapper--blazy {
  22. min-width: 320px;
  23. }
  24. .blazy--filter .media-wrapper--blazy {
  25. min-width: 0;
  26. overflow: hidden;
  27. }