Skip to content

Commit

Permalink
remove tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
mvnnn committed Mar 31, 2016
1 parent c01fa8f commit c30392a
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 453 deletions.
29 changes: 1 addition & 28 deletions 0.6.7/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -347,30 +347,3 @@ th {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #60b0d2; }
50% { background-color: #389cc7; }
51% { background-color: #2d7d9f; }
100% { background-color: #225e77; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #1c4e63;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.6.7/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color:#389cc7;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -42,12 +42,6 @@
}
});

$("#bottom-list").hover(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').live('click', function(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
29 changes: 1 addition & 28 deletions 0.7.0/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -384,30 +384,3 @@ div.viewcode-block:target {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #60b0d2; }
50% { background-color: #389cc7; }
51% { background-color: #2d7d9f; }
100% { background-color: #225e77; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #1c4e63;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.7.0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color:#389cc7;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -43,12 +43,6 @@
}
});

$("#bottom-list").hover(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').live('click', function(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
29 changes: 1 addition & 28 deletions 0.7.1/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -384,30 +384,3 @@ div.viewcode-block:target {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #60b0d2; }
50% { background-color: #389cc7; }
51% { background-color: #2d7d9f; }
100% { background-color: #225e77; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #1c4e63;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.7.1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color:#389cc7;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -46,12 +46,6 @@
}
});

$("#bottom-list").hover(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').live('click', function(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
29 changes: 1 addition & 28 deletions 0.7.2-py3k/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -389,30 +389,3 @@ div.viewcode-block:target {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #60b0d2; }
50% { background-color: #389cc7; }
51% { background-color: #2d7d9f; }
100% { background-color: #225e77; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #1c4e63;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.7.2-py3k/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color:#389cc7;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -56,12 +56,6 @@
}
});

$("#bottom-list").hover(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(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
29 changes: 1 addition & 28 deletions 0.7.2/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -389,30 +389,3 @@ div.viewcode-block:target {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #60b0d2; }
50% { background-color: #389cc7; }
51% { background-color: #2d7d9f; }
100% { background-color: #225e77; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #1c4e63;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.7.2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color:#389cc7;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -56,12 +56,6 @@
}
});

$("#bottom-list").hover(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(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
29 changes: 1 addition & 28 deletions 0.7.3/_static/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

@import url("basic.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,600);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400);

/* -- page layout ----------------------------------------------------------- */

Expand Down Expand Up @@ -389,30 +389,3 @@ div.viewcode-block:target {
#popupmenu ul ul > li.open::after {
border-top-color: #666666;
}

@-webkit-keyframes changeColor {
0% { background-color: #95c46e; }
50% { background-color: #81b953; }
51% { background-color: #6ea343; }
100% { background-color: #567f34; }
}

div.tooltip {
color: White;
position: absolute;
left: 35%;
top: -25%;
z-index: 1000000;
width: 65%;
border-radius: 5px;
border-style: solid;
border-color: #3d5b25;
border-width: 0.5%;
-webkit-animation-name: changeColor;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 2s;
}
div.tooltip p {
margin: 10px;
color: White;
}
8 changes: 1 addition & 7 deletions 0.7.3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
if (elem != ""){
var res = elem.split(":");
if(n == (lines.length - 2)){
$("#version-list").prepend("<li><a class='latestversion' style='font-size:100%;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
$("#version-list").prepend("<li><a style='font-size:100%;background-color: #7ab54a;' href="+"../latest/index.html"+"><span>Latest</span></a></li>");
}
else if(res[0] == 'dev'){
$("#version-list").prepend("<li><a style='font-size: 100%;' href="+"../" + res[0] + "/index.html"+"><span>Dev</span></a></li>");
Expand All @@ -56,12 +56,6 @@
}
});

$("#bottom-list").hover(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(){
if ($('li.has-sub').hasClass('open')) {
$('li.has-sub').removeClass('open');
Expand Down
Loading

0 comments on commit c30392a

Please sign in to comment.