Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
dist/
jupyterlab/_output
jupyterlab/.jupyterlite.doit.db
jupyterlab/.jupyterlite.doit*
jupyterlab/lib/visualpython
jupyternotebook/visualpython
colab/visualpython
test/
.gitignore
visualpython/js/com/com_Config.js
5 changes: 4 additions & 1 deletion jupyterlab/dev-build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,7 @@ jlpm run build
# jupyter lite build

# Run jupyterlite server
# jupyter lite serve
# jupyter lite serve # init + build + serve

# If something went wrong, remove _output/extensions folder and run command below
# jupyter lite init
37 changes: 37 additions & 0 deletions visualpython/css/mainFrame.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,43 @@ div#vp_wrapper.colab * {
#vp_wrapper.lab *, #vp_wrapper.lite * {
box-sizing: border-box !important;
}
/* LITE: show protector */
#vp_wrapper.lab .vp-protector,
#vp_wrapper.lite .vp-protector {
background-color: rgb(33 33 33 / 77%);
position: absolute;
width: 100%;
height: 100%;
z-index: 100;
}
#vp_wrapper.lab .vp-protector-info,
#vp_wrapper.lite .vp-protector-info {
background-color: var(--vp-background-color);
width: 250px;
height: 170px;
padding: 10px;
margin: auto;
top: calc(50% - 80px);
position: relative;
display: grid;
grid-template-rows: 20px 100px 30px;
}
#vp_wrapper.lab .vp-protector-title,
#vp_wrapper.lite .vp-protector-title {
font-weight: bold;
color: var(--vp-font-highlight);
}
#vp_wrapper.lab .vp-protector-content,
#vp_wrapper.lite .vp-protector-content {
border: 0.25px solid var(--vp-border-gray-color);
border-radius: 10px;
padding: 10px;
margin: 5px 0;
}
#vp_wrapper.lab .vp-protector-footer,
#vp_wrapper.lite .vp-protector-footer {
text-align: right;
}

/* resizing handle */
#vp_wrapper > .ui-resizable-handle {
Expand Down
16 changes: 16 additions & 0 deletions visualpython/css/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,22 @@ button.vp-button {
background: #C4C4C4;
}

/* Scrollbar vertical only */
.vp-scrollbar-vertical {
overflow-x: hidden;
overflow-y: auto;
white-space: nowrap;
--webkit-mask-position: left top;
}
.vp-scrollbar-vertical::-webkit-scrollbar {
width: 5px;
height: 5px;
}
.vp-scrollbar-vertical::-webkit-scrollbar-thumb {
border: 0.3px solid #C4C4C4;
background: #C4C4C4;
}

/* Scrollbar horizontal */
.vp-scrollbar-horizontal {
overflow-x: auto;
Expand Down
Loading