theme scrollbars according to https://drafts.csswg.org/css-scrollbars/
This commit is contained in:
parent
0d211dede3
commit
ad7e833519
3 changed files with 10 additions and 1 deletions
|
@ -2275,6 +2275,11 @@ Scrollbars
|
|||
border-radius: 8px;
|
||||
}
|
||||
|
||||
body {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-width: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
================================================================================
|
||||
SourceViewer
|
||||
|
|
|
@ -1188,6 +1188,10 @@ Scrollbars
|
|||
background: -webkit-linear-gradient(left, $buttonActiveGradient);
|
||||
}
|
||||
|
||||
body.$themeClass {
|
||||
scrollbar-color: $bodyBorder $bodyBackground;
|
||||
}
|
||||
|
||||
/*
|
||||
================================================================================
|
||||
SourceViewer
|
||||
|
|
|
@ -47,7 +47,7 @@ Ox.SCROLLBAR_SIZE = Ox.UI.SCROLLBAR_SIZE = $.browser.webkit ? 8 : (function() {
|
|||
width = 1 + width - (inner[0].offsetWidth == width
|
||||
? outer[0].clientWidth : inner[0].offsetWidth);
|
||||
outer.remove();
|
||||
return width;
|
||||
return width + width % 2;
|
||||
})();
|
||||
|
||||
//@ Ox.UI.PATH <str> Path of Ox UI
|
||||
|
|
Loading…
Reference in a new issue