Skip to content

Conversation

choldgraf
Copy link
Member

@choldgraf choldgraf commented Jun 30, 2022

This is a quick attempt at implementing #46 to see how it looks and for feedback.

Note that it simplifies things a bit further, and doesn't have the blue line extend down below...I think that this makes it a little bit less intrusive and also doesn't shift the content horizontally. It uses the same blue as the JupyterLab UI default theme.

It also fixes a bug on the book theme where there'd be a "dangling" part of the admonition when it was hidden, and adds a bit of "hover interactivity" to make things more obvious when they're interactable.

Here's a demo:

chrome_xo4U8g2XF6

closes #46

@choldgraf choldgraf changed the title Update button for jupyter style Update button for more minimal style inspired by jupyterlab Jun 30, 2022
@tfiers
Copy link

tfiers commented Jul 1, 2022

Looks good, and the ">" for the closed / click to open state (and the "v" for the opened state) feels right, and seems customary: https://ux.stackexchange.com/a/5736/155097

@choldgraf choldgraf merged commit b51ee8b into master Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update togglebutton style to be more minimal and resemble Jupyter Lab UI/UX
2 participants