-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathgridstack_base.html.j2
84 lines (74 loc) · 1.92 KB
/
gridstack_base.html.j2
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{%- extends 'lab/index.html.j2' -%}
{% block html_head_css %}
<link href="https://cdn.jsdelivr.net/npm/gridstack@2.0.0/dist/gridstack.min.css" rel="stylesheet" />
{{ super() }}
<style>
.grid-stack-item-content {
background: var(--jp-layout-color0);
color: var(--jp-ui-font-color1);
display: flex;
flex-direction: column;
}
.gridhandle {
position: relative;
background: var(--jp-layout-color2);
z-index: 1;
height: 5px;
cursor: move;
margin-left: 5px;
margin-top: 5px;
margin-right: 5px;
}
.voila-gridstack {
{% if resources.gridstack.show_handles %}
background: var(--jp-layout-color2);
{% else %}
background: var(--jp-layout-color0);
{% endif %}
color: var(--jp-ui-font-color0);
}
.jp-Notebook {
{% if resources.gridstack.show_handles %}
background: var(--jp-layout-color2);
{% else %}
background: var(--jp-layout-color0);
{% endif %}
color: var(--jp-ui-font-color0);
}
.ui-resizable-se {
background-image: none !important;
transform: rotate(0deg) !important;
-o-transform: rotate(0deg) !important;
-ms-transform: rotate(0deg) !important;
-moz-transform: rotate(0deg) !important;
-webkit-transform: rotate(0deg) !important;
width: 0 !important;
height: 0 !important;
border-bottom: 10px solid var(--jp-layout-color3);
border-left: 10px solid transparent;
}
.ui-resizable-sw {
background-image: none !important;
transform: rotate(0deg) !important;
-o-transform: rotate(0deg) !important;
-ms-transform: rotate(0deg) !important;
-moz-transform: rotate(0deg) !important;
-webkit-transform: rotate(0deg) !important;
width: 0 !important;
height: 0 !important;
border-bottom: 10px solid var(--jp-layout-color3);
border-right: 10px solid transparent;
}
</style>
<style>
a.anchor-link {
display: none;
}
.highlight {
margin: 0.4em;
}
body {
overflow: scroll;
}
</style>
{% endblock html_head_css %}