From 536ed1af5b9bd30309785ecb512417d0e5f8f47c Mon Sep 17 00:00:00 2001 From: Heiko Wilknitz Date: Wed, 22 Nov 2023 22:45:38 +0100 Subject: [PATCH] Update v1.0.20221020 --- libs/VisualisationHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/VisualisationHelper.php b/libs/VisualisationHelper.php index 016d037..619bc4a 100644 --- a/libs/VisualisationHelper.php +++ b/libs/VisualisationHelper.php @@ -128,7 +128,7 @@ protected function BuildWidget(array $waste, string $skin, array $custom) $tbc = ($skin == 'light') ? '#D7D6D6' : '#4A4B4D'; $wic = ''; foreach ($custom as $color) { - $wic .= ' .icon--' . $color['Type'] . ' { fill: #' . dechex($color['Color']) . ';}' . PHP_EOL; + $wic .= ' .icon--' . $color['Type'] . ' { fill: #' . sprintf("%06X", $color['Color']) . ';}' . PHP_EOL; } $html = ' @@ -150,7 +150,7 @@ protected function BuildWidget(array $waste, string $skin, array $custom) .hidden { display: none; } table.wwx { border-collapse: collapse; width: 100% } .wwx th, .wwx td { vertical-align: middle; text-align: left; padding: 10px; } - .wwx tr { border-bottom: 2px solid ' . $tbc . '; } + .wwx tr { border-bottom: 1px solid ' . $tbc . '; } .tr4 tr > :nth-child(4) { text-align:right; } .badge { background-color: #00CDAB; font-weight: bold; font-size: 80%; border-radius: 10em; min-width: 1.5em; padding: 0.5em; text-align: center; } @media screen and (min-width: 384px) {