mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 09:25:45 +08:00
Kirki 3.1.4, added "Requires at least" and "Requires PHP" version to style.css
This commit is contained in:
parent
f7c7f7a632
commit
55e1f13d7d
150 changed files with 1061 additions and 835 deletions
|
@ -1,28 +1,36 @@
|
|||
.select2-dropdown {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0; }
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.select2-container {
|
||||
min-width: 100px;
|
||||
width: 100% !important; }
|
||||
.select2-container--open .select2-dropdown--above,
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
z-index: 9999999;
|
||||
min-width: 100px; }
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border-color: rgba(0, 0, 0, 0.1); }
|
||||
.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0; }
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0; }
|
||||
width: 100% !important;
|
||||
}
|
||||
.select2-container--open .select2-dropdown--above,
|
||||
.select2-container--open .select2-dropdown--below {
|
||||
z-index: 9999999;
|
||||
min-width: 100px;
|
||||
}
|
||||
.select2-container--default .select2-search--dropdown .select2-search__field {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.select2-container--default .select2-selection--multiple, .select2-container--default .select2-selection--single {
|
||||
border-color: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0;
|
||||
}
|
||||
.select2-container--default .select2-selection--multiple .select2-selection__choice {
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.wp-customizer .select2-container {
|
||||
z-index: 8 !important; }
|
||||
.wp-customizer .select2-container.select2-container--open {
|
||||
z-index: 999999 !important; }
|
||||
z-index: 8 !important;
|
||||
}
|
||||
.wp-customizer .select2-container.select2-container--open {
|
||||
z-index: 999999 !important;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=kirki.css.map */
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
_wrap = '<div class="wp-picker-container" />',
|
||||
_button = '<input type="button" class="button button-small" />',
|
||||
_wrappingLabel = '<label></label>',
|
||||
_wrappingLabelText = '<span class="screen-reader-text"></span>';
|
||||
_wrappingLabelText = '<span class="screen-reader-text"></span>',
|
||||
__ = wp.i18n.__;
|
||||
|
||||
/**
|
||||
* Overwrite Color
|
||||
|
@ -88,7 +89,7 @@
|
|||
// Insert the default label text.
|
||||
self.wrappingLabelText = $( _wrappingLabelText )
|
||||
.insertBefore( el )
|
||||
.text( wpColorPickerL10n.defaultLabel );
|
||||
.text( __( 'Color value' ) );
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -109,7 +110,7 @@
|
|||
if ( el.data( 'label' ) ) {
|
||||
self.toggler.find( '.wp-color-result-text' ).text( el.data( 'label' ) );
|
||||
} else {
|
||||
self.toggler.find( '.wp-color-result-text' ).text( wpColorPickerL10n.pick );
|
||||
self.toggler.find( '.wp-color-result-text' ).text( __( 'Select Color' ) );
|
||||
}
|
||||
// Set up the Iris container and insert it after the wrapping label.
|
||||
self.pickerContainer = $( _after ).insertAfter( self.wrappingLabel );
|
||||
|
@ -120,13 +121,13 @@
|
|||
if ( self.options.defaultColor ) {
|
||||
self.button
|
||||
.addClass( 'wp-picker-default' )
|
||||
.val( wpColorPickerL10n.defaultString )
|
||||
.attr( 'aria-label', wpColorPickerL10n.defaultAriaLabel );
|
||||
.val( __( 'Default' ) )
|
||||
.attr( 'aria-label', __( 'Select default color' ) );
|
||||
} else {
|
||||
self.button
|
||||
.addClass( 'wp-picker-clear' )
|
||||
.val( wpColorPickerL10n.clear )
|
||||
.attr( 'aria-label', wpColorPickerL10n.clearAriaLabel );
|
||||
.val( __( 'Clear' ) )
|
||||
.attr( 'aria-label', __( 'Clear color' ) );
|
||||
}
|
||||
|
||||
// Wrap the wrapping label in its wrapper and append the Clear/Default button.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue