Change the colors of articles

Moderator: crythias

Post Reply
Gregor
OTRS wizard
Posts: 118
Joined: 29 Jan 2015, 17:51
OTRS Version?: 5.0.20

Change the colors of articles

Post by Gregor » 27 Aug 2018, 08:57

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
OTRS wizard
Posts: 118
Joined: 29 Jan 2015, 17:51
OTRS Version?: 5.0.20

Re: Change the colors of articles

Post by Gregor » 04 Sep 2018, 14:52

Nobody has an idea? :(

alexus
OTRS superhero
Posts: 285
Joined: 20 Sep 2010, 16:54
OTRS Version?: ITSM 6.0.22
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: Change the colors of articles

Post by alexus » 11 Sep 2018, 00:06

/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 ITSM 6.0.22 on CentOS 7 x64 Linux with MySQL
Tested: OTRS ITSM 5.0.14
Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
Get OTRS Professional Services - Consulting, Implementation, Training, Development, Support!

Post Reply