Hello,
Basically I have a few Select fields. I want to change colors but when set a classname it does not care
This is the basic Select:
Select<String> sel = new Select<>(); sel.setItems("item 1", "item 2", "item 3"); sel.addClassName("some-class");
in style.css I have following does NOT work.
.some-class vaadin-select-item { color:#0099FF; font-weight:bold; }
But when put just vaadin-select-item, it changes all Select fields, which I don’t want.
vaadin-select-item { color:#0099FF; font-weight:bold; }