From ee3d473cb53bf2f39d6b5cb17302eec2325c389e Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Sat, 23 Nov 2013 00:47:16 +0000 Subject: [PATCH] Added style for widget modal --- .../html/static/notebook/less/widgets.less | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/IPython/html/static/notebook/less/widgets.less b/IPython/html/static/notebook/less/widgets.less index f75a9b548..75f7fcf7a 100644 --- a/IPython/html/static/notebook/less/widgets.less +++ b/IPython/html/static/notebook/less/widgets.less @@ -179,11 +179,6 @@ The widget area typically looks something like this: min-width: 138px; /* + 26px drop arrow btn = 164px */ } - /* ContainerWidget */ - .widget-container { - .border-box-sizing(); - } - /* The following section sets the style for the invisible div that hold widgets and their accompanying labels. @@ -215,3 +210,19 @@ The widget area typically looks something like this: } } } + +/* THE CLASSES BELOW CAN APPEAR ANYWHERE IN THE DOM */ + +/* ContainerWidget - ModalView */ +.widget-modal { + overflow: hidden; + position: absolute !important; + top: 0px; + left: 0px; + margin-left: 0px !important; +} + +/* ContainerWidget */ +.widget-container { + .border-box-sizing(); +} \ No newline at end of file