From 284714b171479184627ca5ff146e396b000e9575 2014-02-06 22:54:40 From: Brian E. Granger Date: 2014-02-06 22:54:40 Subject: [PATCH] Spinning sun + nothing for command mode. --- diff --git a/IPython/html/static/notebook/js/notificationarea.js b/IPython/html/static/notebook/js/notificationarea.js index 8656b49..da62a08 100644 --- a/IPython/html/static/notebook/js/notificationarea.js +++ b/IPython/html/static/notebook/js/notificationarea.js @@ -86,12 +86,12 @@ var IPython = (function (IPython) { // Kernel events $([IPython.events]).on('status_idle.Kernel',function () { IPython.save_widget.update_document_title(); - $kernel_ind_icon.attr('class','icon-circle-blank').attr('title','Kernel Idle'); + $kernel_ind_icon.attr('class','').attr('title','Kernel Idle'); }); $([IPython.events]).on('status_busy.Kernel',function () { window.document.title='(Busy) '+window.document.title; - $kernel_ind_icon.attr('class','icon-circle').attr('title','Kernel Busy'); + $kernel_ind_icon.attr('class','icon-sun icon-spin').attr('title','Kernel Busy'); }); $([IPython.events]).on('status_restarting.Kernel',function () { diff --git a/IPython/html/static/notebook/less/notificationarea.less b/IPython/html/static/notebook/less/notificationarea.less index 6cdd0e2..634f31b 100644 --- a/IPython/html/static/notebook/less/notificationarea.less +++ b/IPython/html/static/notebook/less/notificationarea.less @@ -8,6 +8,7 @@ margin: 0px; width: 11px; z-index: 10; + text-align: center; } #kernel_indicator { diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 463ec25..1168116 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1502,7 +1502,7 @@ p{margin-bottom:0} i.menu-icon{padding-top:4px} ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin-right:-1.2em} #notification_area{z-index:10} -.indicator_area{color:#777;padding:4px 3px;margin:0;width:11px;z-index:10} +.indicator_area{color:#777;padding:4px 3px;margin:0;width:11px;z-index:10;text-align:center} #kernel_indicator{margin-right:-16px} .notification_widget{color:#777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240,240,240,0.5)}.notification_widget.span{padding-right:2px} div#pager_splitter{height:8px}