Browse Source

火狐浏览器滚动条大小和颜色

es6
guy 3 years ago
parent
commit
d33a0a63c3
  1. 3
      src/less/resource/app.less

3
src/less/resource/app.less

@ -27,6 +27,8 @@ body {
} }
div, textarea { div, textarea {
scrollbar-color: fade(@scroll-color, 10%) fade(@scroll-color, 5%);
scrollbar-width: thin;
&::-webkit-scrollbar { &::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;
width: 10px; width: 10px;
@ -60,6 +62,7 @@ div, textarea {
.bi-theme-dark { .bi-theme-dark {
div, textarea { div, textarea {
scrollbar-color: fade(@scroll-color-theme-dark, 10%) fade(@scroll-color-theme-dark, 5%);
&::-webkit-scrollbar { &::-webkit-scrollbar {
-webkit-appearance: none; -webkit-appearance: none;
} }

Loading…
Cancel
Save