Jump to content

Recommended Posts

Posted

Hi,

I use an external css-file for  treeview.

.tvcolor .x-tree-view {
  background-color: #F0F0F0;
}
.tvcolor .x-tree-view  .x-grid-cell-inner-treecolumn {
  background-color: #F0F0F0;
}

Now I have the problem, that I want to have a special color for a selected item (also mouse move over) and no border for the selected item.

 

image.png.c13f1f798f387c2ff59eab78e9623757.png

Any body who can help me?

Best regards

Posted
14 minutes ago, bbm said:

Now I have the problem, that I want to have a special color for a selected item (also mouse move over)

Hi,

.tvcolor .x-tree-view {
  background-color: #F0F0F0;
}
.tvcolor .x-tree-view .x-grid-item {
  background-color: #F0F0F0;
}

.tvcolor .x-tree-view .x-grid-item-over {
  background-color: lime;
}

.tvcolor .x-tree-view .x-grid-item-selected {
  background-color: limegreen;
}

 

Posted
1 hour ago, bbm said:

Now I have the problem, that I want to have a special color for a selected item (also mouse move over) and no border for the selected item.

.tvcolor .x-tree-view {
  background-color: #F0F0F0;
}
.tvcolor .x-tree-view .x-grid-item {
  background-color: #F0F0F0;
}

.tvcolor .x-tree-view .x-grid-item-over {
  background-color: lime;
}

.tvcolor .x-tree-view .x-grid-item-selected {
  background-color: limegreen;
  
}

.tvcolor .x-tree-view .x-grid-item-focused .x-grid-cell-inner:before {
  border: none;
}

 

Posted

Hi,

thank you very much for your really quick support.:D

It works fine.

Where can I find this information? Or is that years of experience and corresponding knowledge?

Best regards

Posted
15 minutes ago, bbm said:

Where can I find this information? Or is that years of experience and corresponding knowledge?

Hi,

This is a difficult question than the previous one. :) 

Well, here mainly need to learn ExtJS CSS classes, also analyze them using web tools...

Posted

Hi,

 

OK, then I will come back to you, if I have another question. I think this is the better way :).

Thanks again

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...