Color differentiation between unread e-mails and read e-mails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Flupps
    Member
    • Jun 2019
    • 31

    Color differentiation between unread e-mails and read e-mails

    Hi, I would like a color differentiation from unread emails to read emails. Only the bold lines are not rich in contrast. Is there a simple way to change this in the program code?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Add css file


    td[data-name="subject'] strong > a {
    color: red;
    }
    td[data-name="subject'] strong > a:hover {
    color: red;
    }
    td[data-name="subject'] strong > a:active {
    color: red;
    ​​​​​​​}
    ​​​​​​​td[data-name="subject'] strong > a:visited{
    color: red;
    ​​​​​​​}




    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Flupps
      Member
      • Jun 2019
      • 31

      #3
      Thanks a lot, but:

      custom/Espo/Custom/Resources/app/client.json
      {
      "cssList": [
      "custom/Espo/Custom/css/Email.css"
      ]
      }

      custom/Espo/Custom/css/Email.css
      td[data-name="subject'] strong > a {
      color: red;
      }
      td[data-name="subject'] strong > a:hover {
      color: red;
      }
      td[data-name="subject'] strong > a:active {
      color: red;
      }
      td[data-name="subject'] strong > a:visited{
      color: red;
      ​​​​​​​}

      doesn‘t work. There is also no entry in error log file.
      Last edited by Flupps; 09-13-2019, 02:22 PM.

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        You need to place it in and make sure it's readable by the webserver.
        client/custom/

        Clear cache
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • Flupps
          Member
          • Jun 2019
          • 31

          #5
          I got it, it works. You made a little mistake, you used an inverted comma instead of quotation marks. (td[data-name="subject']).

          Thank you very much. That was very helpful, have a nice weekend!

          Flupps
          Last edited by Flupps; 09-14-2019, 08:39 AM. Reason: Edited because the solution was found.

          Comment

          Working...