Change the colors of articles

Moderator: crythias

Post Reply
Gregor
Znuny advanced
Posts: 118
Joined: 29 Jan 2015, 17:51
Znuny Version: 5.0.20

Change the colors of articles

Post by Gregor »

I plan to change from OTRS 5.0.20 to the new OTRS 6

In OTRS 5 the articles had different colors (incoming, outgoing, note)

Image

In OTRS 6 the colors are not so nice:

Image

I found out that i can change the colors in

/opt/otrs/var/httpd/htdocs/skins/Agent/default/css

For example I have changed the colors for tr.system-Active.

I have seen that there is a paragraph:

/*
* Agent article types
*/
.UseArticleColors .agent-phone > td,
.UseArticleColors .agent-phone .Header {
background: #d1e8d1 !important;
}
.UseArticleColors .agent-email-external > td,
.UseArticleColors .agent-email-external .Header {
background: #d3e5b5 !important;
}
.UseArticleColors .agent-email-internal > td,
.UseArticleColors .agent-email-internal .Header {
background: #ffd1d1 !important;
}
.UseArticleColors .agent-note-external > td,
.UseArticleColors .agent-note-external .Header {
background: #d1d1d1 !important;
}
.UseArticleColors .agent-note-internal > td,
.UseArticleColors .agent-note-internal .Header {
background: #FFCCCC !important;
}


There are the colors of the old system for incoming and outgoning mails.
But these setings are ignored by the system.

Is there maybe a file where I have to enter that these colors should be used and not only those for tr.NotVisibleForCustomers and the tr.system?
Gregor
Znuny advanced
Posts: 118
Joined: 29 Jan 2015, 17:51
Znuny Version: 5.0.20

Re: Change the colors of articles

Post by Gregor »

Nobody has an idea? :(
alexus
Znuny wizard
Posts: 380
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Change the colors of articles

Post by alexus »

/opt/otrs/var/httpd/htdocs/skins/Agent/default/css/Core.TicketDetail.css
And clear the cache after change.
Or create new skin - http://doc.otrs.com/doc/manual/develope ... id-1.3.6.6
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Post Reply