Skip to content

Conversation

karelhala
Copy link
Contributor

closes #84

As requested toolbar items should be colored based on JSON property color for each item.

Buttons, dropdown lists and dropdown items are colored by this property. Separators are not colored.

Color property can be hexa number with hash in it and text corresponding to such color.

Before

selection_173

After

selection_175

Note: added another button with Power text to test data.

@karelhala karelhala requested a review from skateman July 13, 2017 11:50
@skateman
Copy link
Member

How it behaves if there is no color specified?

@karelhala
Copy link
Contributor Author

@skateman the first Power dropdown has no color specified, so it takes default color.

Copy link
Member

@skateman skateman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karelhala
Copy link
Contributor Author

@himdel @mtho11 can you take a look and merge this? So I won't merge it by myself.

@himdel
Copy link
Contributor

himdel commented Jul 13, 2017

LGTM, will merge after #83 so that we can stop manually rebuilding dist/

@skateman
Copy link
Member

@martinpovolny
Copy link
Member

#83 merged.

Please, rebase and we can merge this one.

Thx!

@himdel himdel self-assigned this Jul 14, 2017
@himdel himdel merged commit 7f7b625 into ManageIQ:master Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Color in buttons for toolbars
4 participants