ui icon indicating copy to clipboard operation
ui copied to clipboard

Nexus UI css

Open luisarandas opened this issue 6 years ago • 2 comments

Regarding an earlier response on rounding the corners of nexus ui widgets, I'd like to know if I can do that to only one widget. If

[nexus-ui] { border-radius: 5px; overflow:hidden; }

Changes all the widgets, how can I change only for example the positioning? Best, Luis

luisarandas avatar Dec 16 '18 23:12 luisarandas

You can give the widget's target element an ID and write css for that element. Will that work?

Or, you can give the element itself a class slider.element.className = 'example'. And then write css for that class. There may be a more elegant way to do this!

taylorbf avatar Dec 16 '18 23:12 taylorbf

Thank you very much taylor, I managed to do the first way. I can't get the <var_name>.element.className = 'css_name'; to work but that's ok it works fine with the id! Best Luis

luisarandas avatar Dec 16 '18 23:12 luisarandas