-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
sidepanel.css
48 lines (39 loc) · 1.22 KB
/
sidepanel.css
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
36
37
38
39
40
41
42
43
44
45
46
47
48
/*-----------------------------------------------------------------------------
| Copyright (c) Jupyter Development Team.
| Distributed under the terms of the Modified BSD License.
|
| Adapted from JupyterLab's packages/application/style/sidepanel.css.
|----------------------------------------------------------------------------*/
/*-----------------------------------------------------------------------------
| Variables
|----------------------------------------------------------------------------*/
:root {
--jp-private-sidebar-tab-width: 32px;
}
/*-----------------------------------------------------------------------------
| SideBar
|----------------------------------------------------------------------------*/
/* Stack panels */
#jp-right-stack,
#jp-left-stack {
display: flex;
flex-direction: column;
min-width: var(--jp-sidebar-min-width);
}
#jp-left-stack .jp-SidePanel-collapse,
#jp-right-stack .jp-SidePanel-collapse {
display: flex;
flex: 0 0 auto;
min-height: 0;
padding: 0;
}
#jp-left-stack .jp-SidePanel-collapse {
justify-content: right;
}
#jp-right-stack .jp-SidePanel-collapse {
justify-content: left;
}
#jp-left-stack .lm-StackedPanel,
#jp-right-stack .lm-StackedPanel {
flex: 1 1 auto;
}