Browse Source

support/scripts/pkg-stats: fixed CSS cascade

This fixes the .version-needs-update class being overridden by .correct class.

Signed-off-by: Sen Hastings <sen@phobosdpl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Sen Hastings 3 years ago
parent
commit
af13345d43
1 changed files with 3 additions and 3 deletions
  1. 3 3
      support/scripts/pkg-stats

+ 3 - 3
support/scripts/pkg-stats

@@ -818,12 +818,12 @@ function sortGrid(sortLabel){
 .centered {
 .centered {
   text-align: center;
   text-align: center;
 }
 }
- .wrong, .lotsofpatches, .invalid_url, .version-needs-update, .cpe-nok, .cve-nok {
-   background: #ff9a69;
- }
  .correct, .nopatches, .good_url, .version-good, .cpe-ok, .cve-ok {
  .correct, .nopatches, .good_url, .version-good, .cpe-ok, .cve-ok {
    background: #d2ffc4;
    background: #d2ffc4;
  }
  }
+ .wrong, .lotsofpatches, .invalid_url, .version-needs-update, .cpe-nok, .cve-nok {
+   background: #ff9a69;
+ }
  .somepatches, .missing_url, .version-unknown, .cpe-unknown, .cve-unknown {
  .somepatches, .missing_url, .version-unknown, .cpe-unknown, .cve-unknown {
    background: #ffd870;
    background: #ffd870;
  }
  }