index.css 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*-----------------------------------------------------------------------------
  2. | Copyright (c) Jupyter Development Team.
  3. | Distributed under the terms of the Modified BSD License.
  4. |----------------------------------------------------------------------------*/
  5. :root {
  6. --jp-private-console-cell-padding: 5px;
  7. }
  8. .jp-ChatboxPanel {
  9. display: flex;
  10. flex: 1 1 auto;
  11. flex-direction: column;
  12. border-top: var(--jp-border-width) solid var(--jp-border-color1);
  13. margin-top: -1px;
  14. }
  15. .jp-ChatboxPanel .jp-ChatboxDocumentInfo {
  16. display: flex;
  17. padding: 5px;
  18. }
  19. .jp-ChatboxPanel .jp-ChatboxDocumentInfo-name {
  20. margin-left: 10px;
  21. flex-grow: 1;
  22. }
  23. .jp-Chatbox {
  24. height: 100%;
  25. padding: 0;
  26. display: flex;
  27. flex-direction: column;
  28. }
  29. .jp-Chatbox-content {
  30. background-color: var(--jp-layout-color2);
  31. flex: 1 1 auto;
  32. overflow: auto;
  33. }
  34. .jp-Chatbox-input {
  35. max-height: 80%;
  36. flex: 0 0 auto;
  37. overflow: auto;
  38. border-top: var(--jp-border-width) solid var(--jp-border-color1);
  39. }
  40. /**
  41. * No reason to include space for the In/Out prompt here.
  42. */
  43. .jp-Chatbox .jp-InputPrompt {
  44. display: none;
  45. }
  46. .jp-Chatbox-content .jp-Cell {
  47. margin: 5px;
  48. background-color: var(--jp-layout-color1);
  49. border-radius: 10px;
  50. flex-grow: 1;
  51. }
  52. .jp-Chatbox .jp-ChatEntry .p-Widget {
  53. cursor: move;
  54. }
  55. .jp-Chatbox .jp-ChatEntry {
  56. display: flex;
  57. flex-direction: row;
  58. align-items: center;
  59. padding: 2px;
  60. }
  61. .jp-Chatbox .jp-ChatEntry-badge {
  62. background-color: var(--jp-layout-color1);
  63. border-radius: 10px;
  64. padding: 2px;
  65. min-width: 22px;
  66. }
  67. .jp-Chatbox-content .jp-InputArea {
  68. background: transparent;
  69. border-color: transparent;
  70. }
  71. /* TODO: we should be able to use notebook styles for this */
  72. .jp-Chatbox-input .jp-Chatbox-prompt.jp-Cell {
  73. border-left-width: var(--jp-border-width);
  74. }
  75. .jp-Chatbox-input .jp-Chatbox-prompt .jp-InputArea {
  76. height: 100%;
  77. min-height: 100%;
  78. }