diff --git a/IPython/html/static/tree/less/altuploadform.less b/IPython/html/static/tree/less/altuploadform.less index bc107ff..be608cf 100644 --- a/IPython/html/static/tree/less/altuploadform.less +++ b/IPython/html/static/tree/less/altuploadform.less @@ -1,29 +1,26 @@ /* We need an invisible input field on top of the sentense*/ /* "Drag file onto the list ..." */ -.alternate_upload -{ +.alternate_upload { background-color:none; display: inline; -} -.alternate_upload.form -{ - padding: 0; - margin:0; -} + &.form + { + padding: 0; + margin:0; + } -.alternate_upload input.fileinput -{ - display: inline; - opacity: 0; - z-index: 2; - width: 12ex; - margin-right: -12ex; -} + input.fileinput + { + display: inline; + opacity: 0; + z-index: 2; + width: 12ex; + margin-right: -12ex; + } -.alternate_upload .input-overlay { - display: inline-block; - font-weight: bold; - line-height:1em; + .btn-upload { + height: @btn_mini_height; + } } diff --git a/IPython/html/static/tree/less/tree.less b/IPython/html/static/tree/less/tree.less index ba2236e..1d8b246 100644 --- a/IPython/html/static/tree/less/tree.less +++ b/IPython/html/static/tree/less/tree.less @@ -49,6 +49,7 @@ ul.breadcrumb { } .dynamic-buttons { + padding-top: @dashboard_tb_pad - 1px; display: inline-block; } diff --git a/IPython/html/templates/tree.html b/IPython/html/templates/tree.html index fa22adc..c95dc63 100644 --- a/IPython/html/templates/tree.html +++ b/IPython/html/templates/tree.html @@ -25,24 +25,23 @@ data-terminals-available="{{terminals_available}}"
-
- - To import a notebook, drag the file onto the listing below or - - - click here. - - -
+
+ + + + +
-
- - - - -
+
+ + + + Upload + + +