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