RobYost Posted November 16, 2017 Share Posted November 16, 2017 in the sencha-touch css selecting an item in a list changes its color but in cupertino it does not. I have been looking at the css files but I don't know what to do. It looks like it has something to do with: .x-item-selected. but everything I try doesn;t work. Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 Hi, We will check it Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 Do you mean the UnimList ?! Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 If yes, here the "default background color" is: http://www.color-hex.com/color/e6e6e6 Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 Can you try this CSS, can help you ?!: .x-list .x-list-item.x-item-selected.x-list-item-tpl { background-color:green; } Link to comment Share on other sites More sharing options...
RobYost Posted November 16, 2017 Author Share Posted November 16, 2017 I am sorry my post was very unclear (it was late at night ). I meant TUnimDBGrid. Is there a document you recommend for understanding CSS files? They seem very complicated. Link to comment Share on other sites More sharing options...
RobYost Posted November 16, 2017 Author Share Posted November 16, 2017 I tried .x-grid-row-selected { background-color: red; } But nothing happened Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 Hi, I will check it and let you know Link to comment Share on other sites More sharing options...
Sherzod Posted November 16, 2017 Share Posted November 16, 2017 Can you try this approach for now ?!: http://forums.unigui.com/index.php?/topic/6931-unimdbgrid-selected-row-color/&do=findComment&comment=35280 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now