Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12533

Delete .link-red and a.text-danger classes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1
    • Component/s: UX/UI, Web
    • Labels:
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The links.css file creates two classes .link-red and a.text-danger and gives them color attributes.

      But it looks like .link-red is not used anywhere, and a.text-danger is only used at places where its properties are overridden by other css classes. So all of those css lines can simply be removed:

      link-red,

       

      a.text-danger {| |border-bottom: 1px solid #f8dbde;| |color: var(--red);| |}
       
      .link-red:hover,
      a.text-danger:hover,
      .link-red:active,
      a.text-danger:active,
      .link-red:focus,
      a.text-danger:focus {| |color: #af252f;| |}
       
      .link-red:focus,
      a.text-danger:focus {
      outline: 1px dotted var(--red);

       

       

        Attachments

          Activity

            People

            Assignee:
            gregoire.aubert Gregoire Aubert
            Reporter:
            laura.wacrenier Laura Wacrenier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: