@@ -78,7 +78,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
78
78
display : flex;
79
79
margin : 0 5px ;
80
80
}
81
- .no-js .left-buttons {
81
+ .no-js .left-buttons {
82
82
display : none;
83
83
}
84
84
@@ -145,7 +145,7 @@ html:not(.sidebar-visible) #menu-bar:not(:hover).folded > #menu-bar-sticky-conta
145
145
display : none;
146
146
}
147
147
148
- .mobile-nav-chapters {
148
+ .mobile-nav-chapters {
149
149
font-size : 2.5em ;
150
150
text-align : center;
151
151
text-decoration : none;
@@ -301,21 +301,46 @@ ul#searchresults span.teaser em {
301
301
top : 0 ;
302
302
bottom : 0 ;
303
303
width : var (--sidebar-width );
304
- overflow-y : auto;
305
- padding : 10px 10px ;
306
304
font-size : 0.875em ;
307
305
box-sizing : border-box;
308
306
-webkit-overflow-scrolling : touch;
309
307
overscroll-behavior-y : contain;
310
308
background-color : var (--sidebar-bg );
311
309
color : var (--sidebar-fg );
312
310
}
313
- .js .sidebar {
311
+ .sidebar-resizing {
312
+ -moz-user-select : none;
313
+ -webkit-user-select : none;
314
+ -ms-user-select : none;
315
+ user-select : none;
316
+ }
317
+ .js : not (.sidebar-resizing ) .sidebar {
314
318
transition : transform 0.3s ; /* Animation: slide away */
315
319
}
316
320
.sidebar code {
317
321
line-height : 2em ;
318
322
}
323
+ .sidebar .sidebar-scrollbox {
324
+ overflow-y : auto;
325
+ position : absolute;
326
+ top : 0 ;
327
+ bottom : 0 ;
328
+ left : 0 ;
329
+ right : 0 ;
330
+ padding : 10px 10px ;
331
+ }
332
+ .sidebar .sidebar-resize-handle {
333
+ position : absolute;
334
+ cursor : col-resize;
335
+ width : 0 ;
336
+ right : 0 ;
337
+ top : 0 ;
338
+ bottom : 0 ;
339
+ }
340
+ .js .sidebar .sidebar-resize-handle {
341
+ cursor : col-resize;
342
+ width : 5px ;
343
+ }
319
344
.sidebar-hidden .sidebar {
320
345
transform : translateX (calc (0px - var (--sidebar-width )));
321
346
}
@@ -368,7 +393,7 @@ ul#searchresults span.teaser em {
368
393
background-color : var (--sidebar-spacer );
369
394
}
370
395
371
- @media (-moz-touch-enabled : 1 ), (pointer : coarse) {
396
+ @media (-moz-touch-enabled : 1 ), (pointer : coarse) {
372
397
.chapter li a { padding : 5px 0 ; }
373
398
.spacer { margin : 10px 0 ; }
374
399
}
0 commit comments