]> git.sesse.net Git - vlc/commitdiff
web intf: no need for js for opacity changes
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 22 Sep 2011 14:01:17 +0000 (16:01 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 22 Sep 2011 14:05:32 +0000 (16:05 +0200)
share/lua/http/css/main.css
share/lua/http/index.html

index c73c15e8ff6bdf13033eb99bc9562f9e94158628..6a77e009e8a740f688ccca3eb580ecbcbfd6711f 100644 (file)
@@ -118,6 +118,15 @@ body{
        background-image: url("../images/buttons.png");
        background-repeat: no-repeat;
 }
+.button48:hover{
+       filter: alpha(opacity:0.5);
+       -ms-filter: "alpha(opacity=50)";
+       -khtml-opacity: 0.50;
+       -moz-opacity: 0.5;
+       filter: alpha(opacity=50);
+       opacity: 0.5;
+}
+
 .button{
        cursor: pointer;
        display: inline-block;
index ca831d3c6979784fbf0f33c3d1706d4363fc2404..7946dc79afc949436a5fdec24a595e7c354e521b 100644 (file)
                        var pollStatus  =       true;
                        $(function(){
                                $('.button').hover(function(){$(this).addClass('ui-state-hover')},function(){$(this).removeClass('ui-state-hover')});
-                               $('.button48').hover(
-                                       function(){$(this).css({'filter':'alpha(opacity=50)','-moz-opacity':'0.5','-khtml-opacity': '0.5'})},
-                                       function(){$(this).css({'filter':'alpha(opacity=100)','-moz-opacity':'1','-khtml-opacity': '1'})}
-                               );
                                $('#buttonPlayList').click(function(){
                                        $('#libraryContainer').animate({
                                                height: 'toggle'