Skip to content

Commit

Permalink
Modify tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
mvnnn committed Mar 30, 2016
1 parent d512f27 commit 2e16492
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions latest/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,9 @@ div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
top: 10%;
z-index: 1000000;
width: 65%;
width: 60%;
border-radius: 5px;
border-style: solid;
border-color: #3d5b25;
Expand Down
4 changes: 1 addition & 3 deletions latest/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@
}
});

$("#bottom-list").hover(function () {
$( window ).load(function () {
$('#version-list li a.latestversion').append('<div class="tooltip"><p>Latest version</p></div>');
}, function () {
$('#version-list li a.latestversion div').remove();
});

$('#popupmenu li.has-sub').on('click', function(){
Expand Down

0 comments on commit 2e16492

Please sign in to comment.