design wip

This commit is contained in:
salam committed 2026-02-03 10:57:50 +01:00
1 parent 70a443db6b
commit eb11298d24
22 files changed
+418 -81

No files matched your search

+9 -9
View File
@@ -195,9 +195,9 @@ class TooltipOdds extends Column
public function getFlags($flags)
{
if ($flags) {
return '<div class="pb-0.5 text-green-600">&check;</div>';
return '<div class="pb-0.5 text-md font-bold text-green-600">&check;</div>';
} else {
return '<div class="pb-0.5 text-info-600">&#9888;</div>';
return '<div class="pb-0.5 text-md font-bold text-info-600">&#9888;</div>';
}
}
@@ -208,9 +208,9 @@ class TooltipOdds extends Column
public function legend()
{
$part = '<div class="col-span-full font-normal flex justify-end gap-2" style="font-size:10px">';
$part .= '<div class="w-12 bg-green-600/25 rounded py-0.5 px-2">Highest</div>';
$part .= '<div class="w-12 bg-blue-600/25 rounded py-0.5 px-2">Lowest</div>';
$part = '<div class="col-span-full font-normal flex justify-end gap-2 text-xs">';
$part .= '<div class="bg-green-600/25 rounded py-0.5 px-2 w-16 text-center">Highest</div>';
$part .= '<div class="bg-blue-600/25 rounded py-0.5 px-2 w-16 text-center">Lowest</div>';
$part .= '</div>';
return $part;
@@ -270,15 +270,15 @@ class TooltipOdds extends Column
if ($this->size > $this->two_cols_break) {
if ($columns == 6) {
$part = '<div class="grid grid-cols-15 gap-2 m-5 mt-1 z-100 text-xs text-center">';
$part = '<div class="grid grid-cols-15 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
} else {
$part = '<div class="grid grid-cols-13 gap-2 m-5 mt-1 z-100 text-xs text-center">';
$part = '<div class="grid grid-cols-13 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
}
} else {
if ($columns == 6) {
$part = '<div class="grid grid-cols-7 gap-2 m-5 mt-1 z-100 text-xs text-center">';
$part = '<div class="grid grid-cols-7 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
} else {
$part = '<div class="grid grid-cols-6 gap-2 m-5 mt-1 z-100 text-xs text-center">';
$part = '<div class="grid grid-cols-6 gap-2 m-5 mt-1 z-100 text-xs text-center striped">';
}
}
$part .= '<div class="col-span-full text-center text-md font-bold mb-2">'.$title.'</div>';