fix: invisible scroll bar in webview

This commit is contained in:
huanghongxun 2020-03-30 16:30:10 +08:00
parent 76807e1cd2
commit cf25e6c27b
2 changed files with 11 additions and 3 deletions

View File

@ -18,11 +18,19 @@
.root { .root {
} }
.scroll-bar { .jfx-list-view .scroll-bar {
-fx-skin: "org.jackhuang.hmcl.ui.construct.FloatScrollBarSkin"; -fx-skin: "org.jackhuang.hmcl.ui.construct.FloatScrollBarSkin";
} }
.scroll-bar .track { .jfx-list-view .scroll-bar .track {
-fx-fill: transparent;
}
.scroll-pane .scroll-bar {
-fx-skin: "org.jackhuang.hmcl.ui.construct.FloatScrollBarSkin";
}
.scroll-pane .scroll-bar .track {
-fx-fill: transparent; -fx-fill: transparent;
} }

View File

@ -44,7 +44,7 @@
.warn { background-color: #FFEECC; } .warn { background-color: #FFEECC; }
.info { background-color: #FFFFFF; } .info { background-color: #FFFFFF; }
.debug { background-color: #EEE9E0; } .debug { background-color: #EEE9E0; }
.trace { background-color: blue; } .trace { background-color: #FFFFFF; }
</style> </style>
<script> <script>
var colors = ["fatal", "error", "warn", "info", "debug", "trace"]; var colors = ["fatal", "error", "warn", "info", "debug", "trace"];