From 6217b6283e0d1e8263b6361d4d892600cb75d76a Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Fri, 25 Jan 2013 17:16:09 +0100 Subject: [PATCH] fix a few css rules especially since the introduction of celltoolbar --- .../html/notebook/static/css/celltoolbar.css | 13 +++++++++++-- .../html/notebook/static/less/notebook.less | 3 --- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/IPython/frontend/html/notebook/static/css/celltoolbar.css b/IPython/frontend/html/notebook/static/css/celltoolbar.css index 9c2c4f7b0..9c5279f4b 100644 --- a/IPython/frontend/html/notebook/static/css/celltoolbar.css +++ b/IPython/frontend/html/notebook/static/css/celltoolbar.css @@ -34,7 +34,7 @@ all or one cell's toolbars. display: block; } -.ctb_show .ctb_hideshow + div > div.input_area, +.ctb_show .ctb_hideshow + div > div.input_area, .ctb_show .ctb_hideshow + div.text_cell_input { border-top-right-radius: 0px; border-top-left-radius: 0px; @@ -47,6 +47,7 @@ all or one cell's toolbars. .button_container { float: right; + padding-bottom: 1px; } .button_container .ui-state-default, .button_container .ui-state-hover, .button_container .ui-state-hover span{ @@ -59,16 +60,24 @@ all or one cell's toolbars. margin-top: 0px; margin-bottom: 0px; font-size: 77%; + height:20px; + display:inline; } +.celltoolbar label{ + display:inline; +} .celltoolbar label span { font-size: 77%; } .celltoolbar input[type=checkbox] { - margin-bottom: 1px; + margin: 0px; + margin-left: 4px; + margin-right: 4px; } + .celltoolbar ui-button { border: none; } diff --git a/IPython/frontend/html/notebook/static/less/notebook.less b/IPython/frontend/html/notebook/static/less/notebook.less index 2f339901e..2c8144a23 100644 --- a/IPython/frontend/html/notebook/static/less/notebook.less +++ b/IPython/frontend/html/notebook/static/less/notebook.less @@ -90,9 +90,6 @@ span#notebook_name { margin-right:2px; margin-bottom:0; display: inline; -} - -#cell_type { font-size: 85%; margin-left:0.3em; margin-right:0.3em;