customize scrollbar
This commit is contained in:
parent
363ebf8264
commit
833547a714
2 changed files with 10 additions and 1 deletions
|
|
@ -10,6 +10,10 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="box">
|
||||
<code style="
|
||||
color: rgb(63, 133, 42);
|
||||
font-family: monospace;
|
||||
" >Interactive Bash Terminal. A safe place to execute commands.</code>
|
||||
<div id="header"></div>
|
||||
<div id="terminal-container" class="terminal"></div>
|
||||
<div id="bottomdiv">
|
||||
|
|
|
|||
|
|
@ -92,9 +92,11 @@
|
|||
.xterm .xterm-viewport {
|
||||
/* On OS X this is required in order for the scroll bar to appear fully opaque */
|
||||
background-color: #000;
|
||||
color: #000;
|
||||
overflow-y: scroll;
|
||||
cursor: default;
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
right: 0;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
|
@ -197,8 +199,11 @@ body, html {
|
|||
}
|
||||
.box {
|
||||
display: block;
|
||||
height: 100%;
|
||||
height: 97%;
|
||||
scroll-behavior: smooth;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#terminal-container {
|
||||
display: block;
|
||||
width: calc(100% - 1 px);
|
||||
|
|
|
|||
Loading…
Reference in a new issue