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. Quote 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 Quote 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 ?! Quote 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 Quote 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; } Quote 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. Quote 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 Quote 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 Quote 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.