first commit
@ -0,0 +1,686 @@
|
||||
/**!
|
||||
* wp-color-picker-alpha
|
||||
*
|
||||
* Overwrite Automattic Iris for enabled Alpha Channel in wpColorPicker
|
||||
* Only run in input and is defined data alpha in true
|
||||
*
|
||||
* Version: 3.0.3
|
||||
* https://github.com/kallookoo/wp-color-picker-alpha
|
||||
* Licensed under the GPLv2 license or later.
|
||||
*/
|
||||
|
||||
( function ( $, undef ) {
|
||||
var wpColorPickerAlpha = {
|
||||
'version': 302,
|
||||
};
|
||||
|
||||
// Always try to use the last version of this script.
|
||||
if (
|
||||
'wpColorPickerAlpha' in window &&
|
||||
'version' in window.wpColorPickerAlpha
|
||||
) {
|
||||
var version = parseInt( window.wpColorPickerAlpha.version, 10 );
|
||||
if ( ! isNaN( version ) && version >= wpColorPickerAlpha.version ) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent multiple initiations
|
||||
if ( Color.fn.hasOwnProperty( 'to_s' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Create new method to replace the `Color.toString()` inside the scripts.
|
||||
Color.fn.to_s = function ( type ) {
|
||||
type = ( type || 'hex' );
|
||||
// Change hex to rgba to return the correct color.
|
||||
if ( 'hex' === type && this._alpha < 1 ) {
|
||||
type = 'rgba';
|
||||
}
|
||||
|
||||
var color = '';
|
||||
if ( 'hex' === type ) {
|
||||
color = this.toString();
|
||||
} else if ( ! this.error ) {
|
||||
color = this.toCSS( type )
|
||||
.replace( /\(\s+/, '(' )
|
||||
.replace( /\s+\)/, ')' );
|
||||
}
|
||||
return color;
|
||||
};
|
||||
|
||||
// Register the global variable.
|
||||
window.wpColorPickerAlpha = wpColorPickerAlpha;
|
||||
|
||||
// Background image encoded
|
||||
var backgroundImage =
|
||||
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAAHnlligAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHJJREFUeNpi+P///4EDBxiAGMgCCCAGFB5AADGCRBgYDh48CCRZIJS9vT2QBAggFBkmBiSAogxFBiCAoHogAKIKAlBUYTELAiAmEtABEECk20G6BOmuIl0CIMBQ/IEMkO0myiSSraaaBhZcbkUOs0HuBwDplz5uFJ3Z4gAAAABJRU5ErkJggg==';
|
||||
|
||||
/**
|
||||
* Iris
|
||||
*/
|
||||
$.widget( 'a8c.iris', $.a8c.iris, {
|
||||
/**
|
||||
* Alpha options
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
alphaOptions: {
|
||||
alphaEnabled: false,
|
||||
},
|
||||
/**
|
||||
* Get the current color or the new color.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @param {Object|*} The color instance if not defined return the cuurent color.
|
||||
*
|
||||
* @return {string} The element's color.
|
||||
*/
|
||||
_getColor: function ( color ) {
|
||||
if ( color === undef ) {
|
||||
color = this._color;
|
||||
}
|
||||
|
||||
if ( this.alphaOptions.alphaEnabled ) {
|
||||
color = color.to_s( this.alphaOptions.alphaColorType );
|
||||
if ( ! this.alphaOptions.alphaColorWithSpace ) {
|
||||
color = color.replace( /\s+/g, '' );
|
||||
}
|
||||
return color;
|
||||
}
|
||||
return color.toString();
|
||||
},
|
||||
/**
|
||||
* Create widget
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_create: function () {
|
||||
try {
|
||||
// Try to get the wpColorPicker alpha options.
|
||||
this.alphaOptions = this.element.wpColorPicker(
|
||||
'instance'
|
||||
).alphaOptions;
|
||||
} catch ( e ) {}
|
||||
|
||||
// We make sure there are all options
|
||||
$.extend( {}, this.alphaOptions, {
|
||||
alphaEnabled: false,
|
||||
alphaCustomWidth: 130,
|
||||
alphaReset: false,
|
||||
alphaColorType: 'hex',
|
||||
alphaColorWithSpace: false,
|
||||
alphaSkipDebounce: false,
|
||||
alphaDebounceTimeout: 100,
|
||||
} );
|
||||
|
||||
this._super();
|
||||
},
|
||||
/**
|
||||
* Binds event listeners to the Iris.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_addInputListeners: function ( input ) {
|
||||
var self = this,
|
||||
callback = function ( event ) {
|
||||
var val = input.val(),
|
||||
color = new Color( val ),
|
||||
val = val.replace( /^(#|(rgb|hsl)a?)/, '' ),
|
||||
type = self.alphaOptions.alphaColorType;
|
||||
|
||||
input.removeClass( 'iris-error' );
|
||||
|
||||
if ( ! color.error ) {
|
||||
// let's not do this on keyup for hex shortcodes
|
||||
if (
|
||||
'hex' !== type ||
|
||||
! (
|
||||
event.type === 'keyup' &&
|
||||
val.match( /^[0-9a-fA-F]{3}$/ )
|
||||
)
|
||||
) {
|
||||
// Compare color ( #AARRGGBB )
|
||||
if (
|
||||
color.toIEOctoHex() !==
|
||||
self._color.toIEOctoHex()
|
||||
) {
|
||||
self._setOption(
|
||||
'color',
|
||||
self._getColor( color )
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if ( val !== '' ) {
|
||||
input.addClass( 'iris-error' );
|
||||
}
|
||||
};
|
||||
|
||||
input.on( 'change', callback );
|
||||
|
||||
if( ! self.alphaOptions.alphaSkipDebounce ) {
|
||||
input.on( 'keyup', self._debounce( callback, self.alphaOptions.alphaDebounceTimeout ) );
|
||||
}
|
||||
|
||||
// If we initialized hidden, show on first focus. The rest is up to you.
|
||||
if ( self.options.hide ) {
|
||||
input.one( 'focus', function () {
|
||||
self.show();
|
||||
} );
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Init Controls
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_initControls: function () {
|
||||
this._super();
|
||||
|
||||
if ( this.alphaOptions.alphaEnabled ) {
|
||||
// Create Alpha controls
|
||||
var self = this,
|
||||
stripAlpha = self.controls.strip.clone( false, false ),
|
||||
stripAlphaSlider = stripAlpha.find( '.iris-slider-offset' ),
|
||||
controls = {
|
||||
stripAlpha: stripAlpha,
|
||||
stripAlphaSlider: stripAlphaSlider,
|
||||
};
|
||||
|
||||
stripAlpha.addClass( 'iris-strip-alpha' );
|
||||
stripAlphaSlider.addClass( 'iris-slider-offset-alpha' );
|
||||
stripAlpha.appendTo( self.picker.find( '.iris-picker-inner' ) );
|
||||
|
||||
// Push new controls
|
||||
$.each( controls, function ( k, v ) {
|
||||
self.controls[ k ] = v;
|
||||
} );
|
||||
|
||||
// Create slider
|
||||
self.controls.stripAlphaSlider.slider( {
|
||||
orientation: 'vertical',
|
||||
min: 0,
|
||||
max: 100,
|
||||
step: 1,
|
||||
value: parseInt( self._color._alpha * 100 ),
|
||||
slide: function ( event, ui ) {
|
||||
self.active = 'strip';
|
||||
// Update alpha value
|
||||
self._color._alpha = parseFloat( ui.value / 100 );
|
||||
self._change.apply( self, arguments );
|
||||
},
|
||||
} );
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Create the controls sizes
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @param {bool} reset Set to True for recreate the controls sizes.
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_dimensions: function ( reset ) {
|
||||
this._super( reset );
|
||||
|
||||
if ( this.alphaOptions.alphaEnabled ) {
|
||||
var self = this,
|
||||
opts = self.options,
|
||||
controls = self.controls,
|
||||
square = controls.square,
|
||||
strip = self.picker.find( '.iris-strip' ),
|
||||
innerWidth,
|
||||
squareWidth,
|
||||
stripWidth,
|
||||
stripMargin,
|
||||
totalWidth;
|
||||
|
||||
/**
|
||||
* I use Math.round() to avoid possible size errors,
|
||||
* this function returns the value of a number rounded
|
||||
* to the nearest integer.
|
||||
*
|
||||
* The width to append all widgets,
|
||||
* if border is enabled, 22 is subtracted.
|
||||
* 20 for css left and right property
|
||||
* 2 for css border
|
||||
*/
|
||||
innerWidth = Math.round(
|
||||
self.picker.outerWidth( true ) - ( opts.border ? 22 : 0 )
|
||||
);
|
||||
// The width of the draggable, aka square.
|
||||
squareWidth = Math.round( square.outerWidth() );
|
||||
// The width for the sliders
|
||||
stripWidth = Math.round( ( innerWidth - squareWidth ) / 2 );
|
||||
// The margin for the sliders
|
||||
stripMargin = Math.round( stripWidth / 2 );
|
||||
// The total width of the elements.
|
||||
totalWidth = Math.round(squareWidth + ( stripWidth * 2 ) + ( stripMargin * 2 ) );
|
||||
|
||||
// Check and change if necessary.
|
||||
while ( totalWidth > innerWidth ) {
|
||||
stripWidth = Math.round( stripWidth - 2 );
|
||||
stripMargin = Math.round( stripMargin - 1 );
|
||||
totalWidth = Math.round( squareWidth + ( stripWidth * 2 ) + ( stripMargin * 2 ) );
|
||||
}
|
||||
|
||||
square.css( 'margin', '0' );
|
||||
strip
|
||||
.width( stripWidth )
|
||||
.css( 'margin-left', stripMargin + 'px' );
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Callback to update the controls and the current color.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_change: function () {
|
||||
var self = this,
|
||||
active = self.active;
|
||||
|
||||
self._super();
|
||||
|
||||
if ( self.alphaOptions.alphaEnabled ) {
|
||||
var controls = self.controls,
|
||||
alpha = parseInt( self._color._alpha * 100 ),
|
||||
color = self._color.toRgb(),
|
||||
gradient = [
|
||||
'rgb(' + color.r + ',' + color.g + ',' + color.b + ') 0%',
|
||||
'rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0) 100%'
|
||||
],
|
||||
target = self.picker
|
||||
.closest( '.wp-picker-container' )
|
||||
.find( '.wp-color-result' );
|
||||
|
||||
self.options.color = self._getColor();
|
||||
// Generate background slider alpha, only for CSS3.
|
||||
controls.stripAlpha.css( {'background' : 'linear-gradient(to bottom, ' + gradient.join( ', ' ) + '), url(' + backgroundImage + ')' } );
|
||||
// Update alpha value
|
||||
if ( active ) {
|
||||
controls.stripAlphaSlider.slider( 'value', alpha );
|
||||
}
|
||||
|
||||
if ( ! self._color.error ) {
|
||||
self.element.removeClass( 'iris-error' ).val( self.options.color );
|
||||
}
|
||||
|
||||
self.picker
|
||||
.find( '.iris-palette-container' )
|
||||
.on( 'click.palette', '.iris-palette', function () {
|
||||
var color = $( this ).data( 'color' );
|
||||
if ( self.alphaOptions.alphaReset ) {
|
||||
self._color._alpha = 1;
|
||||
color = self._getColor();
|
||||
}
|
||||
self._setOption( 'color', color );
|
||||
} );
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Paint dimensions.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @param {string} origin Origin (position).
|
||||
* @param {string} control Type of the control,
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_paintDimension: function ( origin, control ) {
|
||||
var self = this,
|
||||
color = false;
|
||||
|
||||
// Fix for slider hue opacity.
|
||||
if ( self.alphaOptions.alphaEnabled && 'strip' === control ) {
|
||||
color = self._color;
|
||||
self._color = new Color( color.toString() );
|
||||
self.hue = self._color.h();
|
||||
}
|
||||
|
||||
self._super( origin, control );
|
||||
|
||||
// Restore the color after paint.
|
||||
if ( color ) {
|
||||
self._color = color;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* To update the options, see original source to view the available options.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {string} key The Option name.
|
||||
* @param {mixed} value The Option value to update.
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_setOption: function ( key, value ) {
|
||||
var self = this;
|
||||
if ( 'color' === key && self.alphaOptions.alphaEnabled ) {
|
||||
// cast to string in case we have a number
|
||||
value = '' + value;
|
||||
newColor = new Color( value ).setHSpace( self.options.mode );
|
||||
// Check if error && Check the color to prevent callbacks with the same color.
|
||||
if (
|
||||
! newColor.error &&
|
||||
self._getColor( newColor ) !== self._getColor()
|
||||
) {
|
||||
self._color = newColor;
|
||||
self.options.color = self._getColor();
|
||||
self.active = 'external';
|
||||
self._change();
|
||||
}
|
||||
} else {
|
||||
return self._super( key, value );
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Returns the iris object if no new color is provided. If a new color is provided, it sets the new color.
|
||||
*
|
||||
* @param newColor {string|*} The new color to use. Can be undefined.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @return {string} The element's color.
|
||||
*/
|
||||
color: function ( newColor ) {
|
||||
if ( newColor === true ) {
|
||||
return this._color.clone();
|
||||
}
|
||||
if ( newColor === undef ) {
|
||||
return this._getColor();
|
||||
}
|
||||
this.option( 'color', newColor );
|
||||
},
|
||||
} );
|
||||
|
||||
/**
|
||||
* wpColorPicker
|
||||
*/
|
||||
$.widget( 'wp.wpColorPicker', $.wp.wpColorPicker, {
|
||||
/**
|
||||
* Alpha options
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @type {Object}
|
||||
*/
|
||||
alphaOptions: {
|
||||
alphaEnabled: false,
|
||||
},
|
||||
/**
|
||||
* Get the alpha options.
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {object} The current alpha options.
|
||||
*/
|
||||
_getAlphaOptions: function () {
|
||||
var el = this.element,
|
||||
type = ( el.data( 'type' ) || this.options.type ),
|
||||
color = ( el.data( 'defaultColor' ) || el.val() ),
|
||||
options = {
|
||||
alphaEnabled: ( el.data( 'alphaEnabled' ) || false ),
|
||||
alphaCustomWidth: 130,
|
||||
alphaReset: false,
|
||||
alphaColorType: 'rgb',
|
||||
alphaColorWithSpace: false,
|
||||
alphaSkipDebounce: ( !!el.data( 'alphaSkipDebounce' ) || false ),
|
||||
};
|
||||
|
||||
if ( options.alphaEnabled ) {
|
||||
options.alphaEnabled = ( el.is( 'input' ) && 'full' === type );
|
||||
}
|
||||
|
||||
if ( ! options.alphaEnabled ) {
|
||||
return options;
|
||||
}
|
||||
|
||||
options.alphaColorWithSpace = ( color && color.match( /\s/ ) );
|
||||
|
||||
$.each( options, function ( name, defaultValue ) {
|
||||
var value = ( el.data( name ) || defaultValue );
|
||||
switch ( name ) {
|
||||
case 'alphaCustomWidth':
|
||||
value = ( value ? parseInt( value, 10 ) : 0 );
|
||||
value = ( isNaN( value ) ? defaultValue : value );
|
||||
break;
|
||||
case 'alphaColorType':
|
||||
if ( ! value.match( /^(hex|(rgb|hsl)a?)$/ ) ) {
|
||||
if ( color && color.match( /^#/ ) ) {
|
||||
value = 'hex';
|
||||
} else if ( color && color.match( /^hsla?/ ) ) {
|
||||
value = 'hsl';
|
||||
} else {
|
||||
value = defaultValue;
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
value = !! value;
|
||||
break;
|
||||
}
|
||||
options[ name ] = value;
|
||||
} );
|
||||
|
||||
return options;
|
||||
},
|
||||
/**
|
||||
* Create widget
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_create: function () {
|
||||
// Return early if Iris support is missing.
|
||||
if ( ! $.support.iris ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Set the alpha options for the current instance.
|
||||
this.alphaOptions = this._getAlphaOptions();
|
||||
|
||||
// Create widget.
|
||||
this._super();
|
||||
},
|
||||
/**
|
||||
* Binds event listeners to the color picker and create options, etc...
|
||||
*
|
||||
* @since 3.0.0
|
||||
* @access private
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
_addListeners: function () {
|
||||
if ( ! this.alphaOptions.alphaEnabled ) {
|
||||
return this._super();
|
||||
}
|
||||
|
||||
var self = this,
|
||||
el = self.element,
|
||||
isDeprecated = self.toggler.is( 'a' );
|
||||
|
||||
this.alphaOptions.defaultWidth = el.width();
|
||||
if ( this.alphaOptions.alphaCustomWidth ) {
|
||||
el.width(
|
||||
parseInt(
|
||||
this.alphaOptions.defaultWidth +
|
||||
this.alphaOptions.alphaCustomWidth,
|
||||
10
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
self.toggler.css( {
|
||||
'position': 'relative',
|
||||
'background-image': 'url(' + backgroundImage + ')',
|
||||
} );
|
||||
|
||||
if ( isDeprecated ) {
|
||||
self.toggler.html( '<span class="color-alpha" />' );
|
||||
} else {
|
||||
self.toggler.append( '<span class="color-alpha" />' );
|
||||
}
|
||||
|
||||
self.colorAlpha = self.toggler.find( 'span.color-alpha' ).css( {
|
||||
'width': '30px',
|
||||
'height': '100%',
|
||||
'position': 'absolute',
|
||||
'top': 0,
|
||||
'background-color': el.val(),
|
||||
} );
|
||||
|
||||
// Define the correct position for ltr or rtl direction.
|
||||
if ( 'ltr' === self.colorAlpha.css( 'direction' ) ) {
|
||||
self.colorAlpha.css( {
|
||||
'border-bottom-left-radius': '2px',
|
||||
'border-top-left-radius': '2px',
|
||||
'left': 0,
|
||||
} );
|
||||
} else {
|
||||
self.colorAlpha.css( {
|
||||
'border-bottom-right-radius': '2px',
|
||||
'border-top-right-radius': '2px',
|
||||
'right': 0,
|
||||
} );
|
||||
}
|
||||
|
||||
el.iris( {
|
||||
/**
|
||||
* @summary Handles the onChange event if one has been defined in the options.
|
||||
*
|
||||
* Handles the onChange event if one has been defined in the options and additionally
|
||||
* sets the background color for the toggler element.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Event} event The event that's being called.
|
||||
* @param {HTMLElement} ui The HTMLElement containing the color picker.
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
change: function ( event, ui ) {
|
||||
self.colorAlpha.css( {
|
||||
'background-color': ui.color.to_s(
|
||||
self.alphaOptions.alphaColorType
|
||||
),
|
||||
} );
|
||||
|
||||
// fire change callback if we have one
|
||||
if ( typeof self.options.change === 'function' ) {
|
||||
self.options.change.call( this, event, ui );
|
||||
}
|
||||
},
|
||||
} );
|
||||
|
||||
/**
|
||||
* Prevent any clicks inside this widget from leaking to the top and closing it.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Event} event The event that's being called.
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
self.wrap.on( 'click.wpcolorpicker', function ( event ) {
|
||||
event.stopPropagation();
|
||||
} );
|
||||
|
||||
/**
|
||||
* Open or close the color picker depending on the class.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
self.toggler.on( 'click', function () {
|
||||
if ( self.toggler.hasClass( 'wp-picker-open' ) ) {
|
||||
self.close();
|
||||
} else {
|
||||
self.open();
|
||||
}
|
||||
} );
|
||||
|
||||
/**
|
||||
* Checks if value is empty when changing the color in the color picker.
|
||||
* If so, the background color is cleared.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Event} event The event that's being called.
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
el.on( 'change', function ( event ) {
|
||||
var val = $( this ).val();
|
||||
|
||||
if (
|
||||
el.hasClass( 'iris-error' ) ||
|
||||
val === '' ||
|
||||
val.match( /^(#|(rgb|hsl)a?)$/ )
|
||||
) {
|
||||
if ( isDeprecated ) {
|
||||
self.toggler.removeAttr( 'style' );
|
||||
}
|
||||
|
||||
self.colorAlpha.css( 'background-color', '' );
|
||||
|
||||
// fire clear callback if we have one
|
||||
if ( typeof self.options.clear === 'function' ) {
|
||||
self.options.clear.call( this, event );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
||||
/**
|
||||
* Enables the user to either clear the color in the color picker or revert back to the default color.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param {Event} event The event that's being called.
|
||||
*
|
||||
* @return {void}
|
||||
*/
|
||||
self.button.on( 'click', function ( event ) {
|
||||
if ( $( this ).hasClass( 'wp-picker-default' ) ) {
|
||||
el.val( self.options.defaultColor ).change();
|
||||
} else if ( $( this ).hasClass( 'wp-picker-clear' ) ) {
|
||||
el.val( '' );
|
||||
if ( isDeprecated ) {
|
||||
self.toggler.removeAttr( 'style' );
|
||||
}
|
||||
|
||||
self.colorAlpha.css( 'background-color', '' );
|
||||
|
||||
// fire clear callback if we have one
|
||||
if ( typeof self.options.clear === 'function' ) {
|
||||
self.options.clear.call( this, event );
|
||||
}
|
||||
|
||||
el.trigger( 'change' );
|
||||
}
|
||||
} );
|
||||
},
|
||||
} );
|
||||
} )( jQuery );
|
After Width: | Height: | Size: 84 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.7 KiB |
650
wp-content/plugins/advanced-custom-fields-pro/assets/inc/datepicker/jquery-ui.css
vendored
Normal file
@ -0,0 +1,650 @@
|
||||
/*! jQuery UI - v1.11.4 - 2016-05-31
|
||||
* http://jqueryui.com
|
||||
* Includes: core.css, datepicker.css, theme.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=%22Open%20Sans%22%2C%E2%80%8B%20sans-serif&fsDefault=14px&fwDefault=normal&cornerRadius=3&bgColorHeader=%23ffffff&bgTextureHeader=highlight_soft&borderColorHeader=%23ffffff&fcHeader=%23222222&iconColorHeader=%23DDDDDD&bgColorContent=%23ffffff&bgTextureContent=flat&borderColorContent=%23E1E1E1&fcContent=%23444444&iconColorContent=%23444444&bgColorDefault=%23F9F9F9&bgTextureDefault=flat&borderColorDefault=%23F0F0F0&fcDefault=%23444444&iconColorDefault=%23444444&bgColorHover=%2398b7e8&bgTextureHover=flat&borderColorHover=%2398b7e8&fcHover=%23ffffff&iconColorHover=%23ffffff&bgColorActive=%233875d7&bgTextureActive=flat&borderColorActive=%233875d7&fcActive=%23ffffff&iconColorActive=%23ffffff&bgColorHighlight=%23ffffff&bgTextureHighlight=flat&borderColorHighlight=%23aaaaaa&fcHighlight=%23444444&iconColorHighlight=%23444444&bgColorError=%23E14D43&bgTextureError=flat&borderColorError=%23E14D43&fcError=%23ffffff&iconColorError=%23ffffff&bgColorOverlay=%23ffffff&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=30&bgColorShadow=%23aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=30&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px&bgImgOpacityHeader=0&bgImgOpacityContent=&bgImgOpacityDefault=0&bgImgOpacityHover=0&bgImgOpacityActive=0&bgImgOpacityHighlight=0&bgImgOpacityError=0
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-clearfix {
|
||||
min-height: 0; /* support: IE7 */
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0); /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
display: block;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-datepicker {
|
||||
width: 17em;
|
||||
padding: .2em .2em 0;
|
||||
display: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-header {
|
||||
position: relative;
|
||||
padding: .2em 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev,
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
width: 1.8em;
|
||||
height: 1.8em;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover,
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
top: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev {
|
||||
left: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next {
|
||||
right: 2px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev-hover {
|
||||
left: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-next-hover {
|
||||
right: 1px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-prev span,
|
||||
.ui-datepicker .ui-datepicker-next span {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title {
|
||||
margin: 0 2.3em;
|
||||
line-height: 1.8em;
|
||||
text-align: center;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-title select {
|
||||
font-size: 1em;
|
||||
margin: 1px 0;
|
||||
}
|
||||
.ui-datepicker select.ui-datepicker-month,
|
||||
.ui-datepicker select.ui-datepicker-year {
|
||||
width: 45%;
|
||||
}
|
||||
.ui-datepicker table {
|
||||
width: 100%;
|
||||
font-size: .9em;
|
||||
border-collapse: collapse;
|
||||
margin: 0 0 .4em;
|
||||
}
|
||||
.ui-datepicker th {
|
||||
padding: .7em .3em;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
border: 0;
|
||||
}
|
||||
.ui-datepicker td {
|
||||
border: 0;
|
||||
padding: 1px;
|
||||
}
|
||||
.ui-datepicker td span,
|
||||
.ui-datepicker td a {
|
||||
display: block;
|
||||
padding: .2em;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane {
|
||||
background-image: none;
|
||||
margin: .7em 0 0 0;
|
||||
padding: 0 .2em;
|
||||
border-left: 0;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button {
|
||||
float: right;
|
||||
margin: .5em .2em .4em;
|
||||
cursor: pointer;
|
||||
padding: .2em .6em .3em .6em;
|
||||
width: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
|
||||
float: left;
|
||||
}
|
||||
|
||||
/* with multiple calendars */
|
||||
.ui-datepicker.ui-datepicker-multi {
|
||||
width: auto;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group table {
|
||||
width: 95%;
|
||||
margin: 0 auto .4em;
|
||||
}
|
||||
.ui-datepicker-multi-2 .ui-datepicker-group {
|
||||
width: 50%;
|
||||
}
|
||||
.ui-datepicker-multi-3 .ui-datepicker-group {
|
||||
width: 33.3%;
|
||||
}
|
||||
.ui-datepicker-multi-4 .ui-datepicker-group {
|
||||
width: 25%;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-left-width: 0;
|
||||
}
|
||||
.ui-datepicker-multi .ui-datepicker-buttonpane {
|
||||
clear: left;
|
||||
}
|
||||
.ui-datepicker-row-break {
|
||||
clear: both;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
}
|
||||
|
||||
/* RTL support */
|
||||
.ui-datepicker-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev {
|
||||
right: 2px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next {
|
||||
left: 2px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover {
|
||||
right: 1px;
|
||||
left: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-next:hover {
|
||||
left: 1px;
|
||||
right: auto;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane {
|
||||
clear: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button {
|
||||
float: left;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
|
||||
.ui-datepicker-rtl .ui-datepicker-group {
|
||||
float: right;
|
||||
}
|
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
|
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
|
||||
border-right-width: 0;
|
||||
border-left-width: 1px;
|
||||
}
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.acf-ui-datepicker .ui-widget {
|
||||
font-family: inherit;
|
||||
font-size: 14px;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget input,
|
||||
.acf-ui-datepicker .ui-widget select,
|
||||
.acf-ui-datepicker .ui-widget textarea,
|
||||
.acf-ui-datepicker .ui-widget button {
|
||||
font-family: inherit;
|
||||
font-size: 1em;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-content {
|
||||
border: 1px solid #E1E1E1;
|
||||
background: #ffffff;
|
||||
color: #444444;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-content a {
|
||||
color: #444444;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-header {
|
||||
border: 1px solid #ffffff;
|
||||
background: #ffffff url("images/ui-bg_highlight-soft_0_ffffff_1x100.png") 50% 50% repeat-x;
|
||||
color: #222222;
|
||||
font-weight: bold;
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-header a {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.acf-ui-datepicker .ui-state-default,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-default,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-default {
|
||||
border: 1px solid #F0F0F0;
|
||||
background: #F9F9F9;
|
||||
font-weight: normal;
|
||||
color: #444444;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-default a,
|
||||
.acf-ui-datepicker .ui-state-default a:link,
|
||||
.acf-ui-datepicker .ui-state-default a:visited {
|
||||
color: #444444;
|
||||
text-decoration: none;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-hover,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-hover,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-hover,
|
||||
.acf-ui-datepicker .ui-state-focus,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-focus,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-focus {
|
||||
border: 1px solid #98b7e8;
|
||||
background: #98b7e8;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-hover a,
|
||||
.acf-ui-datepicker .ui-state-hover a:hover,
|
||||
.acf-ui-datepicker .ui-state-hover a:link,
|
||||
.acf-ui-datepicker .ui-state-hover a:visited,
|
||||
.acf-ui-datepicker .ui-state-focus a,
|
||||
.acf-ui-datepicker .ui-state-focus a:hover,
|
||||
.acf-ui-datepicker .ui-state-focus a:link,
|
||||
.acf-ui-datepicker .ui-state-focus a:visited {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-active,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-active,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-active {
|
||||
border: 1px solid #3875d7;
|
||||
background: #3875d7;
|
||||
font-weight: normal;
|
||||
color: #ffffff;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-active a,
|
||||
.acf-ui-datepicker .ui-state-active a:link,
|
||||
.acf-ui-datepicker .ui-state-active a:visited {
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.acf-ui-datepicker .ui-state-highlight,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-highlight,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #ffffff;
|
||||
color: #444444;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-highlight a,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-highlight a,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-highlight a {
|
||||
color: #444444;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-error,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-error,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-error {
|
||||
border: 1px solid #E14D43;
|
||||
background: #E14D43;
|
||||
color: #ffffff;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-error a,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-error a,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-error a {
|
||||
color: #ffffff;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-error-text,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-error-text,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-error-text {
|
||||
color: #ffffff;
|
||||
}
|
||||
.acf-ui-datepicker .ui-priority-primary,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-priority-primary,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.acf-ui-datepicker .ui-priority-secondary,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-priority-secondary,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70); /* support: IE8 */
|
||||
font-weight: normal;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-disabled,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-state-disabled,
|
||||
.acf-ui-datepicker .ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35); /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.acf-ui-datepicker .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.acf-ui-datepicker .ui-icon,
|
||||
.acf-ui-datepicker .ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_DDDDDD_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-default .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-hover .ui-icon,
|
||||
.acf-ui-datepicker .ui-state-focus .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-active .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-highlight .ui-icon {
|
||||
background-image: url("images/ui-icons_444444_256x240.png");
|
||||
}
|
||||
.acf-ui-datepicker .ui-state-error .ui-icon,
|
||||
.acf-ui-datepicker .ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_ffffff_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.acf-ui-datepicker .ui-icon-blank { background-position: 16px 16px; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-n { background-position: 0 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-ne { background-position: -16px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-e { background-position: -32px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-se { background-position: -48px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-s { background-position: -64px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-sw { background-position: -80px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-w { background-position: -96px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-1-nw { background-position: -112px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-2-n-s { background-position: -128px 0; }
|
||||
.acf-ui-datepicker .ui-icon-carat-2-e-w { background-position: -144px 0; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-s { background-position: -64px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-s { background-position: -64px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.acf-ui-datepicker .ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-extlink { background-position: -32px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-newwin { background-position: -48px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-refresh { background-position: -64px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.acf-ui-datepicker .ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.acf-ui-datepicker .ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-document { background-position: -32px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-document-b { background-position: -48px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-note { background-position: -64px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-comment { background-position: -128px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-person { background-position: -144px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-print { background-position: -160px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-trash { background-position: -176px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-locked { background-position: -192px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-tag { background-position: -240px -96px; }
|
||||
.acf-ui-datepicker .ui-icon-home { background-position: 0 -112px; }
|
||||
.acf-ui-datepicker .ui-icon-flag { background-position: -16px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-calendar { background-position: -32px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-cart { background-position: -48px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-pencil { background-position: -64px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-clock { background-position: -80px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-disk { background-position: -96px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-calculator { background-position: -112px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-search { background-position: -160px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-wrench { background-position: -176px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-gear { background-position: -192px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-heart { background-position: -208px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-star { background-position: -224px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-link { background-position: -240px -112px; }
|
||||
.acf-ui-datepicker .ui-icon-cancel { background-position: 0 -128px; }
|
||||
.acf-ui-datepicker .ui-icon-plus { background-position: -16px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-minus { background-position: -48px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-close { background-position: -80px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-closethick { background-position: -96px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-key { background-position: -112px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-scissors { background-position: -144px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-copy { background-position: -176px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-contact { background-position: -192px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-image { background-position: -208px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-video { background-position: -224px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-script { background-position: -240px -128px; }
|
||||
.acf-ui-datepicker .ui-icon-alert { background-position: 0 -144px; }
|
||||
.acf-ui-datepicker .ui-icon-info { background-position: -16px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-notice { background-position: -32px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-help { background-position: -48px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-check { background-position: -64px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-bullet { background-position: -80px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.acf-ui-datepicker .ui-icon-play { background-position: 0 -160px; }
|
||||
.acf-ui-datepicker .ui-icon-pause { background-position: -16px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.acf-ui-datepicker .ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-stop { background-position: -96px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-eject { background-position: -112px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.acf-ui-datepicker .ui-icon-power { background-position: 0 -176px; }
|
||||
.acf-ui-datepicker .ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-signal { background-position: -32px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.acf-ui-datepicker .ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.acf-ui-datepicker .ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.acf-ui-datepicker .ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.acf-ui-datepicker .ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.acf-ui-datepicker .ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.acf-ui-datepicker .ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.acf-ui-datepicker .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.acf-ui-datepicker .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.acf-ui-datepicker .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.acf-ui-datepicker .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.acf-ui-datepicker .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.acf-ui-datepicker .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.acf-ui-datepicker .ui-corner-all,
|
||||
.acf-ui-datepicker .ui-corner-top,
|
||||
.acf-ui-datepicker .ui-corner-left,
|
||||
.acf-ui-datepicker .ui-corner-tl {
|
||||
border-top-left-radius: 3px;
|
||||
}
|
||||
.acf-ui-datepicker .ui-corner-all,
|
||||
.acf-ui-datepicker .ui-corner-top,
|
||||
.acf-ui-datepicker .ui-corner-right,
|
||||
.acf-ui-datepicker .ui-corner-tr {
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
.acf-ui-datepicker .ui-corner-all,
|
||||
.acf-ui-datepicker .ui-corner-bottom,
|
||||
.acf-ui-datepicker .ui-corner-left,
|
||||
.acf-ui-datepicker .ui-corner-bl {
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
.acf-ui-datepicker .ui-corner-all,
|
||||
.acf-ui-datepicker .ui-corner-bottom,
|
||||
.acf-ui-datepicker .ui-corner-right,
|
||||
.acf-ui-datepicker .ui-corner-br {
|
||||
border-bottom-right-radius: 3px;
|
||||
}
|
||||
|
||||
/* Overlays */
|
||||
.acf-ui-datepicker .ui-widget-overlay {
|
||||
background: #ffffff;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
}
|
||||
.acf-ui-datepicker .ui-widget-shadow {
|
||||
margin: -8px 0 0 -8px;
|
||||
padding: 8px;
|
||||
background: #aaaaaa;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
border-radius: 8px;
|
||||
}
|
7
wp-content/plugins/advanced-custom-fields-pro/assets/inc/datepicker/jquery-ui.min.css
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
704
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/3/select2.css
vendored
Normal file
@ -0,0 +1,704 @@
|
||||
/*
|
||||
Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014
|
||||
*/
|
||||
.select2-container {
|
||||
margin: 0;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
/* inline-block for ie7 */
|
||||
zoom: 1;
|
||||
*display: inline;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.select2-container,
|
||||
.select2-drop,
|
||||
.select2-search,
|
||||
.select2-search input {
|
||||
/*
|
||||
Force border-box so that % widths fit the parent
|
||||
container without overlap because of margin/padding.
|
||||
More Info : http://www.quirksmode.org/css/box.html
|
||||
*/
|
||||
-webkit-box-sizing: border-box; /* webkit */
|
||||
-moz-box-sizing: border-box; /* firefox */
|
||||
box-sizing: border-box; /* css3 */
|
||||
}
|
||||
|
||||
.select2-container .select2-choice {
|
||||
display: block;
|
||||
height: 26px;
|
||||
padding: 0 0 0 8px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
white-space: nowrap;
|
||||
line-height: 26px;
|
||||
color: #444;
|
||||
text-decoration: none;
|
||||
|
||||
border-radius: 4px;
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
background-color: #fff;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.5, #fff));
|
||||
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
||||
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 50%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#ffffff', endColorstr = '#eeeeee', GradientType = 0);
|
||||
background-image: linear-gradient(to top, #eee 0%, #fff 50%);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container .select2-choice {
|
||||
padding: 0 8px 0 0;
|
||||
}
|
||||
|
||||
.select2-container.select2-drop-above .select2-choice {
|
||||
border-bottom-color: #aaa;
|
||||
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.9, #fff));
|
||||
background-image: -webkit-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
||||
background-image: -moz-linear-gradient(center bottom, #eee 0%, #fff 90%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);
|
||||
background-image: linear-gradient(to bottom, #eee 0%, #fff 90%);
|
||||
}
|
||||
|
||||
.select2-container.select2-allowclear .select2-choice .select2-chosen {
|
||||
margin-right: 42px;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice > .select2-chosen {
|
||||
margin-right: 26px;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
white-space: nowrap;
|
||||
|
||||
text-overflow: ellipsis;
|
||||
float: none;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
|
||||
margin-left: 26px;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice abbr {
|
||||
display: none;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
position: absolute;
|
||||
right: 24px;
|
||||
top: 8px;
|
||||
|
||||
font-size: 1px;
|
||||
text-decoration: none;
|
||||
|
||||
border: 0;
|
||||
background: url('select2.png') right top no-repeat;
|
||||
cursor: pointer;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
.select2-container.select2-allowclear .select2-choice abbr {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice abbr:hover {
|
||||
background-position: right -11px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.select2-drop-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 9998;
|
||||
/* styles required for IE to work */
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0);
|
||||
}
|
||||
|
||||
.select2-drop {
|
||||
width: 100%;
|
||||
margin-top: -1px;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
top: 100%;
|
||||
|
||||
background: #fff;
|
||||
color: #000;
|
||||
border: 1px solid #aaa;
|
||||
border-top: 0;
|
||||
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
||||
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
||||
box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above {
|
||||
margin-top: 1px;
|
||||
border-top: 1px solid #aaa;
|
||||
border-bottom: 0;
|
||||
|
||||
border-radius: 4px 4px 0 0;
|
||||
|
||||
-webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
||||
box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
|
||||
}
|
||||
|
||||
.select2-drop-active {
|
||||
border: 1px solid #5897fb;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above.select2-drop-active {
|
||||
border-top: 1px solid #5897fb;
|
||||
}
|
||||
|
||||
.select2-drop-auto-width {
|
||||
border-top: 1px solid #aaa;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.select2-drop-auto-width .select2-search {
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice .select2-arrow {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
|
||||
border-left: 1px solid #aaa;
|
||||
border-radius: 0 4px 4px 0;
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
background: #ccc;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ccc), color-stop(0.6, #eee));
|
||||
background-image: -webkit-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
||||
background-image: -moz-linear-gradient(center bottom, #ccc 0%, #eee 60%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#eeeeee', endColorstr = '#cccccc', GradientType = 0);
|
||||
background-image: linear-gradient(to top, #ccc 0%, #eee 60%);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container .select2-choice .select2-arrow {
|
||||
left: 0;
|
||||
right: auto;
|
||||
|
||||
border-left: none;
|
||||
border-right: 1px solid #aaa;
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice .select2-arrow b {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: url('select2.png') no-repeat 0 1px;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
|
||||
background-position: 2px 1px;
|
||||
}
|
||||
|
||||
.select2-search {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
min-height: 26px;
|
||||
margin: 0;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
|
||||
position: relative;
|
||||
z-index: 10000;
|
||||
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.select2-search input {
|
||||
width: 100%;
|
||||
height: auto !important;
|
||||
min-height: 26px;
|
||||
padding: 4px 20px 4px 5px;
|
||||
margin: 0;
|
||||
|
||||
outline: 0;
|
||||
font-family: sans-serif;
|
||||
font-size: 1em;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
|
||||
background: #fff url('select2.png') no-repeat 100% -22px;
|
||||
background: url('select2.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||
background: url('select2.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat 100% -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-search input {
|
||||
padding: 4px 5px 4px 20px;
|
||||
|
||||
background: #fff url('select2.png') no-repeat -37px -22px;
|
||||
background: url('select2.png') no-repeat -37px -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||
background: url('select2.png') no-repeat -37px -22px, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat -37px -22px, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
||||
}
|
||||
|
||||
.select2-drop.select2-drop-above .select2-search input {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.select2-search input.select2-active {
|
||||
background: #fff url('select2-spinner.gif') no-repeat 100%;
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2-spinner.gif') no-repeat 100%, -moz-linear-gradient(center bottom, #fff 85%, #eee 99%);
|
||||
background: url('select2-spinner.gif') no-repeat 100%, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
||||
}
|
||||
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-active .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
outline: none;
|
||||
|
||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice {
|
||||
border-bottom-color: transparent;
|
||||
-webkit-box-shadow: 0 1px 0 #fff inset;
|
||||
box-shadow: 0 1px 0 #fff inset;
|
||||
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
|
||||
background-color: #eee;
|
||||
background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #fff), color-stop(0.5, #eee));
|
||||
background-image: -webkit-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
||||
background-image: -moz-linear-gradient(center bottom, #fff 0%, #eee 50%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
||||
background-image: linear-gradient(to top, #fff 0%, #eee 50%);
|
||||
}
|
||||
|
||||
.select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.select2-dropdown-open.select2-drop-above .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
border-top-color: transparent;
|
||||
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0.5, #eee));
|
||||
background-image: -webkit-linear-gradient(center top, #fff 0%, #eee 50%);
|
||||
background-image: -moz-linear-gradient(center top, #fff 0%, #eee 50%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #eee 50%);
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice .select2-arrow {
|
||||
background: transparent;
|
||||
border-left: none;
|
||||
filter: none;
|
||||
}
|
||||
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice .select2-arrow b {
|
||||
background-position: -18px 1px;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow b {
|
||||
background-position: -16px 1px;
|
||||
}
|
||||
|
||||
.select2-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
/* results */
|
||||
.select2-results {
|
||||
max-height: 200px;
|
||||
padding: 0 0 0 4px;
|
||||
margin: 4px 4px 4px 0;
|
||||
position: relative;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-results {
|
||||
padding: 0 4px 0 0;
|
||||
margin: 4px 0 4px 4px;
|
||||
}
|
||||
|
||||
.select2-results ul.select2-result-sub {
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.select2-results li {
|
||||
list-style: none;
|
||||
display: list-item;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
.select2-results li.select2-result-with-children > .select2-result-label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.select2-results .select2-result-label {
|
||||
padding: 3px 7px 4px;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
|
||||
min-height: 1em;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.select2-results-dept-1 .select2-result-label { padding-left: 20px }
|
||||
.select2-results-dept-2 .select2-result-label { padding-left: 40px }
|
||||
.select2-results-dept-3 .select2-result-label { padding-left: 60px }
|
||||
.select2-results-dept-4 .select2-result-label { padding-left: 80px }
|
||||
.select2-results-dept-5 .select2-result-label { padding-left: 100px }
|
||||
.select2-results-dept-6 .select2-result-label { padding-left: 110px }
|
||||
.select2-results-dept-7 .select2-result-label { padding-left: 120px }
|
||||
|
||||
.select2-results .select2-highlighted {
|
||||
background: #3875d7;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.select2-results li em {
|
||||
background: #feffde;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted em {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted ul {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.select2-results .select2-no-results,
|
||||
.select2-results .select2-searching,
|
||||
.select2-results .select2-ajax-error,
|
||||
.select2-results .select2-selection-limit {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
disabled look for disabled choices in the results dropdown
|
||||
*/
|
||||
.select2-results .select2-disabled.select2-highlighted {
|
||||
color: #666;
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
cursor: default;
|
||||
}
|
||||
.select2-results .select2-disabled {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-results .select2-selected {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.select2-more-results.select2-active {
|
||||
background: #f4f4f4 url('select2-spinner.gif') no-repeat 100%;
|
||||
}
|
||||
|
||||
.select2-results .select2-ajax-error {
|
||||
background: rgba(255, 50, 50, .2);
|
||||
}
|
||||
|
||||
.select2-more-results {
|
||||
background: #f4f4f4;
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
/* disabled styles */
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border: 1px solid #ddd;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice .select2-arrow {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.select2-container.select2-container-disabled .select2-choice abbr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* multiselect */
|
||||
|
||||
.select2-container-multi .select2-choices {
|
||||
height: auto !important;
|
||||
height: 1%;
|
||||
margin: 0;
|
||||
padding: 0 5px 0 0;
|
||||
position: relative;
|
||||
|
||||
border: 1px solid #aaa;
|
||||
cursor: text;
|
||||
overflow: hidden;
|
||||
|
||||
background-color: #fff;
|
||||
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(1%, #eee), color-stop(15%, #fff));
|
||||
background-image: -webkit-linear-gradient(top, #eee 1%, #fff 15%);
|
||||
background-image: -moz-linear-gradient(top, #eee 1%, #fff 15%);
|
||||
background-image: linear-gradient(to bottom, #eee 1%, #fff 15%);
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container-multi .select2-choices {
|
||||
padding: 0 0 0 5px;
|
||||
}
|
||||
|
||||
.select2-locked {
|
||||
padding: 3px 5px 3px 5px !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices {
|
||||
min-height: 26px;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
border: 1px solid #5897fb;
|
||||
outline: none;
|
||||
|
||||
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
|
||||
}
|
||||
.select2-container-multi .select2-choices li {
|
||||
float: left;
|
||||
list-style: none;
|
||||
}
|
||||
html[dir="rtl"] .select2-container-multi .select2-choices li
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-field {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-field input {
|
||||
padding: 5px;
|
||||
margin: 1px 0;
|
||||
|
||||
font-family: sans-serif;
|
||||
font-size: 100%;
|
||||
color: #666;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-field input.select2-active {
|
||||
background: #fff url('select2-spinner.gif') no-repeat 100% !important;
|
||||
}
|
||||
|
||||
.select2-default {
|
||||
color: #999 !important;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-choice {
|
||||
padding: 3px 5px 3px 18px;
|
||||
margin: 3px 0 3px 5px;
|
||||
position: relative;
|
||||
|
||||
line-height: 13px;
|
||||
color: #333;
|
||||
cursor: default;
|
||||
border: 1px solid #aaaaaa;
|
||||
|
||||
border-radius: 3px;
|
||||
|
||||
-webkit-box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
||||
box-shadow: 0 0 2px #fff inset, 0 1px 0 rgba(0, 0, 0, 0.05);
|
||||
|
||||
background-clip: padding-box;
|
||||
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
background-color: #e4e4e4;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);
|
||||
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), color-stop(100%, #eee));
|
||||
background-image: -webkit-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
background-image: -moz-linear-gradient(top, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
|
||||
}
|
||||
html[dir="rtl"] .select2-container-multi .select2-choices .select2-search-choice
|
||||
{
|
||||
margin: 3px 5px 3px 0;
|
||||
padding: 3px 18px 3px 5px;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-chosen {
|
||||
cursor: default;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
||||
background: #d4d4d4;
|
||||
}
|
||||
|
||||
.select2-search-choice-close {
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 13px;
|
||||
position: absolute;
|
||||
right: 3px;
|
||||
top: 4px;
|
||||
|
||||
font-size: 1px;
|
||||
outline: none;
|
||||
background: url('select2.png') right top no-repeat;
|
||||
}
|
||||
html[dir="rtl"] .select2-search-choice-close {
|
||||
right: auto;
|
||||
left: 3px;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-search-choice-close {
|
||||
left: 3px;
|
||||
}
|
||||
|
||||
html[dir="rtl"] .select2-container-multi .select2-search-choice-close {
|
||||
left: auto;
|
||||
right: 2px;
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover {
|
||||
background-position: right -11px;
|
||||
}
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close {
|
||||
background-position: right -11px;
|
||||
}
|
||||
|
||||
/* disabled styles */
|
||||
.select2-container-multi.select2-container-disabled .select2-choices {
|
||||
background-color: #f4f4f4;
|
||||
background-image: none;
|
||||
border: 1px solid #ddd;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice {
|
||||
padding: 3px 5px 3px 5px;
|
||||
border: 1px solid #ddd;
|
||||
background-image: none;
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close { display: none;
|
||||
background: none;
|
||||
}
|
||||
/* end multiselect */
|
||||
|
||||
|
||||
.select2-result-selectable .select2-match,
|
||||
.select2-result-unselectable .select2-match {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.select2-offscreen, .select2-offscreen:focus {
|
||||
clip: rect(0 0 0 0) !important;
|
||||
width: 1px !important;
|
||||
height: 1px !important;
|
||||
border: 0 !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
overflow: hidden !important;
|
||||
position: absolute !important;
|
||||
outline: 0 !important;
|
||||
left: 0px !important;
|
||||
top: 0px !important;
|
||||
}
|
||||
|
||||
.select2-display-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.select2-measure-scrollbar {
|
||||
position: absolute;
|
||||
top: -10000px;
|
||||
left: -10000px;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
overflow: scroll;
|
||||
}
|
||||
|
||||
/* Retina-ize icons */
|
||||
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2dppx) {
|
||||
.select2-search input,
|
||||
.select2-search-choice-close,
|
||||
.select2-container .select2-choice abbr,
|
||||
.select2-container .select2-choice .select2-arrow b {
|
||||
background-image: url('select2x2.png') !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-size: 60px 40px !important;
|
||||
}
|
||||
|
||||
.select2-search input {
|
||||
background-position: 100% -21px !important;
|
||||
}
|
||||
}
|
5418
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/3/select2.js
vendored
Normal file
4527
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/3/select2.min.js
vendored
Normal file
After Width: | Height: | Size: 525 B |
After Width: | Height: | Size: 653 B |
481
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.css
vendored
Normal file
@ -0,0 +1,481 @@
|
||||
.select2-container {
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
vertical-align: middle; }
|
||||
.select2-container .select2-selection--single {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
height: 28px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--single .select2-selection__rendered {
|
||||
display: block;
|
||||
padding-left: 8px;
|
||||
padding-right: 20px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-selection--single .select2-selection__clear {
|
||||
position: relative; }
|
||||
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
|
||||
padding-right: 8px;
|
||||
padding-left: 20px; }
|
||||
.select2-container .select2-selection--multiple {
|
||||
box-sizing: border-box;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
min-height: 32px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-container .select2-selection--multiple .select2-selection__rendered {
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
padding-left: 8px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
.select2-container .select2-search--inline {
|
||||
float: left; }
|
||||
.select2-container .select2-search--inline .select2-search__field {
|
||||
box-sizing: border-box;
|
||||
border: none;
|
||||
font-size: 100%;
|
||||
margin-top: 5px;
|
||||
padding: 0; }
|
||||
.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
|
||||
.select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: -100000px;
|
||||
width: 100%;
|
||||
z-index: 1051; }
|
||||
|
||||
.select2-results {
|
||||
display: block; }
|
||||
|
||||
.select2-results__options {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
.select2-results__option {
|
||||
padding: 6px;
|
||||
user-select: none;
|
||||
-webkit-user-select: none; }
|
||||
.select2-results__option[aria-selected] {
|
||||
cursor: pointer; }
|
||||
|
||||
.select2-container--open .select2-dropdown {
|
||||
left: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--above {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-search--dropdown {
|
||||
display: block;
|
||||
padding: 4px; }
|
||||
.select2-search--dropdown .select2-search__field {
|
||||
padding: 4px;
|
||||
width: 100%;
|
||||
box-sizing: border-box; }
|
||||
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none; }
|
||||
.select2-search--dropdown.select2-search--hide {
|
||||
display: none; }
|
||||
|
||||
.select2-close-mask {
|
||||
border: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
height: auto;
|
||||
width: auto;
|
||||
opacity: 0;
|
||||
z-index: 99;
|
||||
background-color: #fff;
|
||||
filter: alpha(opacity=0); }
|
||||
|
||||
.select2-hidden-accessible {
|
||||
border: 0 !important;
|
||||
clip: rect(0 0 0 0) !important;
|
||||
-webkit-clip-path: inset(50%) !important;
|
||||
clip-path: inset(50%) !important;
|
||||
height: 1px !important;
|
||||
overflow: hidden !important;
|
||||
padding: 0 !important;
|
||||
position: absolute !important;
|
||||
width: 1px !important;
|
||||
white-space: nowrap !important; }
|
||||
|
||||
.select2-container--default .select2-selection--single {
|
||||
background-color: #fff;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow {
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px; }
|
||||
.select2-container--default .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
|
||||
box-sizing: border-box;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px;
|
||||
width: 100%; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
|
||||
list-style: none; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
padding: 1px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #333; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline {
|
||||
float: right; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--default.select2-container--focus .select2-selection--multiple {
|
||||
border: solid black 1px;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection--multiple {
|
||||
background-color: #eee;
|
||||
cursor: default; }
|
||||
|
||||
.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
|
||||
display: none; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa; }
|
||||
|
||||
.select2-container--default .select2-search--inline .select2-search__field {
|
||||
background: transparent;
|
||||
border: none;
|
||||
outline: 0;
|
||||
box-shadow: none;
|
||||
-webkit-appearance: textfield; }
|
||||
|
||||
.select2-container--default .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--default .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-disabled=true] {
|
||||
color: #999; }
|
||||
|
||||
.select2-container--default .select2-results__option[aria-selected=true] {
|
||||
background-color: #ddd; }
|
||||
|
||||
.select2-container--default .select2-results__option .select2-results__option {
|
||||
padding-left: 1em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__group {
|
||||
padding-left: 0; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -1em;
|
||||
padding-left: 2em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -2em;
|
||||
padding-left: 3em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -3em;
|
||||
padding-left: 4em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -4em;
|
||||
padding-left: 5em; }
|
||||
.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option {
|
||||
margin-left: -5em;
|
||||
padding-left: 6em; }
|
||||
|
||||
.select2-container--default .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #5897fb;
|
||||
color: white; }
|
||||
|
||||
.select2-container--default .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic .select2-selection--single {
|
||||
background-color: #f7f7f7;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
outline: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%);
|
||||
background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__rendered {
|
||||
color: #444;
|
||||
line-height: 28px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__clear {
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
font-weight: bold;
|
||||
margin-right: 10px; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__placeholder {
|
||||
color: #999; }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow {
|
||||
background-color: #ddd;
|
||||
border: none;
|
||||
border-left: 1px solid #aaa;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
height: 26px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 20px;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); }
|
||||
.select2-container--classic .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: #888 transparent transparent transparent;
|
||||
border-style: solid;
|
||||
border-width: 5px 4px 0 4px;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -2px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear {
|
||||
float: left; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow {
|
||||
border: none;
|
||||
border-right: 1px solid #aaa;
|
||||
border-radius: 0;
|
||||
border-top-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
left: 1px;
|
||||
right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--single {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow {
|
||||
background: transparent;
|
||||
border: none; }
|
||||
.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
|
||||
border-color: transparent transparent #888 transparent;
|
||||
border-width: 0 4px 5px 4px; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%);
|
||||
background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%);
|
||||
background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%);
|
||||
background-repeat: repeat-x;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); }
|
||||
|
||||
.select2-container--classic .select2-selection--multiple {
|
||||
background-color: white;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: text;
|
||||
outline: 0; }
|
||||
.select2-container--classic .select2-selection--multiple:focus {
|
||||
border: 1px solid #5897fb; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__rendered {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__clear {
|
||||
display: none; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: #e4e4e4;
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 4px;
|
||||
cursor: default;
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
padding: 0 5px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove {
|
||||
color: #888;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
margin-right: 2px; }
|
||||
.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover {
|
||||
color: #555; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove {
|
||||
margin-left: 2px;
|
||||
margin-right: auto; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-selection--multiple {
|
||||
border: 1px solid #5897fb; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple {
|
||||
border-top: none;
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0; }
|
||||
|
||||
.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple {
|
||||
border-bottom: none;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--dropdown .select2-search__field {
|
||||
border: 1px solid #aaa;
|
||||
outline: 0; }
|
||||
|
||||
.select2-container--classic .select2-search--inline .select2-search__field {
|
||||
outline: 0;
|
||||
box-shadow: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown {
|
||||
background-color: white;
|
||||
border: 1px solid transparent; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--above {
|
||||
border-bottom: none; }
|
||||
|
||||
.select2-container--classic .select2-dropdown--below {
|
||||
border-top: none; }
|
||||
|
||||
.select2-container--classic .select2-results > .select2-results__options {
|
||||
max-height: 200px;
|
||||
overflow-y: auto; }
|
||||
|
||||
.select2-container--classic .select2-results__option[role=group] {
|
||||
padding: 0; }
|
||||
|
||||
.select2-container--classic .select2-results__option[aria-disabled=true] {
|
||||
color: grey; }
|
||||
|
||||
.select2-container--classic .select2-results__option--highlighted[aria-selected] {
|
||||
background-color: #3875d7;
|
||||
color: white; }
|
||||
|
||||
.select2-container--classic .select2-results__group {
|
||||
cursor: default;
|
||||
display: block;
|
||||
padding: 6px; }
|
||||
|
||||
.select2-container--classic.select2-container--open .select2-dropdown {
|
||||
border-color: #5897fb; }
|
7778
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.js
vendored
Normal file
1
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.full.min.js
vendored
Normal file
6944
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.js
vendored
Normal file
1
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.min.css
vendored
Normal file
4963
wp-content/plugins/advanced-custom-fields-pro/assets/inc/select2/4/select2.min.js
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
|
||||
.ui-timepicker-div dl { text-align: left; }
|
||||
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
|
||||
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
|
||||
.ui-timepicker-div td { font-size: 90%; }
|
||||
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
|
||||
.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }
|
||||
|
||||
.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; }
|
||||
.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; }
|
||||
|
||||
.ui-timepicker-rtl{ direction: rtl; }
|
||||
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
|
||||
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
|
||||
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }
|
||||
|
||||
/* Shortened version style */
|
||||
.ui-timepicker-div.ui-timepicker-oneLine { padding-right: 2px; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dt { display: none; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label { display: block; padding-top: 2px; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl { text-align: right; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd,
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd > div { display:inline-block; margin:0; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before { content:':'; display:inline-block; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,
|
||||
.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before { content:'.'; display:inline-block; }
|
||||
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,
|
||||
.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{ display: none; }
|
3194
wp-content/plugins/advanced-custom-fields-pro/assets/inc/timepicker/jquery-ui-timepicker-addon.js
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
/*! jQuery Timepicker Addon - v1.6.3 - 2016-04-20
|
||||
* http://trentrichardson.com/examples/timepicker
|
||||
* Copyright (c) 2016 Trent Richardson; Licensed MIT */
|
||||
|
||||
.ui-timepicker-div .ui-widget-header{margin-bottom:8px}.ui-timepicker-div dl{text-align:left}.ui-timepicker-div dl dt{float:left;clear:left;padding:0 0 0 5px}.ui-timepicker-div dl dd{margin:0 10px 10px 40%}.ui-timepicker-div td{font-size:90%}.ui-tpicker-grid-label{background:0 0;border:0;margin:0;padding:0}.ui-timepicker-div .ui_tpicker_unit_hide{display:none}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input{background:0 0;color:inherit;border:0;outline:0;border-bottom:solid 1px #555;width:95%}.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus{border-bottom-color:#aaa}.ui-timepicker-rtl{direction:rtl}.ui-timepicker-rtl dl{text-align:right;padding:0 5px 0 0}.ui-timepicker-rtl dl dt{float:right;clear:right}.ui-timepicker-rtl dl dd{margin:0 40% 10px 10px}.ui-timepicker-div.ui-timepicker-oneLine{padding-right:2px}.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time,.ui-timepicker-div.ui-timepicker-oneLine dt{display:none}.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_time_label{display:block;padding-top:2px}.ui-timepicker-div.ui-timepicker-oneLine dl{text-align:right}.ui-timepicker-div.ui-timepicker-oneLine dl dd,.ui-timepicker-div.ui-timepicker-oneLine dl dd>div{display:inline-block;margin:0}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_minute:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_second:before{content:':';display:inline-block}.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_millisec:before,.ui-timepicker-div.ui-timepicker-oneLine dl dd.ui_tpicker_microsec:before{content:'.';display:inline-block}.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide,.ui-timepicker-div.ui-timepicker-oneLine .ui_tpicker_unit_hide:before{display:none}
|