You are here

blazy.blazybox.css in Blazy 7

Same filename and directory in other branches
  1. 8.2 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. border: 1px solid rgba(255, 255, 255, .8);
  28. border-top: 0;
  29. color: #fff;
  30. display: block;
  31. cursor: pointer;
  32. font-size: 22px;
  33. left: 50%;
  34. top: 0;
  35. transform: translateX(-50%);
  36. width: 42px;
  37. height: 42px;
  38. z-index: 1002;
  39. }
  40. .blazybox iframe,
  41. .blazybox .media--fullscreen {
  42. height: 100vh;
  43. width: 100%;
  44. }