forked from openlp/openlp
Footer and css fixes
This commit is contained in:
parent
ecd7e3b31f
commit
5c90fae68d
@ -177,7 +177,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function show_footer(footertext){
|
function show_footer(footertext){
|
||||||
document.getElementById('footer').innerHTML(footertext);
|
document.getElementById('footer').innerHTML = footertext;
|
||||||
}
|
}
|
||||||
|
|
||||||
function show_text(newtext){
|
function show_text(newtext){
|
||||||
@ -341,8 +341,8 @@ def build_lyrics(item):
|
|||||||
outline = u'display: none;'
|
outline = u'display: none;'
|
||||||
shadow = u'display: none;'
|
shadow = u'display: none;'
|
||||||
if theme:
|
if theme:
|
||||||
lyricscommon = u'width: %spx; height: %spx; word-wrap: break-word ' \
|
lyricscommon = u'width: %spx; height: %spx; word-wrap: break-word; ' \
|
||||||
u'font-family %s; font-size: %spx; color: %s; line-height: %d%%' % \
|
u'font-family: %s; font-size: %spx; color: %s; line-height: %d%%' % \
|
||||||
(item.main.width(), item.main.height(),
|
(item.main.width(), item.main.height(),
|
||||||
theme.font_main_name, theme.font_main_proportion,
|
theme.font_main_name, theme.font_main_proportion,
|
||||||
theme.font_main_color, 100 + int(theme.font_main_line_adjustment))
|
theme.font_main_color, 100 + int(theme.font_main_line_adjustment))
|
||||||
@ -397,7 +397,7 @@ def build_footer(item):
|
|||||||
font-family: %s;
|
font-family: %s;
|
||||||
font-size: %spx;
|
font-size: %spx;
|
||||||
color: %s;
|
color: %s;
|
||||||
align: %s;
|
text-align: %s;
|
||||||
"""
|
"""
|
||||||
theme = item.themedata
|
theme = item.themedata
|
||||||
if not theme:
|
if not theme:
|
||||||
@ -423,7 +423,7 @@ def build_alert(alertTab, width):
|
|||||||
style = """
|
style = """
|
||||||
width: %s;
|
width: %s;
|
||||||
vertical-align: %s;
|
vertical-align: %s;
|
||||||
font-family %s;
|
font-family: %s;
|
||||||
font-size: %spx;
|
font-size: %spx;
|
||||||
color: %s;
|
color: %s;
|
||||||
background-color: %s;
|
background-color: %s;
|
||||||
|
Loading…
Reference in New Issue
Block a user