You are here

blazy.colorbox.css in Blazy 8.2

Provides colorbox integration.

@requires coder shutup phpcs:ignoreFile -- Colorbox has no classes, just IDs, with inline styles.

File

css/components/blazy.colorbox.css
View source
  1. /**
  2. * @file
  3. * Provides colorbox integration.
  4. *
  5. * @requires coder shutup
  6. * phpcs:ignoreFile -- Colorbox has no classes, just IDs, with inline styles.
  7. */
  8. /* csslint ignore:start */
  9. .colorbox-on--media #colorbox,
  10. .colorbox-on--media #colorbox * {
  11. box-sizing: border-box;
  12. max-width: 100%;
  13. }
  14. .colorbox-on--media #cboxBottomCenter,
  15. .colorbox-on--media #cboxBottomRight,
  16. .colorbox-on--media #cboxBottomLeft,
  17. .colorbox-on--media #cboxTopCenter,
  18. .colorbox-on--media #cboxTopRight,
  19. .colorbox-on--media #cboxTopLeft,
  20. .colorbox-on--media #cboxMiddleLeft,
  21. .colorbox-on--media #cboxMiddleRight {
  22. display: none !important; /* csslint allow: known-properties, important */
  23. }
  24. .colorbox-on--media #cboxWrapper,
  25. .colorbox-on--media #cboxContent {
  26. background: none;
  27. border-radius: 0;
  28. }
  29. .colorbox-on--media #cboxWrapper,
  30. .colorbox-on--media #cboxContent,
  31. .colorbox-on--media #cboxLoadedContent {
  32. overflow: visible !important; /* csslint allow: known-properties, important */
  33. }
  34. #cboxLoadedContent.media--ratio {
  35. height: 0 !important; /* csslint allow: known-properties, important */
  36. padding-bottom: 56%;
  37. }
  38. #cboxLoadedContent.media--ratio .cboxIframe {
  39. background-clip: padding-box;
  40. border-radius: 0;
  41. border: 8px solid #37465b;
  42. }
  43. #cboxLoadedContent img[srcset],
  44. #cboxLoadedContent picture img {
  45. display: block;
  46. margin: auto;
  47. max-height: 100%;
  48. }
  49. /* csslint ignore:end */