Przeglądaj źródła

Made the scrollbars snazzier

tags/v1.0.0
Fen Dweller 6 lat temu
rodzic
commit
17181f4c1b
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: E80B35A6F11C3656
2 zmienionych plików z 37 dodań i 9 usunięć
  1. +2
    -2
      stroll.html
  2. +35
    -7
      style.css

+ 2
- 2
stroll.html Wyświetl plik

@@ -190,13 +190,13 @@
</div> </div>
</div> </div>
<div id="log-area"> <div id="log-area">
<div id="log">
<div class="log" id="log">
<div>Welcome to Stroll</div> <div>Welcome to Stroll</div>
<p class="version"></p> <p class="version"></p>
<div><b>This game features 18+ content</b></div> <div><b>This game features 18+ content</b></div>
<div>&nbsp;</div> <div>&nbsp;</div>
</div> </div>
<div id="react-log">
<div class="log" id="react-log">
<div>It's a nice day for a walk</div> <div>It's a nice day for a walk</div>
<div>&nbsp;</div> <div>&nbsp;</div>
</div> </div>


+ 35
- 7
style.css Wyświetl plik

@@ -86,13 +86,7 @@ body.dark div {
display:none; display:none;
} }


#log {
overflow: auto;
padding: 25px;
box-sizing: border-box;
}

#react-log {
.log {
overflow: auto; overflow: auto;
padding: 25px; padding: 25px;
box-sizing: border-box; box-sizing: border-box;
@@ -708,3 +702,37 @@ body.dark .meterLabel {
.intro-text { .intro-text {
font-size: 18px; font-size: 18px;
} }

.log::-webkit-scrollbar {
width: 3px;
height: 2px;
}
.log::-webkit-scrollbar-button {
width: 0px;
height: 0px;
}
.log::-webkit-scrollbar-thumb {
background: #e1e1e1;
border: 0px none #ffffff;
border-radius: 50px;
}
.log::-webkit-scrollbar-thumb:hover {
background: #ffffff;
}
.log::-webkit-scrollbar-thumb:active {
background: #000000;
}
.log::-webkit-scrollbar-track {
background: #666666;
border: 0px none #ffffff;
border-radius: 50px;
}
.log::-webkit-scrollbar-track:hover {
background: #666666;
}
.log::-webkit-scrollbar-track:active {
background: #333333;
}
.log::-webkit-scrollbar-corner {
background: transparent;
}

Ładowanie…
Anuluj
Zapisz