collapser.css 696 B

12345678910111213141516171819202122232425
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. .jp-Collapser {
  6. flex: 0 0 var(--jp-cell-collapser-width);
  7. padding: 0px;
  8. margin: 0px;
  9. border: none;
  10. outline: none;
  11. background: transparent;
  12. border-radius: var(--jp-border-radius);
  13. opacity: 1;
  14. }
  15. .jp-Collapser-child {
  16. display: block;
  17. width: 100%;
  18. box-sizing: border-box;
  19. /* height: 100% doesn't work because the height of its parent is computed from content */
  20. position: absolute;
  21. top: 0px;
  22. bottom: 0px;
  23. }