index.css 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) 2014-2016, Jupyter Development Team.
  3. |
  4. | Distributed under the terms of the Modified BSD License.
  5. |----------------------------------------------------------------------------*/
  6. :root {
  7. --jp-private-completer-code-font-size: 14px;
  8. --jp-private-completer-item-height: 24px;
  9. }
  10. .jp-Completer {
  11. background: var(--jp-layout-color1);
  12. color: var(--jp-content-font-color1);
  13. border: var(--jp-border-width) solid var(--jp-border-color1);
  14. box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
  15. list-style-type: none;
  16. overflow: auto;
  17. padding: 0;
  18. margin: 4px 0 0 -4px;
  19. max-height: calc((10 * var(--jp-private-completer-item-height)) + (2 * var(--jp-border-width)));
  20. min-height: calc(var(--jp-private-completer-item-height) + (2 * var(--jp-border-width)));
  21. z-index: 10001;
  22. }
  23. .jp-Completer-item {
  24. margin: 0;
  25. min-width: 150px;
  26. padding: 0 2px;
  27. }
  28. .jp-Completer-item:hover, .jp-Completer-item.jp-mod-active {
  29. background: var(--jp-layout-color2);
  30. }
  31. .jp-Completer-item code {
  32. font-size: var(--jp-private-completer-code-font-size);
  33. height: var(--jp-private-completer-item-height);
  34. padding: 0;
  35. margin: 0;
  36. }
  37. .jp-Completer-item mark {
  38. font-weight: bold;
  39. background: inherit;
  40. color: inherit;
  41. }