[Buildroot] [PATCH 1/4] support/scripts/pkg-stats: fixed CSS cascade

Sen Hastings sen at phobosdpl.com
Wed Jul 27 15:41:11 UTC 2022


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

Signed-off-by: Sen Hastings <sen at phobosdpl.com>
---
 support/scripts/pkg-stats | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index 91a1a1622d..b2a8ddd446 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -818,12 +818,12 @@ function sortGrid(sortLabel){
 .centered {
   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 {
    background: #d2ffc4;
  }
+ .wrong, .lotsofpatches, .invalid_url, .version-needs-update, .cpe-nok, .cve-nok {
+   background: #ff9a69;
+ }
  .somepatches, .missing_url, .version-unknown, .cpe-unknown, .cve-unknown {
    background: #ffd870;
  }
-- 
2.34.1




More information about the buildroot mailing list