Beta
Nuxeo Answers
ask a question

Hello

I am using nuxeo 5.5 tomcat version , I would like to have the rows in my content table with different colors (like in nuxeo 5.4.1). I have created my own component where I can modify the theme colors, I already found the css file that control the table colors, tables.css, this css file lets me change the rows's color, the problem is that when I change the ccs component that controls the row background this color is applied to all the table rows. I think I could achieve a solution using javascript, but what/where is the html/xml file that defines the content table? Is there any other way to solve this problem?

Thanks

The content views rows are styled with the CSS classes dataRowOdd and dataRowEven. You can use different styles for them to have different colors for odd and even rows.

link
answered Apr 12 '12 at 10:17 Florent Guillaume ♦♦ 3.4k112247 Florent%20Guillaume's gravatar image

Thanks Florent, I just added .dataRowOdd { background-color: #ECF6FF } to my tables.css file and now it is working

(Apr 12 '12 at 16:51) fernandogr
Your answer
toggle preview

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×555
×12
×4

Asked: Apr 12 '12 at 00:20

Seen: 449 times

Last updated: Apr 12 '12 at 16:51