##// END OF EJS Templates
update Parallel Magics notebook
update Parallel Magics notebook

File last commit:

r7202:f229c422
r7498:58b1ac33
Show More
tooltip.css
133 lines | 2.7 KiB | text/css | CssLexer
Matthias BUSSONNIER
change new tooltip appearence...
r7148 /**
* Primary styles
*
* Author: IPython Development Team
Matthias BUSSONNIER
Revert "remove less CSS"...
r7182 */
Matthias BUSSONNIER
shrink less and css, typo in css
r7187 /** WARNING IF YOU ARE EDITTING THIS FILE, if this is a .css file, It has a lot
* of chance of beeing generated from the ../less/[samename].less file, you can
* try to get back the less file by reverting somme commit in history
**/
Matthias BUSSONNIER
Revert "remove less CSS"...
r7182 /*
Matthias BUSSONNIER
shrink less and css, typo in css
r7187 * We'll try to get something pretty, so we
Matthias BUSSONNIER
rename show/hide methods to avoid jQuery conflict....
r7202 * have some strange css to have the scroll bar on
* the left with fix button on the top right of the tooltip
Matthias BUSSONNIER
almost all logic in tooltip.js, padding right button
r7158 */
Matthias BUSSONNIER
change new tooltip appearence...
r7148 @-moz-keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@-webkit-keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@-moz-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.tooltip a {
float: right;
}
/*properties of tooltip after "expand"*/
.bigtooltip {
Matthias Bussonnier
play with tooltip growing css...
r7150 overflow: auto;
height: 200px;
Matthias BUSSONNIER
call tooltip by cell reference
r7156 -webkit-transition-property: height;
-webkit-transition-duration: 1s;
-moz-transition-property: height;
-moz-transition-duration: 1s;
transition-property: height;
transition-duration: 1s;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 }
/*properties of tooltip before "expand"*/
.smalltooltip {
Matthias BUSSONNIER
call tooltip by cell reference
r7156 -webkit-transition-property: height;
-webkit-transition-duration: 1s;
-moz-transition-property: height;
-moz-transition-duration: 1s;
transition-property: height;
transition-duration: 1s;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 text-overflow: ellipsis;
overflow: hidden;
Matthias Bussonnier
play with tooltip growing css...
r7150 height: 80px;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 }
.tooltipbuttons {
position: absolute;
Matthias Bussonnier
play with tooltip growing css...
r7150 padding-right: 15px;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 top: 0px;
right: 0px;
}
Matthias BUSSONNIER
almost all logic in tooltip.js, padding right button
r7158 .tooltiptext {
/*avoid the button to overlap on some docstring*/
padding-right: 30px;
}
Matthias BUSSONNIER
change new tooltip appearence...
r7148 .tooltip {
max-width: 700px;
Matthias BUSSONNIER
fix less css
r7183 border-radius: 4px;
-moz-box-shadow: 0px 6px 10px -1px #adadad;
-webkit-box-shadow: 0px 6px 10px -1px #adadad;
box-shadow: 0px 6px 10px -1px #adadad;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 /*fade-in animation when inserted*/
Matthias Bussonnier
animate tooltip position
r7152 -webkit-animation: fadeOut 800ms;
-moz-animation: fadeOut 800ms;
animation: fadeOut 800ms;
-webkit-animation: fadeIn 800ms;
-moz-animation: fadeIn 800ms;
animation: fadeIn 800ms;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 vertical-align: middle;
background-color: #f7f7f7;
overflow: visible;
Matthias BUSSONNIER
move arow with tooltip positoin
r7155 border: #bbbbbb 1px solid;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 outline: none;
padding: 3px;
margin: 0px;
padding-left: 7px;
font-family: monospace;
min-height: 50px;
position: absolute;
}
.pretooltiparrow {
left: 0px;
Matthias BUSSONNIER
move arow with tooltip positoin
r7155 margin: 0px;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 top: -16px;
Matthias BUSSONNIER
move arow with tooltip positoin
r7155 width: 40px;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 height: 16px;
overflow: hidden;
position: absolute;
}
.pretooltiparrow:before {
background-color: #f7f7f7;
Matthias BUSSONNIER
move arow with tooltip positoin
r7155 border: 1px #bbbbbb solid;
Matthias BUSSONNIER
shorten prearrow
r7154 z-index: 11;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 content: "";
position: absolute;
Matthias BUSSONNIER
shorten prearrow
r7154 left: 15px;
Matthias BUSSONNIER
change new tooltip appearence...
r7148 top: 10px;
width: 25px;
height: 25px;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
}