diff --git a/IPython/frontend/html/notebook/static/css/base.css b/IPython/frontend/html/notebook/static/css/base.css index f3bab3690f5..5088bfb7784 100644 --- a/IPython/frontend/html/notebook/static/css/base.css +++ b/IPython/frontend/html/notebook/static/css/base.css @@ -48,10 +48,16 @@ div#main_app { position: relative; } +/* We set the fonts by hand here to override the values in the theme */ .ui-widget { font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { + font-family: "Lucinda Grande", "Lucinda Sans Unicode", Helvetica, Arial, Verdana, sans-serif; +} + +/* Smaller buttons */ .ui-button .ui-button-text { padding: 0.2em 0.8em; font-size: 77%; diff --git a/IPython/frontend/html/notebook/static/js/savewidget.js b/IPython/frontend/html/notebook/static/js/savewidget.js index f6f2c2f0cc5..5520d2adbb1 100644 --- a/IPython/frontend/html/notebook/static/js/savewidget.js +++ b/IPython/frontend/html/notebook/static/js/savewidget.js @@ -57,7 +57,7 @@ var IPython = (function (IPython) { .css({'margin-bottom': '10px'}) ); dialog.append( - $('').attr('type','text').attr('size','35') + $('').attr('type','text').attr('size','25') .addClass('ui-widget ui-widget-content') .attr('value',that.get_notebook_name()) );