Fixes startpage css - fixes #8330
This commit is contained in:
committed by
Chris Hennes
parent
2620bcca35
commit
ac9fde2a3d
@@ -4,9 +4,7 @@ body {
|
||||
font-family: FONTFAMILY;
|
||||
font-size: FONTSIZE;
|
||||
}
|
||||
body::-webkit-scrollbar {
|
||||
display: OVERFLOW;
|
||||
}
|
||||
OVERFLOW
|
||||
a, a:link, a:visited {
|
||||
text-decoration: none;
|
||||
color: LINKCOLOR;
|
||||
|
||||
@@ -563,7 +563,7 @@ def handle():
|
||||
BOXCOLOR = gethexcolor(p.GetUnsigned("BoxColor",3722305023))
|
||||
TEXTCOLOR = gethexcolor(p.GetUnsigned("PageTextColor",255))
|
||||
BGTCOLOR = gethexcolor(p.GetUnsigned("BackgroundTextColor",4294703103))
|
||||
OVERFLOW = "normal" if p.GetBool("ShowScrollBars",True) else "none"
|
||||
OVERFLOW = "" if p.GetBool("ShowScrollBars",True) else "body::-webkit-scrollbar {display: none;}"
|
||||
SHADOW = "#888888"
|
||||
if QtGui.QColor(BASECOLOR).valueF() < 0.5: # dark page - we need to make darker shadows
|
||||
SHADOW = "#000000"
|
||||
|
||||
Reference in New Issue
Block a user