base.css 959 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. /* Document styles */
  6. .jp-HTMLViewer {
  7. overflow: hidden;
  8. }
  9. .jp-HTMLViewer {
  10. min-width: 100px;
  11. min-height: 100px;
  12. width: 100%;
  13. height: 100%;
  14. }
  15. .jp-HTMLViewer > iframe {
  16. border: none;
  17. }
  18. /*
  19. When drag events occur, `p-mod-override-cursor` is added to the body.
  20. Because iframes steal all cursor events, the following two rules are necessary
  21. to suppress pointer events while resize drags are occurring. There may be a
  22. better solution to this problem.
  23. */
  24. body.lm-mod-override-cursor .jp-HTMLViewer {
  25. position: relative;
  26. }
  27. body.lm-mod-override-cursor .jp-HTMLViewer:before {
  28. content: '';
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. right: 0;
  33. bottom: 0;
  34. background: transparent;
  35. }