1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /*-----------------------------------------------------------------------------
- | Copyright (c) Jupyter Development Team.
- | Distributed under the terms of the Modified BSD License.
- |----------------------------------------------------------------------------*/
- :root {
- --jp-private-console-cell-padding: 5px;
- }
- .jp-ChatboxPanel {
- display: flex;
- flex: 1 1 auto;
- flex-direction: column;
- border-top: var(--jp-border-width) solid var(--jp-border-color1);
- margin-top: -1px;
- }
- .jp-Chatbox {
- height: 100%;
- padding: 0;
- display: flex;
- flex-direction: column;
- }
- .jp-Chatbox-content {
- background-color: var(--jp-layout-color2);
- flex: 1 1 auto;
- overflow: auto;
- }
- .jp-Chatbox-content .jp-Cell.jp-Cell.jp-mod-collapsed.jp-mod-readOnly {
- padding-left: calc(2*var(--jp-private-console-cell-padding))
- }
- .jp-Chatbox-input {
- max-height: 80%;
- flex: 0 0 auto;
- overflow: auto;
- border-top: var(--jp-border-width) solid var(--jp-border-color1);
- padding-top: var(--jp-private-console-cell-padding);
- padding-right: var(--jp-private-console-cell-padding);
- padding-left: var(--jp-private-console-cell-padding);
- /* The weird 8px bottom padding is needed because of the 2px margin in the panel
- that lets the shadow in the dock panel show */
- padding-bottom: 8px;
- }
- .jp-Chatbox-content .jp-InputArea-editor.jp-CellEditor {
- background: transparent;
- border-color: transparent;
- }
- /* TODO: we should be able to use notebook styles for this */
- .jp-Chatbox-input .jp-Chatbox-prompt.jp-Cell {
- background: linear-gradient(to right, #66BB6A -40px, #66BB6A 5px, transparent 5px, transparent 100%);
- border-color: #66BB6A;
- border-left-width: var(--jp-border-width);
- }
- .jp-Chatbox-input .jp-Chatbox-prompt .jp-InputArea {
- height: 100%;
- min-height: 100%;
- }
- .jp-Chatbox-content .jp-Chatbox-banner .jp-Cell-prompt {
- display: none;
- }
|