From 7ddc6df4b7a96db3d01d37f84eb79aef5eb0f3e8 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Sat, 26 Jan 2013 10:48:37 +0100 Subject: [PATCH] speedup transition adn use class instead of id --- IPython/frontend/html/notebook/static/less/notebook.less | 2 +- IPython/frontend/html/notebook/static/less/tooltip.less | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/IPython/frontend/html/notebook/static/less/notebook.less b/IPython/frontend/html/notebook/static/less/notebook.less index 11723804f..bf76571c6 100644 --- a/IPython/frontend/html/notebook/static/less/notebook.less +++ b/IPython/frontend/html/notebook/static/less/notebook.less @@ -87,7 +87,7 @@ span#notebook_name { border-bottom: @borderwidth @border_color solid; } -.toolbar select, #maintoolbar label { +.toolbar select, .toolbar label { height : 23px; vertical-align: top; margin-right:2px; diff --git a/IPython/frontend/html/notebook/static/less/tooltip.less b/IPython/frontend/html/notebook/static/less/tooltip.less index f2e51bf3b..8e7b4e656 100644 --- a/IPython/frontend/html/notebook/static/less/tooltip.less +++ b/IPython/frontend/html/notebook/static/less/tooltip.less @@ -30,13 +30,13 @@ } // smoth height adaptation -.smoothheight(@t:1s) { +.smoothheight(@t:500ms) { -webkit-transition-property: height; - -webkit-transition-duration: 1s; + -webkit-transition-duration: @t; -moz-transition-property: height; - -moz-transition-duration: 1s; + -moz-transition-duration: @t; transition-property: height; - transition-duration: 1s; + transition-duration: @t; } @-moz-keyframes fadeOut {