Skip to content

Commit 2897c4f

Browse files
authored
Style scrollbar (#82)
* Style scrollbar * Restore main scrollbar
1 parent 35395a1 commit 2897c4f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

style/base.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,23 @@
148148
opacity: 0.5;
149149
}
150150

151+
.glue-sidepanel-widget *::-webkit-scrollbar,
152+
.glue-Session-gridhost *::-webkit-scrollbar {
153+
width: 8px;
154+
background: transparent;
155+
}
156+
157+
.glue-sidepanel-widget *::-webkit-scrollbar-track,
158+
.glue-Session-gridhost *::-webkit-scrollbar-track {
159+
border: solid 3px transparent;
160+
}
161+
162+
.glue-sidepanel-widget *::-webkit-scrollbar-thumb,
163+
.glue-Session-panel *::-webkit-scrollbar-thumb {
164+
box-shadow: inset 0 0 10px 10px var(--jp-layout-color3);
165+
border: 3px solid transparent;
166+
}
167+
151168
.grid-stack-item-content {
152169
color: var(--jp-content-font-color1);
153170
background-color: var(--jp-layout-color1);
@@ -169,6 +186,11 @@
169186
border-radius: 5px;
170187
}
171188

189+
.glue-item .ui-resizable-handle.ui-resizable-e {
190+
width: 5px !important;
191+
right: -2px !important;
192+
}
193+
172194
.grid-item-toolbar-spacer {
173195
flex-grow: 1;
174196
flex-shrink: 1;

0 commit comments

Comments
 (0)