Re questTracker 3.8 changing the color of "Comment" and "Respond"

Hello,

im new to rt aswell as perl and css.
I would like to change the Color of “Comment” and “Respond” in the
Actions-menu as seen in the Image below.
i searched in the rt wiki and tried different searches on google but nothing
helped then I tried to edit it myself for 3 days now but unfortunatelly it
didnt work so now im posting in this Forum and asking for help.

sincerely

Thomas

http://old.nabble.com/file/p31497320/Color.jpg
View this message in context: http://old.nabble.com/RequestTracker-3.8-changing-the-color-of-"Comment"-and-"Respond"-tp31497320p31497320.html

Thomas,

Well, if you know what numbers correlate to the color you want, you can make
you’re own changes by creating a “local” version for the “css” file used to
display tickets/history. Perhaps the boxes.css file found in
home/share/html/NoAuth/css/web2. I made a change in the “ticket-lists.css”
file to have all searches return with alignment to the top & left. I like it
better there than the default at the bottom.

Hope this helps.

Kenn
LBNLOn Fri, Apr 29, 2011 at 12:04 AM, ThomasSt stepniak.thomas@googlemail.comwrote:

Hello,

im new to rt aswell as perl and css.
I would like to change the Color of “Comment” and “Respond” in the
Actions-menu as seen in the Image below.
i searched in the rt wiki and tried different searches on google but
nothing
helped then I tried to edit it myself for 3 days now but unfortunatelly it
didnt work so now im posting in this Forum and asking for help.

sincerely

Thomas

http://old.nabble.com/file/p31497320/Color.jpg

View this message in context:
http://old.nabble.com/RequestTracker-3.8-changing-the-color-of-"Comment"-and-"Respond"-tp31497320p31497320.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

Hello Kenneth,

The thing i was looking for was in the nav.css found under
home/share/html/NoAuth/css/web2. I had to add a command named

div#page-navigation ul#actions-menu a
{
color: #FF0000;
}

Now the actions-menu is red as seen in the new file (colorchange new.jpg).
But here begins my real problem. Actually i want to color the “Comment”
green and “Repsond” red and leave all other options in black. Can i manage
that through .css?

http://old.nabble.com/file/p31532390/colorchange%2Bnew.jpg
colorchange+new.jpg

Kenneth Crocker wrote:

Thomas,

Well, if you know what numbers correlate to the color you want, you can
make
you’re own changes by creating a “local” version for the “css” file used
to
display tickets/history. Perhaps the boxes.css file found in
home/share/html/NoAuth/css/web2. I made a change in the “ticket-lists.css”
file to have all searches return with alignment to the top & left. I like
it
better there than the default at the bottom.

Hope this helps.

Kenn
LBNL

Hello,

im new to rt aswell as perl and css.
I would like to change the Color of “Comment” and “Respond” in the
Actions-menu as seen in the Image below.
i searched in the rt wiki and tried different searches on google but
nothing
helped then I tried to edit it myself for 3 days now but unfortunatelly
it
didnt work so now im posting in this Forum and asking for help.

sincerely

Thomas

http://old.nabble.com/file/p31497320/Color.jpg

View this message in context:
http://old.nabble.com/RequestTracker-3.8-changing-the-color-of-"Comment"-and-"Respond"-tp31497320p31497320.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

View this message in context: http://old.nabble.com/RequestTracker-3.8-changing-the-color-of-"Comment"-and-"Respond"-tp31497320p31532390.html

The thing i was looking for was in the nav.css found under
home/share/html/NoAuth/css/web2. I had to add a command named

div#page-navigation ul#actions-menu a
{
color: #FF0000;
}

Now the actions-menu is red as seen in the new file (colorchange new.jpg).
But here begins my real problem. Actually i want to color the “Comment”
green and “Repsond” red and leave all other options in black. Can i manage
that through .css?

Those links don’t have individual classes or ids in 3.8. You’d need to
rely on the value of their href attributes. Something like so:

div#page-navigation ul#actions-menu a[href*=Respond] { color: red }
div#page-navigation ul#actions-menu a[href*=Comment] { color: green }

That will only work in browsers that support the *= attribute selector,
which is ~everything except IE6 and below.

Thomas