Cleanup of document viewer stylesheet
This commit is contained in:
+13
-17
@@ -501,49 +501,45 @@ class GuiDocViewer(QTextBrowser):
|
|||||||
"""
|
"""
|
||||||
styleSheet = (
|
styleSheet = (
|
||||||
"body {{"
|
"body {{"
|
||||||
" color: rgb({tColR},{tColG},{tColB});"
|
" color: rgb({tColR}, {tColG}, {tColB});"
|
||||||
" font-size: {textSize:.1f}pt;"
|
|
||||||
"}}\n"
|
"}}\n"
|
||||||
"h1, h2, h3, h4 {{"
|
"h1, h2, h3, h4 {{"
|
||||||
" color: rgb({hColR},{hColG},{hColB});"
|
" color: rgb({hColR}, {hColG}, {hColB});"
|
||||||
"}}\n"
|
"}}\n"
|
||||||
"a {{"
|
"a {{"
|
||||||
" color: rgb({aColR},{aColG},{aColB});"
|
" color: rgb({aColR}, {aColG}, {aColB});"
|
||||||
"}}\n"
|
"}}\n"
|
||||||
"mark {{"
|
"mark {{"
|
||||||
" color: rgb({eColR},{eColG},{eColB});"
|
" color: rgb({eColR}, {eColG}, {eColB});"
|
||||||
"}}\n"
|
"}}\n"
|
||||||
".tags {{"
|
".tags {{"
|
||||||
" color: rgb({kColR},{kColG},{kColB});"
|
" color: rgb({kColR}, {kColG}, {kColB});"
|
||||||
" font-wright: bold;"
|
|
||||||
"}}\n"
|
"}}\n"
|
||||||
".comment {{"
|
".comment {{"
|
||||||
" color: rgb({cColR},{cColG},{cColB});"
|
" color: rgb({cColR}, {cColG}, {cColB});"
|
||||||
"}}\n"
|
"}}\n"
|
||||||
".synopsis {{"
|
".synopsis {{"
|
||||||
" color: rgb({mColR},{mColG},{mColB});"
|
" color: rgb({mColR}, {mColG}, {mColB});"
|
||||||
" font-wright: bold;"
|
|
||||||
"}}\n"
|
"}}\n"
|
||||||
).format(
|
).format(
|
||||||
textSize = self.mainConf.textSize,
|
|
||||||
tColR = self.theTheme.colText[0],
|
tColR = self.theTheme.colText[0],
|
||||||
tColG = self.theTheme.colText[1],
|
tColG = self.theTheme.colText[1],
|
||||||
tColB = self.theTheme.colText[2],
|
tColB = self.theTheme.colText[2],
|
||||||
hColR = self.theTheme.colHead[0],
|
hColR = self.theTheme.colHead[0],
|
||||||
hColG = self.theTheme.colHead[1],
|
hColG = self.theTheme.colHead[1],
|
||||||
hColB = self.theTheme.colHead[2],
|
hColB = self.theTheme.colHead[2],
|
||||||
cColR = self.theTheme.colHidden[0],
|
|
||||||
cColG = self.theTheme.colHidden[1],
|
|
||||||
cColB = self.theTheme.colHidden[2],
|
|
||||||
eColR = self.theTheme.colEmph[0],
|
|
||||||
eColG = self.theTheme.colEmph[1],
|
|
||||||
eColB = self.theTheme.colEmph[2],
|
|
||||||
aColR = self.theTheme.colVal[0],
|
aColR = self.theTheme.colVal[0],
|
||||||
aColG = self.theTheme.colVal[1],
|
aColG = self.theTheme.colVal[1],
|
||||||
aColB = self.theTheme.colVal[2],
|
aColB = self.theTheme.colVal[2],
|
||||||
|
eColR = self.theTheme.colEmph[0],
|
||||||
|
eColG = self.theTheme.colEmph[1],
|
||||||
|
eColB = self.theTheme.colEmph[2],
|
||||||
kColR = self.theTheme.colKey[0],
|
kColR = self.theTheme.colKey[0],
|
||||||
kColG = self.theTheme.colKey[1],
|
kColG = self.theTheme.colKey[1],
|
||||||
kColB = self.theTheme.colKey[2],
|
kColB = self.theTheme.colKey[2],
|
||||||
|
cColR = self.theTheme.colHidden[0],
|
||||||
|
cColG = self.theTheme.colHidden[1],
|
||||||
|
cColB = self.theTheme.colHidden[2],
|
||||||
mColR = self.theTheme.colMod[0],
|
mColR = self.theTheme.colMod[0],
|
||||||
mColG = self.theTheme.colMod[1],
|
mColG = self.theTheme.colMod[1],
|
||||||
mColB = self.theTheme.colMod[2],
|
mColB = self.theTheme.colMod[2],
|
||||||
|
|||||||
Reference in New Issue
Block a user