forked from QuantStack/jupyter-ai-tutor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.css
More file actions
35 lines (29 loc) · 982 Bytes
/
Copy pathbase.css
File metadata and controls
35 lines (29 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
See the JupyterLab Developer Guide for useful CSS Patterns:
https://jupyterlab.readthedocs.io/en/stable/developer/css.html
*/
/* Hide the input area */
/* stylelint-disable-next-line selector-class-pattern */
#jupyter-ai-tutor-panel .jp-chat-input-container .MuiAutocomplete-root {
display: none;
}
/* Hide the whole input container if toolbar is empty */
#jupyter-ai-tutor-panel
.jp-chat-input-container:has(.jp-chat-input-toolbar:empty) {
display: none;
}
#jupyter-ai-tutor-panel .jp-chat-input-container .jp-chat-input-toolbar {
border-top: none;
}
/* Override toolbar visibility on cell overlap */
/* stylelint-disable-next-line selector-class-pattern */
.jp-toolbar-overlap .jp-cell-toolbar {
display: flex !important;
opacity: 0.15;
}
/* stylelint-disable-next-line selector-class-pattern */
.jp-toolbar-overlap .jp-cell-toolbar:hover {
opacity: 1 !important;
background-color: var(--jp-layout-color1);
box-shadow: var(--jp-elevation-z2);
}