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

Expose more styling attributes #2716

Open
4 tasks
zerline opened this issue Jan 10, 2020 · 4 comments
Open
4 tasks

Expose more styling attributes #2716

zerline opened this issue Jan 10, 2020 · 4 comments

Comments

@zerline
Copy link
Contributor

zerline commented Jan 10, 2020

At the moment, as style attributes we have:

  • for Button: button_color, font_weight
  • for Description: description_width
  • some specifics for Slider, IntSlider and Progress, and ToggleButtons

Nothing at all for Text and other text inputs, ToggleButton, Checkbox .. and very little for Button finally.

We @LRI and Sagemath community, would very much like:

  • text color, style and weight ; background color
  • background images (supporting at least PNG and SVG)
  • an image/icon in control text or description
  • border-right/left/top/bottom
@tonywang531
Copy link

If I may add, there is no way to specify the width for the actual content except by defining total length. Also the tab length is fixed at 150 pixels which is easily exceeded with even a few words. I understand that the widgets are meant to be a minimalist UI approach, however I am currently stuck with this option as it is the integral part of interactive notebook.

In term of design choices, be able to set up mega menu, drop down with multiple field would be the dream. It would make everything looks much more concise.

@zerline
Copy link
Contributor Author

zerline commented Jan 10, 2020

@tonywang531 what exactly do you mean with "set up" mega menu, drop down .. ?

@tonywang531
Copy link

tonywang531 commented Jan 10, 2020

@tonywang531 what exactly do you mean with "set up" mega menu, drop down .. ?

Please refer to the drop down and pop up menu here. Sorry I could not find the proper name for it.
https://semantic-ui.com/collections/menu.html

@zerline
Copy link
Contributor Author

zerline commented Jan 13, 2020

3 PRs to address the first task

text color, style and weight ; background color

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

No branches or pull requests

2 participants