Kirki 3.1.5

This commit is contained in:
Alexander Agnarson 2020-08-10 18:52:31 +02:00
parent a51cecbd4b
commit fda673b5f1
9 changed files with 70 additions and 44 deletions

View file

@ -1,3 +1,12 @@
## 3.1.5 - August 10, 2020
* Tested up to WordPress 5.5.
* Tweak: Updated Google fonts.
* Fixed: Added wp-i18n dependency to alpha color picker script.
* Fixed: Color picker styles.
* Fixed: Color picker styles in background control.
* Fixed: Color picker styles in multicolor control.
## 3.1.4 - July 11, 2020 ## 3.1.4 - July 11, 2020
* Tweak: Updated Google-Fonts lists. * Tweak: Updated Google-Fonts lists.

View file

@ -145,23 +145,23 @@
/* /*
* CSS for support < 4.9 * CSS for support < 4.9
*/ */
self.toggler.css({ // self.toggler.css({
'height': '24px', // 'height': '24px',
'margin': '0 6px 6px 0', // 'margin': '0 6px 6px 0',
'padding': '0 0 0 30px', // 'padding': '0 0 0 30px',
'font-size': '11px' // 'font-size': '11px'
}); // });
self.toggler.find( '.wp-color-result-text' ).css({ // self.toggler.find( '.wp-color-result-text' ).css({
'background': '#f7f7f7', // 'background': '#f7f7f7',
'border-radius': '0 2px 2px 0', // 'border-radius': '0 2px 2px 0',
'border-left': '1px solid #ccc', // 'border-left': '1px solid #ccc',
'color': '#555', // 'color': '#555',
'display': 'block', // 'display': 'block',
'line-height': '22px', // 'line-height': '22px',
'padding': '0 6px', // 'padding': '0 6px',
'text-align': 'center' // 'text-align': 'center'
}); // });
el.iris( { el.iris( {
target: self.pickerContainer, target: self.pickerContainer,
@ -193,7 +193,7 @@
} }
self.toggler.find( 'span.color-alpha' ).css( { self.toggler.find( 'span.color-alpha' ).css( {
'width': '30px', 'width': '30px',
'height': '24px', 'min-height': '100%',
'position': 'absolute', 'position': 'absolute',
'top': 0, 'top': 0,
'left': 0, 'left': 0,

View file

@ -2,6 +2,15 @@
.customize-control-kirki-background { .customize-control-kirki-background {
position: relative; position: relative;
} }
.customize-control-kirki-background .iris-picker-inner {
display: grid;
grid-template-columns: 1fr 20px 20px;
grid-gap: 7px;
}
.customize-control-kirki-background .iris-picker-inner > * {
width: 100% !important;
margin-left: 0 !important;
}
.customize-control-kirki-background .background-attachment h4, .customize-control-kirki-background .background-attachment h4,
.customize-control-kirki-background .background-color h4, .customize-control-kirki-background .background-color h4,
.customize-control-kirki-background .background-position h4, .customize-control-kirki-background .background-position h4,
@ -86,31 +95,24 @@
background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important; background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important;
widows: 100% !important; widows: 100% !important;
} }
.customize-control-kirki-color .iris-picker .iris-square-handle { .customize-control-kirki-color .kirki-input-container[data-has-alpha=false] .iris-picker.iris-border {
z-index: 8;
}
.customize-control-kirki-color .iris-picker.iris-border {
width: 100% !important; width: 100% !important;
} }
.customize-control-kirki-color .iris-picker-inner { .customize-control-kirki-color .kirki-input-container[data-has-alpha=false] .iris-picker .iris-square {
display: grid; margin-right: 7px !important;
grid-template-columns: 1fr 20px;
grid-gap: 7px;
}
.customize-control-kirki-color .iris-picker-inner > * {
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
} }
.customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner { .customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner {
display: grid;
grid-template-columns: 1fr 20px 20px; grid-template-columns: 1fr 20px 20px;
grid-gap: 7px;
}
.customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner > * {
width: 100% !important;
margin-left: 0 !important;
} }
.customize-control-kirki-color .iris-only-strip { .customize-control-kirki-color .iris-only-strip {
width: 100% !important; width: 100% !important;
} }
.customize-control-kirki-color .iris-only-strip .iris-picker-inner {
grid-template-columns: 1fr;
}
.customize-control-kirki-dashicons { .customize-control-kirki-dashicons {
position: relative; position: relative;
@ -245,6 +247,18 @@
box-shadow: none; box-shadow: none;
} }
.customize-control-kirki-multicolor .wp-picker-holder {
margin-bottom: 7px;
}
.customize-control-kirki-multicolor .iris-picker-inner {
display: grid;
grid-template-columns: 1fr 20px 20px;
grid-gap: 7px;
}
.customize-control-kirki-multicolor .iris-picker-inner > * {
width: 100% !important;
margin-left: 0 !important;
}
.customize-control-kirki-multicolor .multicolor-single-color-wrapper { .customize-control-kirki-multicolor .multicolor-single-color-wrapper {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View file

@ -100,7 +100,7 @@ class Kirki_Control_Base extends WP_Customize_Control {
$kirki_url = trailingslashit( Kirki::$url ); $kirki_url = trailingslashit( Kirki::$url );
// Enqueue ColorPicker. // Enqueue ColorPicker.
wp_enqueue_script( 'wp-color-picker-alpha', trailingslashit( Kirki::$url ) . 'assets/vendor/wp-color-picker-alpha/wp-color-picker-alpha.js', array( 'wp-color-picker' ), KIRKI_VERSION, true ); wp_enqueue_script( 'wp-color-picker-alpha', trailingslashit( Kirki::$url ) . 'assets/vendor/wp-color-picker-alpha/wp-color-picker-alpha.js', array( 'wp-color-picker', 'wp-i18n' ), KIRKI_VERSION, true );
wp_enqueue_style( 'wp-color-picker' ); wp_enqueue_style( 'wp-color-picker' );
// Enqueue selectWoo. // Enqueue selectWoo.

View file

@ -5,7 +5,7 @@
* Description: The Ultimate WordPress Customizer Framework * Description: The Ultimate WordPress Customizer Framework
* Author: David Vongries * Author: David Vongries
* Author URI: https://wp-pagebuilderframework.com/ * Author URI: https://wp-pagebuilderframework.com/
* Version: 3.1.4 * Version: 3.1.5
* Text Domain: kirki * Text Domain: kirki
* Requires WP: 4.9 * Requires WP: 4.9
* Requires PHP: 5.3 * Requires PHP: 5.3

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2,8 +2,8 @@
Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb
Tags: customizer, options framework, theme, mods, toolkit, gutenberg Tags: customizer, options framework, theme, mods, toolkit, gutenberg
Requires at least: 4.9 Requires at least: 4.9
Tested up to: 5.4 Tested up to: 5.5
Stable tag: 3.1.4 Stable tag: 3.1.5
License: MIT License: MIT
License URI: https://opensource.org/licenses/MIT License URI: https://opensource.org/licenses/MIT
@ -87,10 +87,13 @@ If you want to integrate Kirki in your theme or plugin, please read the instruct
== Changelog == == Changelog ==
= 3.1.4 - July 11, 2020 = = 3.1.5 - August 10, 2020 =
* Tweak: Updated Google-Fonts lists. * Tested up to WordPress 5.5.
* Tweak: Tooltip styling. * Tweak: Updated Google fonts.
* Fixed: Error in the WordPress customizer with WordPress 5.5. * Fixed: Added wp-i18n dependency to alpha color picker script.
* Fixed: Color picker styles.
* Fixed: Color picker styles in background control.
* Fixed: Color picker styles in multicolor control.
[See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md). [See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).