Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: option to remove overlay buttons #561

Open
prosoitos opened this issue Sep 10, 2020 · 4 comments
Open

[Feature request]: option to remove overlay buttons #561

prosoitos opened this issue Sep 10, 2020 · 4 comments

Comments

@prosoitos
Copy link

prosoitos commented Sep 10, 2020

I don't like the help and exit buttons. On my local machine, I got rid of them by messing up with the main.js file. It's not a great solution as my edits will get overridden by the next update. But mostly, if I make a notebook live on Binder, I cannot do the same thing there.

I thought that I could solve the problem thanks to the css by making them transparent, but I can't as they don't have any css-coded colours and they are just links (so the only way to make them transparent would make all my links transparent).

It would be great if there were an option not to show those buttons.

Thanks!!!

@prosoitos
Copy link
Author

(Note, I know that one can remove them with , but I don't want to see them at all. Plus, people watching my presentation on Binder may not know about that command and are likely to have those buttons visible the entire time).

@prosoitos
Copy link
Author

prosoitos commented Sep 10, 2020

I wouldn't mind them as much if they were very small, for instance in the bottom left corner. But I find them rather big and not particularly nice-looking (I mean no offense!!!!!! This is not meant as criticism and is my very personal, very subjective, and totally biased perception!!!). Plus, the exit one in the top left ends up on top of the logo I use in my presentations.

Anyway, if an option to get rid of them entirely existed or if it were possible to customize them (size, position, colour) in the css, that would be great.

Thanks!!! 🙂

parmentelat added a commit that referenced this issue Sep 11, 2020
new setting rise.show_buttons_on_startup
when unchecked all the buttons are faded out after startup
@parmentelat
Copy link
Collaborator

Hi

I just just released 5.7.0-dev5
you can install this as always with

pip install --pre rise

this release has a new setting rise.show_buttons_on_startup that you can set to false (the buttons still show up, but go away after 2 seconds)

on a regular setup you can tweak this interactively through the nbextensions configurator in jupyter classic like here
https://rise.readthedocs.io/en/stable/customize.html#the-configurator

I'm not quite sure how to go about configuring the binder image though; it's been a while since I did this for the last time
(there are many different ways to customize notebook extensions)
feel free to come back here if you hit a wall on that one

@prosoitos
Copy link
Author

Great! Thank you @parmentelat. I'll explore and report here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants