jupyter-themes icon indicating copy to clipboard operation
jupyter-themes copied to clipboard

jt -N option doesn't toggle logo visibility

Open laitnesserof opened this issue 7 years ago • 5 comments
trafficstars

According to explanations from README.md and usage help(-h), -N option should toggle visibility of notebook names and Jupyter logo.

However, it actually makes only notebook names visible, not Jupyter logo.

It seems that README.md and usege help have to be changed and another option for making logo visible is needed.

Thank you in advance.

laitnesserof avatar Dec 05 '17 10:12 laitnesserof

I apply my theme like so:

jt -t monokai -f roboto -fs 115 -altp -ofs 115 -dfs 11 -tfs 135 -nfs 135 -cellw 88% -N

I do not see the notebook title or jupyter logo at the top. Only the toolbar is visible. I tried changing settings in my custom.css file; however it did not seem to help my situation.

Thanks.

LeenMachine avatar May 29 '18 20:05 LeenMachine

I fixed the issue by changing the following in my .jupyter/custom/custom.css file

div#ipython_notebook { display: block !important; }

body > #header #header-container { display: block !important; padding-bottom: 0px; padding-top: 4px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; }

span.autosave_status { display: block !important; font-size: small; }

Now I can see the jupyter logo, the name of my notebook, and the last saved checkpoint

LeenMachine avatar May 29 '18 21:05 LeenMachine

Thanks @dunovank for the awesome theme. It is easy on the eyes ;)

LeenMachine avatar May 29 '18 21:05 LeenMachine

thanks a lot @LeenMachine ! it really helped. Would be nice to have it solved

davidggphy avatar Jan 31 '19 20:01 davidggphy

@LeenMachine solution was very helpful, however if you change custom.css file directly your changes will be lost everytime you change theme. I tried to change .jupyterthemes/layout/notebook.less

  1. removed div#ipython_notebook { display: none; }
  2. changed span.autosave_status { font-size: small; } Now I see logo and autosave status everytime after the theme is changed. It seems to me that the author removed these elements from layout intentionally.

kobazauros avatar Aug 25 '19 08:08 kobazauros