From 43b857619ea0ee6dfc95031a476b764cd97eaf2c Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 2 Oct 2013 19:20:40 +0000 Subject: [PATCH] Add widget subarea style --- IPython/html/static/notebook/less/style.less | 2 -- IPython/html/static/notebook/less/widgetarea.less | 8 ++++++++ IPython/html/static/style/style.min.css | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 IPython/html/static/notebook/less/widgetarea.less diff --git a/IPython/html/static/notebook/less/style.less b/IPython/html/static/notebook/less/style.less index 27fc9599c..8d489e177 100644 --- a/IPython/html/static/notebook/less/style.less +++ b/IPython/html/static/notebook/less/style.less @@ -11,5 +11,3 @@ @import "savewidget.less"; @import "toolbar.less"; @import "tooltip.less"; - - diff --git a/IPython/html/static/notebook/less/widgetarea.less b/IPython/html/static/notebook/less/widgetarea.less new file mode 100644 index 000000000..192152223 --- /dev/null +++ b/IPython/html/static/notebook/less/widgetarea.less @@ -0,0 +1,8 @@ + +/* This class is for the widget subarea inside the widget_area and after + the prompt div. */ +div.widget_subarea { + padding: 0.44em 0.4em 0.4em 1px; + margin-left: 6px; + .box-flex1(); +} diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index f20a963b9..fefd7be2b 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1584,3 +1584,4 @@ span#checkpoint_status,span#autosave_status{font-size:small;} .ipython_tooltip .tooltiptext pre{border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;font-size:100%;background-color:#f7f7f7;} .pretooltiparrow{left:0px;margin:0px;top:-16px;width:40px;height:16px;overflow:hidden;position:absolute;} .pretooltiparrow:before{background-color:#f7f7f7;border:1px #ababab solid;z-index:11;content:"";position:absolute;left:15px;top:10px;width:25px;height:25px;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);} +div.widget_subarea{padding:0.44em 0.4em 0.4em 1px;margin-left:6px;-webkit-box-flex:1;-moz-box-flex:1;box-flex:1;}