match fusion bars to webview bars, bump size again

This commit is contained in:
Damien Elmes 2020-02-02 12:22:10 +10:00
parent 92888345fb
commit dd9812c7ed
2 changed files with 32 additions and 2 deletions

View File

@ -124,6 +124,28 @@ QGroupBox {
}
"""
if not self.macos_dark_mode():
buf += """
QScrollBar { background-color: %s; }
QScrollBar::handle { background-color: %s; border-radius: 5px; }
QScrollBar:horizontal { height: 12px; }
QScrollBar::handle:horizontal { min-width: 50px; }
QScrollBar:vertical { width: 12px; }
QScrollBar::handle:vertical { min-height: 50px; }
QScrollBar::add-line {
border: none;
background: none;
}
QScrollBar::sub-line {
border: none;
background: none;
}
""" % (self.str_color("window-bg"), colors.get("fusion-button-hover-bg"))
# allow addons to modify the styling
buf = gui_hooks.style_did_init(buf)

View File

@ -31,11 +31,11 @@ body.nightMode::-webkit-scrollbar {
}
body.nightMode::-webkit-scrollbar:horizontal {
height: 10px;
height: 12px;
}
body.nightMode::-webkit-scrollbar:vertical {
width: 10px;
width: 12px;
}
body.nightMode::-webkit-scrollbar-thumb {
@ -43,6 +43,14 @@ body.nightMode::-webkit-scrollbar-thumb {
border-radius: 8px;
}
body.nightMode::-webkit-scrollbar-thumb:horizontal {
min-width: 50px;
}
body.nightMode::-webkit-scrollbar-thumb:vertical {
min-height: 50px;
}
.nightMode {
a {
color: vars.$night-link;