match fusion bars to webview bars, bump size again
This commit is contained in:
parent
92888345fb
commit
dd9812c7ed
@ -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)
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user