mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/11935] Tweak colour swatch table
PHPBB3-11935
This commit is contained in:
parent
f003c35fdc
commit
dd25b83ee4
1 changed files with 9 additions and 2 deletions
|
@ -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>');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue