- Issue created by @PhilY
- π©πͺGermany jurgenhaas Gottmadingen
I'd rather propose the following lines to replace the 3 lines instead:
#bpmn-io .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button:not(.bio-properties-panel-arrow), #bpmn-io .bio-properties-panel-dropdown-button .bio-properties-panel-group-header-button { background-color: var(--select-template-background-color); }
That should cover all potential constellations, I believe.
niharika.s β made their first commit to this issueβs fork.
- π«π·France PhilY πͺπΊπ«π· Paris, France
Jurgen, your proposition adds a weird blue styling to the 'Extension properties ' (+) button
PS: I'm using Gin theme. - π©πͺGermany jurgenhaas Gottmadingen
@phily yes, that's on purpose. Because it is just another button to click, just like the template selector. In fact, if you hover over that, it's just expanding and showing a similar button which is labelled "+ create" instead of "+ select". TBH, I don't know why those widgets suddenly became so inconsistent in the upstream library.
With the more generic approach in #2 I would expect to cover all other types of action items as well, that they may come up with in the future - or that are already present and we just haven't found them yet.
- π«π·France PhilY πͺπΊπ«π· Paris, France
OK, so let's add more lines to your Workarounds section in bpmn_io.css:
.bio-properties-panel-add-entry { fill: var(--add-entry-hover-fill-color); }
It's the rule the (+) get when it is hovered (so it will have the same state hovered or not).
So your Workarounds section looks like :/* Workarounds for broken template select button */ #bpmn-io .bio-properties-panel-group-header-buttons .bio-properties-panel-group-header-button:not(.bio-properties-panel-arrow), /* your proposition */ #bpmn-io .bio-properties-panel-dropdown-button .bio-properties-panel-group-header-button { background-color: var(--select-template-background-color); } .bio-properties-panel-add-entry { fill: var(--add-entry-hover-fill-color); /* fix for the black (+) */ }
- π©πͺGermany jurgenhaas Gottmadingen
It's the rule the (+) get when it is hovered (so it will have the same state hovered or not).
Is that necessary? I think the way it is now is not bad, is it?
Hello @jurgenhaas, MR is updated please review it.
- π©πͺGermany jurgenhaas Gottmadingen
Still have a question in the MR.
- π©πͺGermany jurgenhaas Gottmadingen
This is looking great now, thanks @utkarsh_kumar_singh
I leave the status for @phily to review and set it to RTBC when appropriate.
- π«π·France PhilY πͺπΊπ«π· Paris, France
Sorry for being late π.
The updated bpmn_io.css in MR92 seems good for me, thank you both. -
jurgenhaas β
committed 9c2ace75 on 2.1.x authored by
niharika.s β
Issue #3505147 by utkarsh_kumar_singh, phily, niharika.s, jurgenhaas:...
-
jurgenhaas β
committed 9c2ace75 on 2.1.x authored by
niharika.s β
-
jurgenhaas β
committed 5b3db299 on 2.0.x
Issue #3505147 by utkarsh_kumar_singh, phily, niharika.s, jurgenhaas:...
-
jurgenhaas β
committed 5b3db299 on 2.0.x
- π©πͺGermany jurgenhaas Gottmadingen
Merged and back ported to 2.0.x