beautify the colorpicker

This commit is contained in:
Peter 'Pita' Martischka 2011-07-06 14:08:20 +01:00
parent b46c0e3b3c
commit 9db609ecc1
3 changed files with 4 additions and 4 deletions

View file

@ -1125,7 +1125,7 @@ ul#colorpickerswatches
ul#colorpickerswatches li
{
border: 1px solid #fff;
border: 1px solid #ccc;
width: 14px;
height: 14px;
overflow: hidden;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -609,7 +609,7 @@ function closeColorPicker(accept) {
}
colorPickerOpen = false;
$("#mycolorpicker").css('display', 'none');
$("#mycolorpicker").fadeOut("fast");
}
function showColorPicker() {
@ -641,10 +641,10 @@ function showColorPicker() {
colorPickerSetup = true;
}
$("#mycolorpicker").css('display', 'block');
$("#mycolorpicker").fadeIn();
colorPickerOpen = true;
$("#colorpickerswatches li").removeClass('picked');
$($("#colorpickerswatches li")[myUserInfo.colorId]).addClass("picked"); //seems weird
}
}
}