mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-9870-barra-progreso-cola-de-politicas-queda-mal-en-modo-oscuro' into 'develop'
Ent 9870 barra progreso cola de politicas queda mal en modo oscuro See merge request artica/pandorafms!5760
This commit is contained in:
commit
5e598b3671
@ -344,7 +344,11 @@ function drawRating($rating, $width, $height, $font, $out_of_lim_str, $mode, $fo
|
|||||||
$image = imagecreate($width, $height);
|
$image = imagecreate($width, $height);
|
||||||
|
|
||||||
// colors
|
// colors
|
||||||
$back = imagecolorallocate($image, 241, 241, 241);
|
if ($config['style'] === 'pandora_black') {
|
||||||
|
$back = imagecolorallocate($image, 34, 34, 34);
|
||||||
|
} else {
|
||||||
|
$back = imagecolorallocate($image, 241, 241, 241);
|
||||||
|
}
|
||||||
|
|
||||||
$bordercolor = imagecolorallocate($image, 241, 241, 241);
|
$bordercolor = imagecolorallocate($image, 241, 241, 241);
|
||||||
$text = imagecolorallocate($image, 74, 74, 74);
|
$text = imagecolorallocate($image, 74, 74, 74);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user