Tarea #1012 -> Colocar el botón de full-screen encima de los botones de hacer la dedicatoria, a la derecha.

git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@121 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
David Arranz 2012-08-24 15:59:23 +00:00
parent 2956df8f6b
commit 79da810fc2
3 changed files with 13 additions and 4 deletions

View File

@ -13,9 +13,12 @@ jQuery(document).ready(function(){
jQuery('.mediaWrapper').css('width', '');
jQuery('.youtubeHolder').css('width', '');
jQuery('.vimeoHolder').css('width', '');
_fullscreen.parent().appendTo(jQuery('#dedicationFooter_container .columns.two.last'));
} else {
jQuery('#the_slider').addClass('fullscreen_div');
_fullscreen.attr('src', _srcimg.replace('fullscreen.png', 'fullscreen_exit.png'));
//_fullscreen.parent().appendTo(jQuery('.slideshow_controls'));
_fullscreen.parent().appendTo(jQuery('#componentWrapper'));
}
calc_video_height();
});

View File

@ -129,17 +129,23 @@
background: url('../data/controls_hit.png') repeat;
}
#componentWrapper .controls_fullscreen {
.controls_fullscreen {
position:absolute;
width:40px;
height:40px;
left:0px;
right:0px;
top:0px;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.6);
}
#componentWrapper .controls_fullscreen img{
#componentWrapper .controls_fullscreen {
/*left: 0px !important;*/
bottom: 36px !important;
top: auto !important;
}
.controls_fullscreen img{
position:absolute;
display:block;
width:40px;

View File

@ -144,7 +144,6 @@ if (have_posts()) {
</ul>
</div> <!-- componentPlaylist -->
<div class="slideshow_controls">
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/<?php echo (play_video_on_full_screen()) ? 'fullscreen_exit.png' : 'fullscreen.png'; ?>' width='11' height='16' alt='fullscreen'/></div>
<?php if ($slide_counter > 1) { ?>
<div class="controls_prev"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/backward.png' width='11' height='16' alt='controls_prev'/></div>
<div class="controls_playlist_toggle"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/close.png' width='16' height='16' alt='controls_playlist_toggle'/></div>
@ -170,6 +169,7 @@ if (have_posts()) {
<h4 id="dedicationSong"></h4>
</div>
<div class="columns two last">
<div class="controls_fullscreen"><img src='<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/data/icons/<?php echo (play_video_on_full_screen()) ? 'fullscreen_exit.png' : 'fullscreen.png'; ?>' width='11' height='16' alt='fullscreen'/></div>
<?php if(function_exists('bp_is_active')) { ?>
<a id="dedicate_this_song_button" href="<?php echo bp_loggedin_user_domain() . bp_get_dedication_slug() ?>/new-dedication/" class="button" title="Dedicate this song">Dedicate this song</a>
<a href="<?php echo bp_loggedin_user_domain() . bp_get_dedication_slug() ?>/new-dedication/" class="button" title="Dedicate a song">Dedicate a song</a>