mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +01:00
beautify the colorpicker
This commit is contained in:
parent
b46c0e3b3c
commit
9db609ecc1
3 changed files with 4 additions and 4 deletions
|
@ -1125,7 +1125,7 @@ ul#colorpickerswatches
|
||||||
|
|
||||||
ul#colorpickerswatches li
|
ul#colorpickerswatches li
|
||||||
{
|
{
|
||||||
border: 1px solid #fff;
|
border: 1px solid #ccc;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.9 KiB |
|
@ -609,7 +609,7 @@ function closeColorPicker(accept) {
|
||||||
}
|
}
|
||||||
|
|
||||||
colorPickerOpen = false;
|
colorPickerOpen = false;
|
||||||
$("#mycolorpicker").css('display', 'none');
|
$("#mycolorpicker").fadeOut("fast");
|
||||||
}
|
}
|
||||||
|
|
||||||
function showColorPicker() {
|
function showColorPicker() {
|
||||||
|
@ -641,7 +641,7 @@ function showColorPicker() {
|
||||||
colorPickerSetup = true;
|
colorPickerSetup = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#mycolorpicker").css('display', 'block');
|
$("#mycolorpicker").fadeIn();
|
||||||
colorPickerOpen = true;
|
colorPickerOpen = true;
|
||||||
|
|
||||||
$("#colorpickerswatches li").removeClass('picked');
|
$("#colorpickerswatches li").removeClass('picked');
|
||||||
|
|
Loading…
Reference in a new issue