mirror of
https://github.com/PitPik/colorPicker.git
synced 2025-07-30 21:34:29 -06:00
blank cursor with css only
This commit is contained in:
parent
099c6f9908
commit
229573ecec
File diff suppressed because one or more lines are too long
@ -11,7 +11,6 @@
|
||||
// _patchesPng: ..., // background images for square sliders in RGB mode
|
||||
// _iconsPng: ..., // some icon sprite images
|
||||
// _bgsPng: ..., // some more icon sprite images
|
||||
// _blankPng: ... // the blank 16x16px image for the transparent cursor
|
||||
// }
|
||||
_devMode = !_data, // if no _data we assume that colorPicker.data.js is missing (for development)
|
||||
_isIE = document.createStyleSheet !== undefined && document.getElementById || !!window.MSInputMethodContext,
|
||||
@ -329,7 +328,6 @@
|
||||
replace(/§/g, prefix).
|
||||
replace('_bgs.png', doesBAS64 ? urlData + _data._bgsPng : _options.imagePath + '_bgs.png').
|
||||
replace('_icons.png', doesBAS64 ? urlData + _data._iconsPng : _options.imagePath + '_icons.png').
|
||||
replace('_blank.png', !_isIE ? urlData + _data._blankPng : _options.imagePath + '_blank.cur').
|
||||
// replace('"Courier New",', !_isIE ? '' : '"Courier New",').
|
||||
replace(/opacity:(\d*\.*(\d+))/g, function($1, $2){
|
||||
return !_doesOpacity ? '-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=' +
|
||||
|
@ -227,7 +227,7 @@ a {
|
||||
border-color: #333;
|
||||
}
|
||||
.no-cursor .hsv-cursor, #hsv_map.no-cursor .cover {
|
||||
cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQI12P4//8/MwAI/wMBbrqo4gAAAABJRU5ErkJggg==), auto;
|
||||
cursor: none; /* also works in IE8 */
|
||||
/*url(_blank.gif), url(_blank.png), url(_blank.cur), auto;*/
|
||||
}
|
||||
#luminanceBar {
|
||||
|
Loading…
x
Reference in New Issue
Block a user