iframe.css 761 B

123456789101112131415161718192021222324
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. /*
  6. When drag events occur, `p-mod-override-cursor` is added to the body.
  7. Because iframes steal all cursor events, the following two rules are necessary
  8. to suppress pointer events while resize drags are occuring. There may be a
  9. better solution to this problem.
  10. */
  11. body.p-mod-override-cursor .jp-IFrameWidget {
  12. position: relative;
  13. }
  14. body.p-mod-override-cursor .jp-IFrameWidget:before {
  15. content: '';
  16. position: absolute;
  17. top: 0;
  18. left: 0;
  19. right: 0;
  20. bottom: 0;
  21. background: transparent;
  22. }