From f179808ac6aafd6270c47b9f85e12d61d6199e74 2012-10-07 16:57:01 From: Matthias BUSSONNIER Date: 2012-10-07 16:57:01 Subject: [PATCH] fix bootstrap name conflicts change .tooltip to .ipython_tooltip class name in css to avoid conflic with bootstrap don't put header logo in h1 to also avoid conflict --- diff --git a/IPython/frontend/html/notebook/static/css/page.css b/IPython/frontend/html/notebook/static/css/page.css index ff2b16c..4ce53a6 100644 --- a/IPython/frontend/html/notebook/static/css/page.css +++ b/IPython/frontend/html/notebook/static/css/page.css @@ -33,7 +33,7 @@ span#ipython_notebook { padding: 2px 2px 2px 5px; } -span#ipython_notebook h1 img { +span#ipython_notebook img { font-family: Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; height: 24px; text-decoration:none; diff --git a/IPython/frontend/html/notebook/static/css/tooltip.css b/IPython/frontend/html/notebook/static/css/tooltip.css index 3c65498..7f569d8 100644 --- a/IPython/frontend/html/notebook/static/css/tooltip.css +++ b/IPython/frontend/html/notebook/static/css/tooltip.css @@ -44,7 +44,7 @@ opacity: 1; } } -.tooltip a { +.ipython_tooltip a { float: right; } /*properties of tooltip after "expand"*/ @@ -81,7 +81,7 @@ padding-right: 30px; } -.tooltip { +.ipython_tooltip { max-width: 700px; border-radius: 4px; -moz-box-shadow: 0px 6px 10px -1px #adadad; diff --git a/IPython/frontend/html/notebook/templates/notebook.html b/IPython/frontend/html/notebook/templates/notebook.html index 40b32bb..08579a6 100644 --- a/IPython/frontend/html/notebook/templates/notebook.html +++ b/IPython/frontend/html/notebook/templates/notebook.html @@ -172,7 +172,7 @@ data-notebook-id={{notebook_id}} - + {% end %} diff --git a/IPython/frontend/html/notebook/templates/page.html b/IPython/frontend/html/notebook/templates/page.html index 311d83a..2819eb3 100644 --- a/IPython/frontend/html/notebook/templates/page.html +++ b/IPython/frontend/html/notebook/templates/page.html @@ -23,7 +23,7 @@