2
0
mirror of https://github.com/jupyter/notebook.git synced 2025-01-24 12:05:22 +08:00

fix tooltip

This commit is contained in:
Matthias BUSSONNIER 2013-01-29 22:25:20 +01:00
parent af47d9b287
commit 030211f073
3 changed files with 15 additions and 13 deletions
IPython/frontend/html/notebook/static/less

View File

@ -6,6 +6,7 @@
@import "variables.less";
body {
background-color:@notebook_background;
}
@ -452,6 +453,7 @@ pre, code, kbd, samp { white-space: pre-wrap; }
color: darkred;
}
a {
text-decoration: underline;
}

View File

@ -1,7 +1,7 @@
@import "bootstrap-custom.less";
@import "variables.less";
@import "flexible-box-model.less";
@import "notebook.less";
@import "printnotebook.less";
@import "renderedhtml.less";
@import "tooltip.less";
@import "variables.less";
@import "bootstrap-custom";

View File

@ -98,15 +98,15 @@
padding-right:30px
}
.ipython_tooltip(@t:400ms) {
.ipython_tooltip {
max-width:700px;
/*fade-in animation when inserted*/
-webkit-animation: fadeOut @t;
-moz-animation: fadeOut @t;
animation: fadeOut @t;
-webkit-animation: fadeIn @t;
-moz-animation: fadeIn @t;
animation: fadeIn @t;
-webkit-animation: fadeOut 400ms;
-moz-animation: fadeOut 400ms;
animation: fadeOut 400ms;
-webkit-animation: fadeIn 400ms;
-moz-animation: fadeIn 400ms;
animation: fadeIn 400ms;
vertical-align: middle;
background-color: @cell_background;
@ -118,14 +118,14 @@
padding-left:7px;
font-family: monospace;
min-height:50px;
position: absolute;
.dropshadow;
.corner-all;
a {
float:right;
}
};
position: absolute;
}