toolbar.css 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. /*-----------------------------------------------------------------------------
  6. | Variables
  7. |----------------------------------------------------------------------------*/
  8. :root {
  9. --jp-notebook-toolbar-padding: 2px 5px 2px 2px;
  10. }
  11. /*-----------------------------------------------------------------------------
  12. /*-----------------------------------------------------------------------------
  13. | Styles
  14. |----------------------------------------------------------------------------*/
  15. .jp-Toolbar.jp-NotebookPanel-toolbar {
  16. align-items: center;
  17. background-color: #f7f9fd;
  18. border: none;
  19. box-shadow: none;
  20. padding: 0 24px;
  21. }
  22. .jp-Toolbar.jp-NotebookPanel-toolbar > .jp-Toolbar-item {
  23. height: auto;
  24. }
  25. .jp-Toolbar-item.jp-Notebook-toolbarCellType .jp-select-wrapper.jp-mod-focused {
  26. border: none;
  27. box-shadow: none;
  28. }
  29. .jp-Notebook-toolbarCellTypeDropdown select {
  30. height: 24px;
  31. font-size: var(--jp-ui-font-size1);
  32. line-height: 14px;
  33. border-radius: 0;
  34. display: block;
  35. }
  36. .jp-Notebook-toolbarCellTypeDropdown span {
  37. top: 5px !important;
  38. }
  39. .jp-Toolbar-responsive-popup {
  40. position: absolute;
  41. height: fit-content;
  42. display: flex;
  43. flex-direction: row;
  44. flex-wrap: wrap;
  45. justify-content: flex-end;
  46. border-bottom: var(--jp-border-width) solid var(--jp-toolbar-border-color);
  47. box-shadow: var(--jp-toolbar-box-shadow);
  48. background: var(--jp-toolbar-background);
  49. min-height: var(--jp-toolbar-micro-height);
  50. padding: var(--jp-notebook-toolbar-padding);
  51. z-index: 1;
  52. right: 0px;
  53. top: 0px;
  54. }
  55. .jp-Toolbar > .jp-Toolbar-responsive-opener {
  56. margin-left: auto;
  57. }