You are here

blazy.blazybox.css in Blazy 8.2

Same filename and directory in other branches
  1. 7 css/components/blazy.blazybox.css

Provides fullscreen video view.

File

css/components/blazy.blazybox.css
View source
  1. /**
  2. * @file
  3. * Provides fullscreen video view.
  4. */
  5. .is-blazybox--open {
  6. overflow: hidden;
  7. }
  8. .blazybox,
  9. .blazybox__close {
  10. background: #000;
  11. background: rgba(0, 0, 0, .9);
  12. position: fixed;
  13. }
  14. .blazybox {
  15. bottom: 0;
  16. left: 0;
  17. right: 0;
  18. top: 0;
  19. width: 100%;
  20. height: 100%;
  21. z-index: -1;
  22. }
  23. .is-blazybox--open .blazybox {
  24. z-index: 1001;
  25. }
  26. .blazybox__close {
  27. box-sizing: border-box;
  28. border: 1px solid rgba(255, 255, 255, .8);
  29. border-top: 0;
  30. color: #fff;
  31. display: block;
  32. cursor: pointer;
  33. font-size: 22px;
  34. left: 50%;
  35. top: 0;
  36. transform: translateX(-50%);
  37. width: 42px;
  38. height: 42px;
  39. z-index: 1002;
  40. }
  41. .blazybox iframe,
  42. .blazybox .media--fullscreen {
  43. height: 100vh;
  44. width: 100%;
  45. }