mirror of
https://ghproxy.net/https://github.com/AlxMedia/splits.git
synced 2025-08-26 07:44:53 +08:00
Kirki 3.1.5
This commit is contained in:
parent
a51cecbd4b
commit
fda673b5f1
9 changed files with 70 additions and 44 deletions
|
@ -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
|
||||
|
||||
* Tweak: Updated Google-Fonts lists.
|
||||
|
|
|
@ -145,23 +145,23 @@
|
|||
/*
|
||||
* CSS for support < 4.9
|
||||
*/
|
||||
self.toggler.css({
|
||||
'height': '24px',
|
||||
'margin': '0 6px 6px 0',
|
||||
'padding': '0 0 0 30px',
|
||||
'font-size': '11px'
|
||||
});
|
||||
// self.toggler.css({
|
||||
// 'height': '24px',
|
||||
// 'margin': '0 6px 6px 0',
|
||||
// 'padding': '0 0 0 30px',
|
||||
// 'font-size': '11px'
|
||||
// });
|
||||
|
||||
self.toggler.find( '.wp-color-result-text' ).css({
|
||||
'background': '#f7f7f7',
|
||||
'border-radius': '0 2px 2px 0',
|
||||
'border-left': '1px solid #ccc',
|
||||
'color': '#555',
|
||||
'display': 'block',
|
||||
'line-height': '22px',
|
||||
'padding': '0 6px',
|
||||
'text-align': 'center'
|
||||
});
|
||||
// self.toggler.find( '.wp-color-result-text' ).css({
|
||||
// 'background': '#f7f7f7',
|
||||
// 'border-radius': '0 2px 2px 0',
|
||||
// 'border-left': '1px solid #ccc',
|
||||
// 'color': '#555',
|
||||
// 'display': 'block',
|
||||
// 'line-height': '22px',
|
||||
// 'padding': '0 6px',
|
||||
// 'text-align': 'center'
|
||||
// });
|
||||
|
||||
el.iris( {
|
||||
target: self.pickerContainer,
|
||||
|
@ -193,7 +193,7 @@
|
|||
}
|
||||
self.toggler.find( 'span.color-alpha' ).css( {
|
||||
'width': '30px',
|
||||
'height': '24px',
|
||||
'min-height': '100%',
|
||||
'position': 'absolute',
|
||||
'top': 0,
|
||||
'left': 0,
|
||||
|
|
|
@ -2,6 +2,15 @@
|
|||
.customize-control-kirki-background {
|
||||
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-color 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;
|
||||
widows: 100% !important;
|
||||
}
|
||||
.customize-control-kirki-color .iris-picker .iris-square-handle {
|
||||
z-index: 8;
|
||||
}
|
||||
.customize-control-kirki-color .iris-picker.iris-border {
|
||||
.customize-control-kirki-color .kirki-input-container[data-has-alpha=false] .iris-picker.iris-border {
|
||||
width: 100% !important;
|
||||
}
|
||||
.customize-control-kirki-color .iris-picker-inner {
|
||||
display: grid;
|
||||
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=false] .iris-picker .iris-square {
|
||||
margin-right: 7px !important;
|
||||
}
|
||||
.customize-control-kirki-color .kirki-input-container[data-has-alpha=true] .iris-picker-inner {
|
||||
display: grid;
|
||||
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 {
|
||||
width: 100% !important;
|
||||
}
|
||||
.customize-control-kirki-color .iris-only-strip .iris-picker-inner {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.customize-control-kirki-dashicons {
|
||||
position: relative;
|
||||
|
@ -245,6 +247,18 @@
|
|||
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 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
@ -100,7 +100,7 @@ class Kirki_Control_Base extends WP_Customize_Control {
|
|||
$kirki_url = trailingslashit( Kirki::$url );
|
||||
|
||||
// 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' );
|
||||
|
||||
// Enqueue selectWoo.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
* Description: The Ultimate WordPress Customizer Framework
|
||||
* Author: David Vongries
|
||||
* Author URI: https://wp-pagebuilderframework.com/
|
||||
* Version: 3.1.4
|
||||
* Version: 3.1.5
|
||||
* Text Domain: kirki
|
||||
* Requires WP: 4.9
|
||||
* 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
|
@ -2,8 +2,8 @@
|
|||
Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb
|
||||
Tags: customizer, options framework, theme, mods, toolkit, gutenberg
|
||||
Requires at least: 4.9
|
||||
Tested up to: 5.4
|
||||
Stable tag: 3.1.4
|
||||
Tested up to: 5.5
|
||||
Stable tag: 3.1.5
|
||||
License: 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 ==
|
||||
|
||||
= 3.1.4 - July 11, 2020 =
|
||||
= 3.1.5 - August 10, 2020 =
|
||||
|
||||
* Tweak: Updated Google-Fonts lists.
|
||||
* Tweak: Tooltip styling.
|
||||
* Fixed: Error in the WordPress customizer with WordPress 5.5.
|
||||
* 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.
|
||||
|
||||
[See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue