You are here

blazy.colorbox.css in Blazy 7

Provides colorbox integration.

@requires coder shutup Colorbox has no classes, just IDs, so shutup chatty coder.

File

css/components/blazy.colorbox.css
View source
  1. /**
  2. * @file
  3. * Provides colorbox integration.
  4. *
  5. * @requires coder shutup
  6. * Colorbox has no classes, just IDs, so shutup chatty coder.
  7. */
  8. .colorbox-on--media #colorbox,
  9. .colorbox-on--media #colorbox * {
  10. box-sizing: border-box;
  11. max-width: 100%;
  12. }
  13. .colorbox-on--media #cboxBottomCenter,
  14. .colorbox-on--media #cboxBottomRight,
  15. .colorbox-on--media #cboxBottomLeft,
  16. .colorbox-on--media #cboxTopCenter,
  17. .colorbox-on--media #cboxTopRight,
  18. .colorbox-on--media #cboxTopLeft,
  19. .colorbox-on--media #cboxMiddleLeft,
  20. .colorbox-on--media #cboxMiddleRight {
  21. display: none !important;
  22. }
  23. .colorbox-on--media #cboxWrapper,
  24. .colorbox-on--media #cboxContent {
  25. background: none;
  26. border-radius: 0;
  27. }
  28. .colorbox-on--media #cboxWrapper,
  29. .colorbox-on--media #cboxContent,
  30. .colorbox-on--media #cboxLoadedContent {
  31. overflow: visible !important;
  32. }
  33. #cboxLoadedContent.media--ratio {
  34. height: 0 !important;
  35. padding-bottom: 56%;
  36. }
  37. #cboxLoadedContent.media--ratio .cboxIframe {
  38. background-clip: padding-box;
  39. border-radius: 0;
  40. border: 8px solid #37465b;
  41. }