From f2575f15be7cd197aea8c74f13005ccf40d28bcf Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sat, 26 Jan 2013 10:55:02 +0100 Subject: [PATCH] speedup tooltip --- .../html/notebook/static/less/tooltip.less | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/IPython/frontend/html/notebook/static/less/tooltip.less b/IPython/frontend/html/notebook/static/less/tooltip.less index 8e7b4e656..df4e0156f 100644 --- a/IPython/frontend/html/notebook/static/less/tooltip.less +++ b/IPython/frontend/html/notebook/static/less/tooltip.less @@ -98,15 +98,15 @@ padding-right:30px } -.ipython_tooltip { +.ipython_tooltip(@t:400ms) { max-width:700px; /*fade-in animation when inserted*/ - -webkit-animation: fadeOut 800ms; - -moz-animation: fadeOut 800ms; - animation: fadeOut 800ms; - -webkit-animation: fadeIn 800ms; - -moz-animation: fadeIn 800ms; - animation: fadeIn 800ms; + -webkit-animation: fadeOut @t; + -moz-animation: fadeOut @t; + animation: fadeOut @t; + -webkit-animation: fadeIn @t; + -moz-animation: fadeIn @t; + animation: fadeIn @t; vertical-align: middle; background-color: @cell_background;