Revision fd76a30f

b/ui/static/main.css
89 89
	position:relative;
90 90
	outline:0;
91 91
    padding: 0 9px 0 13px;
92
    margin-top: 7px;
92
    top: 7px;
93 93
}
94 94

  
95 95
ul.css-tabs a#instances {
......
105 105
}
106 106

  
107 107
ul.css-tabs a#disks.current {
108
  color: #dea842;
108
    color: #dea842;
109 109
}
110 110

  
111 111
ul.css-tabs a#images {
......
125 125
}
126 126

  
127 127
ul.css-tabs a:hover {
128
    margin-top: 2px;
128

  
129 129
}
130 130
	
131 131
/* selected tab */
132 132
ul.css-tabs a.current {
133
	cursor:default;
134
    margin-top: 2px;
133
	cursor:default;   
134
    top: 0px !important; 
135 135
}
136 136

  
137 137
/* tab pane */
b/ui/templates/home.html
43 43
    <script>
44 44
		$(function() {
45 45
		    $('ul.css-tabs li').hover(function(){
46
			    $(this).find('a:not(.current)').animate({top:'-3px'},{queue:false,duration:150});
46
			    $(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150});
47 47
            }, function(){
48
                $(this).find('a:not(.current)').animate({top:'0px'},{queue:false,duration:150});
48
                $('ul.css-tabs li a:not(.current)').animate({top:'7px'},{queue:false,duration:150});
49 49
		    });
50 50
		});
51 51
        $(function() {
52 52
	        $("ul.css-tabs").tabs("div.css-panes div.pane", {	
53 53
		        onBeforeClick: function(event, i) {
54
                    $('ul.css-tabs li a').animate({top:'7px'},{queue:false,duration:150});
54 55
			        // get the pane to be opened
55 56
			        var pane = this.getPanes().eq(i);
56 57
                    pane.text('');
57 58
			        // load it with a page specified in the tab's href attribute
58 59
			        pane.load(this.getTabs().eq(i).attr("href"));
60

  
59 61
		        }
60 62
	        });
61 63
        });
b/ui/templates/instances.html
10 10
    <a id="list" href="/instances/list">=</a>
11 11
</div>
12 12

  
13

  
14

  
13 15
<div id="instancesview" class="standard">
14 16

  
15 17
    <div class="instance" id="instance-template" style="display:none">
......
329 331
        oneInstance: false,
330 332
        load: true,
331 333
        onClose: function(event){
332
                $("div.pane#instances-pane").load($("a#standard").attr("href"));
334
            $("div.pane#instances-pane").load($("a#standard").attr("href"));
333 335
        }
334 336
    });
335 337
    $("#wizard").hide();

Also available in: Unified diff