diff --git a/development/screen-shot-all.jpg b/development/screen-shot-all.jpg index 9684a88..b897863 100644 Binary files a/development/screen-shot-all.jpg and b/development/screen-shot-all.jpg differ diff --git a/index.html b/index.html index 408d4b2..38a8ef7 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,7 @@ On all inputs with className 'color':
$('input.color').colorPicker();
+ @@ -243,6 +244,25 @@ window.myColorPicker = $('input.color').colorPicker({ '.cp-alpha{margin:4px 0;}' }; + // the default skinned and white + plugin.skinned = { + customBG: '#222', + margin: '5px -2px', + cssAddon: // could also be in a css file instead + '.cp-color-picker{border:2px solid #999; padding:10px; background:#eee; overflow:visible;}' + + '.cp-color-picker:before{content:""; display:block; ' + + 'position:absolute; top:-16px; left:12px; border:8px solid #eee;' + + 'border-color: transparent transparent #eee}' + + '.cp-xy-slider{border:1px solid #999; margin-bottom:10px;}' + + '.cp-xy-cursor{width:12px; height:12px; margin:-6px}' + + '.cp-z-slider{margin-left:10px; border:1px solid #999;}' + + '.cp-z-cursor{border-width:5px; margin-top:-5px;}' + + '.cp-color-picker .cp-alpha{margin:10px 0 0; height:6px; overflow:visible; border:1px solid #999;' + + 'background: linear-gradient(to right, rgba(238,238,238,1) 0%,rgba(0,0,0,0) 100%);}' + + '.cp-alpha-cursor{background: #eee; border-radius: 100%;' + + 'width:14px; height:14px; margin:-4px -7px; border:1px solid #666!important}' + }; + $pluginSelect.val(type || 'desktop').