##// END OF EJS Templates
semantic names for indicator icons...
Paul Ivanov -
Show More
@@ -75,12 +75,12 b' var IPython = (function (IPython) {'
75 // Command/Edit mode
75 // Command/Edit mode
76 $([IPython.events]).on('edit_mode.Notebook',function () {
76 $([IPython.events]).on('edit_mode.Notebook',function () {
77 IPython.save_widget.update_document_title();
77 IPython.save_widget.update_document_title();
78 $modal_ind_icon.attr('class','icon-pencil').attr('title','Edit Mode');
78 $modal_ind_icon.attr('class','ipython-edit-mode').attr('title','Edit Mode');
79 });
79 });
80
80
81 $([IPython.events]).on('command_mode.Notebook',function () {
81 $([IPython.events]).on('command_mode.Notebook',function () {
82 IPython.save_widget.update_document_title();
82 IPython.save_widget.update_document_title();
83 $modal_ind_icon.attr('class','').attr('title','Command Mode');
83 $modal_ind_icon.attr('class','ipython-command-mode').attr('title','Command Mode');
84 });
84 });
85
85
86 // Kernel events
86 // Kernel events
@@ -16,3 +16,11 b''
16 margin-right: -16px;
16 margin-right: -16px;
17 }
17 }
18
18
19 .ipython-edit-mode:before {
20 .icon(@pencil);
21 }
22
23 .ipython-command-mode:before {
24 .icon(' ');
25 }
26
@@ -1506,6 +1506,8 b' ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin'
1506 #notification_area{z-index:10}
1506 #notification_area{z-index:10}
1507 .indicator_area{color:#777;padding:4px 3px;margin:0;width:11px;z-index:10;text-align:center}
1507 .indicator_area{color:#777;padding:4px 3px;margin:0;width:11px;z-index:10;text-align:center}
1508 #kernel_indicator{margin-right:-16px}
1508 #kernel_indicator{margin-right:-16px}
1509 .ipython-edit-mode:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:"\f040"}
1510 .ipython-command-mode:before{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;content:' '}
1509 .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}
1511 .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}
1510 div#pager_splitter{height:8px}
1512 div#pager_splitter{height:8px}
1511 #pager-container{position:relative;padding:15px 0}
1513 #pager-container{position:relative;padding:15px 0}
General Comments 0
You need to be logged in to leave comments. Login now