[ticket/11935] Tweak colour swatch table

PHPBB3-11935
This commit is contained in:
Matt Friedman 2013-10-19 10:14:46 -07:00
parent f003c35fdc
commit dd25b83ee4

View file

@ -11,8 +11,15 @@
color: #fff;
}
table {
border-collapse: separate;
border-spacing: 0;
border: 0;
}
td {
border: solid 1px #333;
border: solid 1px #333;
padding: 1px;
}
.over {
@ -56,7 +63,7 @@
{
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
document.write('<td style="background-color: #' + color + ';" onmouseover="this.className=\'over\'" onmouseout="this.className=\'out\'">');
document.write('<a href="#" onclick="cell(\'' + color + '\'); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="15" height="12" alt="#' + color + '" title="#' + color + '" \/><\/a>');
document.write('<a href="#" onclick="cell(\'' + color + '\'); return false;"><img src="{T_IMAGES_PATH}spacer.gif" width="13" height="10" alt="#' + color + '" title="#' + color + '" \/><\/a>');
document.writeln('<\/td>');
}
}