Skip to content

Commit 0e1815b

Browse files
authored
Merge pull request #224 from minjk-bl/devops
Devops for v2.4.4
2 parents 939c523 + eaee967 commit 0e1815b

23 files changed

+371
-180
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
dist/
22
jupyterlab/_output
3-
jupyterlab/.jupyterlite.doit.db
3+
jupyterlab/.jupyterlite.doit*
44
jupyterlab/lib/visualpython
55
jupyternotebook/visualpython
66
colab/visualpython
77
test/
88
.gitignore
9-
visualpython/js/com/com_Config.js

jupyterlab/dev-build.jupyterlab.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ jlpm run build
5050
# jupyter lite build
5151

5252
# Run jupyterlite server
53-
# jupyter lite serve
53+
# jupyter lite serve # init + build + serve
54+
55+
# If something went wrong, remove _output/extensions folder and run command below
56+
# jupyter lite init

visualpython/css/mainFrame.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,43 @@ div#vp_wrapper.colab * {
5959
#vp_wrapper.lab *, #vp_wrapper.lite * {
6060
box-sizing: border-box !important;
6161
}
62+
/* LITE: show protector */
63+
#vp_wrapper.lab .vp-protector,
64+
#vp_wrapper.lite .vp-protector {
65+
background-color: rgb(33 33 33 / 77%);
66+
position: absolute;
67+
width: 100%;
68+
height: 100%;
69+
z-index: 100;
70+
}
71+
#vp_wrapper.lab .vp-protector-info,
72+
#vp_wrapper.lite .vp-protector-info {
73+
background-color: var(--vp-background-color);
74+
width: 250px;
75+
height: 170px;
76+
padding: 10px;
77+
margin: auto;
78+
top: calc(50% - 80px);
79+
position: relative;
80+
display: grid;
81+
grid-template-rows: 20px 100px 30px;
82+
}
83+
#vp_wrapper.lab .vp-protector-title,
84+
#vp_wrapper.lite .vp-protector-title {
85+
font-weight: bold;
86+
color: var(--vp-font-highlight);
87+
}
88+
#vp_wrapper.lab .vp-protector-content,
89+
#vp_wrapper.lite .vp-protector-content {
90+
border: 0.25px solid var(--vp-border-gray-color);
91+
border-radius: 10px;
92+
padding: 10px;
93+
margin: 5px 0;
94+
}
95+
#vp_wrapper.lab .vp-protector-footer,
96+
#vp_wrapper.lite .vp-protector-footer {
97+
text-align: right;
98+
}
6299

63100
/* resizing handle */
64101
#vp_wrapper > .ui-resizable-handle {

visualpython/css/root.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,22 @@ button.vp-button {
378378
background: #C4C4C4;
379379
}
380380

381+
/* Scrollbar vertical only */
382+
.vp-scrollbar-vertical {
383+
overflow-x: hidden;
384+
overflow-y: auto;
385+
white-space: nowrap;
386+
--webkit-mask-position: left top;
387+
}
388+
.vp-scrollbar-vertical::-webkit-scrollbar {
389+
width: 5px;
390+
height: 5px;
391+
}
392+
.vp-scrollbar-vertical::-webkit-scrollbar-thumb {
393+
border: 0.3px solid #C4C4C4;
394+
background: #C4C4C4;
395+
}
396+
381397
/* Scrollbar horizontal */
382398
.vp-scrollbar-horizontal {
383399
overflow-x: auto;

0 commit comments

Comments
 (0)