base.css 876 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-PDFContainer iframe {
  6. position: absolute;
  7. z-index: 0;
  8. top: 0;
  9. right: 0;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .jp-OutputArea .jp-PDFContainer {
  14. min-height: 512px;
  15. }
  16. /*
  17. When drag events occur, `p-mod-override-cursor` is added to the body.
  18. This reuses the same CSS selector logic as jp-IFrame to prevent embedded
  19. PDFs from swallowing cursor events.
  20. */
  21. body.lm-mod-override-cursor .jp-PDFContainer {
  22. position: relative;
  23. }
  24. body.lm-mod-override-cursor .jp-PDFContainer:before {
  25. content: '';
  26. position: absolute;
  27. z-index: 10;
  28. top: 0;
  29. left: 0;
  30. right: 0;
  31. bottom: 0;
  32. background: transparent;
  33. }