2
0
mirror of https://github.com/PitPik/tinyColorPicker synced 2025-07-02 15:44:28 -06:00

Demo updates

This commit is contained in:
peterd 2015-02-04 00:24:49 +01:00
parent b2b53ec46e
commit c41df511f6
2 changed files with 2 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -308,7 +308,8 @@ window.myColorPicker = $('input.color').colorPicker({
'.cp-alpha-cursor{background: #eee; border-radius: 100%;' +
'width:14px; height:14px; margin:-5px -7px; border:1px solid #999!important;' +
'box-shadow:inset -2px -4px 3px #ccc}' +
'.cp-alpha:after{position:relative; content:"α"; color:#666; font-size:16px; position:absolute; right:-26px; top:-9px}',
'.cp-alpha:after{position:relative; content:"α"; color:#666; font-size:16px;' +
'font-family:monospace; position:absolute; right:-26px; top:-8px}',
renderCallback: function($elm, toggled) {
var colors = this.color.colors,