Attempt to style the scrollbar for some browsers

This commit is contained in:
aggelosQQ 2016-09-18 08:36:40 +03:00
parent 733de746f4
commit f3b855b6d0
3 changed files with 16 additions and 2 deletions

View file

@ -236,3 +236,16 @@ i.rules-icon:hover {
.modal > .modal-footer { .modal > .modal-footer {
background: rgba(50, 50, 50, 0.6); background: rgba(50, 50, 50, 0.6);
} }
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: rgba(100,100,100,0.1);
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
border-radius: 10px;
background: rgba(230,230,230,0.3);
}

View file

@ -47,7 +47,7 @@
<li><a href="#rules">Rules</a></li> <li><a href="#rules">Rules</a></li>
<li><a href="#staff">Staff</a></li> <li><a href="#staff">Staff</a></li>
<li><a href="/masterbuilders/">Masterbuilders</a></li> <li><a href="/masterbuilders/">Masterbuilders</a></li>
<li><a href="http://totalfreedom.boards.net">Forum</a></li> <li><a href="http://totalfreedom.boards.net" class="tooltipped" data-position="bottom" data-delay="50" data-tooltip="You will be redirected to totalfreedom.boards.net">Forum</a></li>
</ul> </ul>
<ul class="side-nav" id="mobile"> <ul class="side-nav" id="mobile">
<li><a href="#header">Home</a></li> <li><a href="#header">Home</a></li>

View file

@ -1,6 +1,7 @@
$(document).ready(function() { $(document).ready(function() {
$(".button-collapse").sideNav(); $(".button-collapse").sideNav();
$('.modal-trigger').leanModal(); $('.modal-trigger').leanModal();
$('.tooltipped').tooltip({delay: 50});
var interval = 15000; var interval = 15000;
var autoRefresh = setTimeout(function() { var autoRefresh = setTimeout(function() {