This commit is contained in:
j 2018-11-12 07:12:58 +01:00
parent 0d211dede3
commit ad7e833519
3 changed files with 10 additions and 1 deletions

View file

@ -2275,6 +2275,11 @@ Scrollbars
border-radius: 8px; border-radius: 8px;
} }
body {
scrollbar-width: thin;
scrollbar-width: 8px;
}
/* /*
================================================================================ ================================================================================
SourceViewer SourceViewer

View file

@ -1188,6 +1188,10 @@ Scrollbars
background: -webkit-linear-gradient(left, $buttonActiveGradient); background: -webkit-linear-gradient(left, $buttonActiveGradient);
} }
body.$themeClass {
scrollbar-color: $bodyBorder $bodyBackground;
}
/* /*
================================================================================ ================================================================================
SourceViewer SourceViewer

View file

@ -47,7 +47,7 @@ Ox.SCROLLBAR_SIZE = Ox.UI.SCROLLBAR_SIZE = $.browser.webkit ? 8 : (function() {
width = 1 + width - (inner[0].offsetWidth == width width = 1 + width - (inner[0].offsetWidth == width
? outer[0].clientWidth : inner[0].offsetWidth); ? outer[0].clientWidth : inner[0].offsetWidth);
outer.remove(); outer.remove();
return width; return width + width % 2;
})(); })();
//@ Ox.UI.PATH <str> Path of Ox UI //@ Ox.UI.PATH <str> Path of Ox UI