File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 37
37
< link rel ="preload " as ="style " href ="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap " rel ="stylesheet ">
38
38
< link rel ="stylesheet " id ="us-fonts-css " href ="https://fonts.googleapis.com/css?family=Montserrat%3A300%2C400%2C500%2C600%2C700&display=swap&ver=6.0.2 " media ="all ">
39
39
< link rel ="stylesheet " href ="./xterm/xterm.css " />
40
+ < link rel ="stylesheet " href ="./scrollbar.css " />
40
41
< script >
41
42
window . networkInterface = { } ;
42
43
</ script >
156
157
< div style ="flex-grow:0; flex-shrink: 0; height:1px; width: 100%; background-color: white; ">
157
158
</ div >
158
159
< main style ="display: flex; flex-direction: row; justify-content: space-between; margin:0; height:100%; ">
159
- < div style ="flex-grow:1; height:100%;display:inline-block;margin:0; " id ="console ">
160
+ < div style ="flex-grow:1; height:100%;display:inline-block;margin:0; " class =" scrollbar " id ="console ">
160
161
</ div >
161
162
162
163
</ main >
Original file line number Diff line number Diff line change
1
+ .scrollbar {
2
+ scrollbar-color : # 777 # 0000 ;
3
+ }
4
+
5
+ .scrollbar * ::-webkit-scrollbar {
6
+ height : 6px ;
7
+ width : 6px ;
8
+ background-color : # 0000 ;
9
+ }
10
+
11
+ /* Add a thumb */
12
+ .scrollbar * ::-webkit-scrollbar-thumb {
13
+ border-radius : 3px ;
14
+ height : 6px ;
15
+ width : 6px ;
16
+ background : # 777 ;
17
+ }
18
+
19
+ .scrollbar * ::-webkit-scrollbar-thumb : hover {
20
+ background : # 555 ;
21
+ }
You can’t perform that action at this time.
0 commit comments