adjust to portlet changes

This commit is contained in:
Frédéric Péters 2012-04-12 12:47:18 +02:00
parent cb57e1e5d3
commit ce94cec44a
2 changed files with 73 additions and 16 deletions

View File

@ -3161,23 +3161,17 @@ div.LSResult div.LSShadow .livesearchContainer{
.portlet-static-agenda {
p.un-parlement-qui-bouge {
padding: 1ex 0;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 20pt;
text-align: center;
font-size: 13pt;
text-transform: uppercase;
vertical-align:middle;
padding-left: 20px;
height: 40px;
padding-left: 0px;
margin-top: 0;
color: #888;
}
.portlet-static-agenda div {
height:40px;
#position: absolute; #top: 50%;display: table-cell; vertical-align: middle;
}
.portlet-static-agenda .tile {
color: #83D2E2;
}
.portlet-static-agenda-parlementaire {
font-family: Arial, Helvetica, sans-serif;
@ -3197,7 +3191,7 @@ div.LSResult div.LSShadow .livesearchContainer{
color: #FFF;
}
.portlet-static-activites {
.portlet-static-agenda-des-activites {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
line-height: 9pt;
@ -3208,6 +3202,27 @@ div.LSResult div.LSShadow .livesearchContainer{
padding-left: 20px;
height: 40px;
}
.portlet-static-agenda-des-activites div {
height:40px;
#position: absolute; #top: 50%;display: table-cell; vertical-align: middle;
}
.portlet-static-agenda-des-activites a.tile {
color: #FFF;
}
.portlet-static-activites {
font-family: Arial, Helvetica, sans-serif;
font-size: 8pt;
line-height: 9pt;
vertical-align: middle;
background-color: #91a9b2;
text-align: left;
vertical-align: middle;
padding-left: 20px;
height: 40px;
}
.portlet-static-activites div {
height:40px;
#position: absolute; #top: 50%;display: table-cell; vertical-align: middle;
@ -3215,4 +3230,4 @@ div.LSResult div.LSShadow .livesearchContainer{
.portlet-static-activites a.tile {
color: #FFF;
}
}

View File

@ -147,8 +147,50 @@
</div>
</div>
</body>
<!-- JavaScript Slideshow by Patrick Fitzgerald http://slideshow.barelyfitz.com/ -->
<script src="/slide_portlet/slideshow.js" type="text/javascript"></script>
<script type="text/javascript">// <![CDATA[
SLIDES = new slideshow("SLIDES");
// Create some slides and add custom filters for Microsoft IE
SLIDES.add_slide(s = new slide('/slide_portlet/pics/pic01i.jpg'));
s.filter = 'progid:DXImageTransform.Microsoft.Pixelate()';
SLIDES.add_slide(s = new slide('/slide_portlet/pics/pic02i.jpg'));
s.filter = 'progid:DXImageTransform.Microsoft.Fade()';
SLIDES.add_slide(s = new slide('/slide_portlet/pics/pic03i.jpg'));
s.filter = 'progid:DXImageTransform.Microsoft.Barn()';
// ]]></script>
<script type="text/javascript">// <![CDATA[
if (document.images) {
SLIDES.image = document.images.SLIDESIMG;
// Create a function to ramp up the image opacity in Mozilla
var fadein_opacity = 0;
var fadein_img = SLIDES.image;
function fadein(opacity) {
if (typeof opacity != 'undefined') fadein_opacity = opacity;
if (fadein_opacity < 1 && fadein_img && fadein_img.style &&
typeof fadein_img.style.MozOpacity != 'undefined') {
fadein_opacity += .05;
fadein_img.style.MozOpacity = fadein_opacity;
setTimeout("fadein()", 50);
}
}
// Tell the slideshow to call our function whenever the slide is changed
SLIDES.post_update_hook = function() { fadein(0); }
}
SLIDES.loop();
// ]]></script>
</html>