question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve styling for selected elements

See original GitHub issue

My issue is that I can’t find a way to properly highlight selected nodes. I can change the appearance of the label and of the node individually but I need to style the outline of the two together.

Feature request 1: Support outline styling for a :selected node. Feature request 2: Support a visible selection box around the selected objects.

It is feature 1 that I need the most, feature 2 is a nice to have.

The result would be:

untitled_-_paint net_4 0 5_2015-06-08_12-44-06

I took this styling from Visio:

2015-06-08_12-52-07

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
sylvain-hamelcommented, Jun 12, 2015

Thanks! That’s pretty close to what I need!

but I’d need two more things:

  1. Make the outline a rectangle (to follow the shape of the node)
  2. Be able to set a border style and have no fill color.
overlay-color: none
overlay-border-color: blue

That would allow me to do what I originally asked. It is possible?

By the way, thanks a lot for your support.

0reactions
maxkfranzcommented, Jun 12, 2015

Example of what I mean: http://jsbin.com/tenupopesa/1/edit

Read more comments on GitHub >

github_iconTop Results From Across the Web

Styling `select` elements for real - Microsoft Edge Blog
Styling <select> elements consistently across browsers has long been a difficult task. While it is now possible to style the button part of ......
Read more >
How To Select HTML Elements to Style with CSS
You will begin by using the type selector to select HTML elements to style. Then, you will combine selectors to identify and apply...
Read more >
The Current State of Styling Selects in 2019 - CSS-Tricks
Comments · Making a Better Custom Select Element · Say Hello to selectmenu, a Fully Style-able select Element · Overriding Default Button Styles....
Read more >
How to style the option of an html "select" element?
You can style select > option , but there are no reliable crossbrowser solution for doing so and, on chrome at least you...
Read more >
Custom Select Styles with Pure CSS
Modern CSS gives us a range of properties to achieve custom select styles that have a near-identical initial appearance.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found