Cloudbar login fixes
authorOlga Brani <olgabrani@grnet.gr>
Thu, 24 May 2012 13:01:17 +0000 (16:01 +0300)
committerOlga Brani <olgabrani@grnet.gr>
Thu, 24 May 2012 13:01:17 +0000 (16:01 +0300)
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.css
snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js

index 3c3bd23..8444077 100644 (file)
 .cloudbar .profile ul li:hover a                               { color:#01A1AE;}
 
 .cloudbar .profile .full a                      { padding-right:20px; background:url(../images/arrow-white.png) no-repeat right center; width:auto;}
+.cloudbar .profile .full a.open                                        { background-image:url(../images/arrow-white-reverse.png); }
 .cloudbar .profile .full ul                                    { border:1px dashed #000; border-top:0 none; border-right:0 none;}
 .cloudbar .profile ul li a                      { padding-right:0; background:none; color:#000; display:inline; width:auto;}
 .cloudbar ul.services                           { margin:0; padding:0; }
index 7a338a5..b84d187 100644 (file)
@@ -108,9 +108,10 @@ $(document).ready(function(){
         $(this).parents('.profile').css('backgroundColor','#01A1AE');
         
     });*/
-   $('.cloudbar .profile .full a').live('click', function(e){
+   $('.cloudbar .profile .full>a').live('click', function(e){
                e.preventDefault();
                $(this).siblings('ul').toggle();
+               $(this).toggleClass('open');
    });
     
     var profileWidth = profile.outerWidth();