From 9a744119d3cdf631dd38c84d95d76dc11194622d Mon Sep 17 00:00:00 2001 From: Jonathan Corwin Date: Tue, 5 Oct 2010 23:23:46 +0100 Subject: [PATCH] Alerts over Phonon videos. Fix blank to theme bug for image backgrounds. --- openlp/core/lib/htmlbuilder.py | 18 ++++--- openlp/core/lib/serviceitem.py | 16 +++--- openlp/core/ui/maindisplay.py | 88 +++++++++++++++++-------------- openlp/core/ui/slidecontroller.py | 17 +++++- 4 files changed, 83 insertions(+), 56 deletions(-) diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index 765d0f9fa..511046fe3 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -55,14 +55,17 @@ body { background-color: black; display: none; } -#image { +#bgimage { z-index:1; } -#video1 { +#image { z-index:2; } +#video1 { + z-index:3; +} #video2 { - z-index:2; + z-index:3; } #alert { position: absolute; @@ -73,7 +76,7 @@ body { } #footer { position: absolute; - z-index:5; + z-index:6; %s } /* lyric css */ @@ -112,7 +115,7 @@ body { vid2.volume = volume; } switch(state){ - case 'init': + case 'init': vid.src = path; vid2.src = path; if(loop == null) loop = false; @@ -294,7 +297,8 @@ body { - + +