From 4d9832a1938b8a2565e1795ac05c4341ca8d0f33 Mon Sep 17 00:00:00 2001 From: Alexander Agnarson Date: Mon, 19 Jul 2021 18:36:33 +0200 Subject: [PATCH] Kirki 3.1.9 --- functions/kirki/CHANGELOG.md | 4 ++++ functions/kirki/controls/css/styles.css | 22 ++++++++++++++++++++++ functions/kirki/kirki.php | 4 ++-- functions/kirki/readme.txt | 9 +++------ 4 files changed, 31 insertions(+), 8 deletions(-) diff --git a/functions/kirki/CHANGELOG.md b/functions/kirki/CHANGELOG.md index e9d3573..d4070c5 100644 --- a/functions/kirki/CHANGELOG.md +++ b/functions/kirki/CHANGELOG.md @@ -1,3 +1,7 @@ +## 3.1.9 - July 19, 2021 + +* Fixed: Fixed: Styling issue in Switch control. + ## 3.1.8 - July 1, 2021 * Updated Google-Fonts lists. diff --git a/functions/kirki/controls/css/styles.css b/functions/kirki/controls/css/styles.css index 43e2524..0c04c8e 100644 --- a/functions/kirki/controls/css/styles.css +++ b/functions/kirki/controls/css/styles.css @@ -108,6 +108,15 @@ width: 100% !important; } +.rtl .customize-control-kirki-color .iris-border .iris-palette-container { + left: auto; + right: 10px; +} +.rtl .customize-control-kirki-color .wp-color-result .color-alpha { + left: auto !important; + right: 0; +} + .customize-control-kirki-dashicons { position: relative; } @@ -643,6 +652,14 @@ align-items: baseline; } +.rtl .customize-control-kirki-slider .wrapper .slider-reset { + right: auto; + left: 0; +} +.rtl .customize-control-kirki-slider .wrapper input[type=text] { + text-align: left; +} + .customize-control-kirki-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; @@ -715,6 +732,7 @@ .customize-control-kirki-switch input + label { margin-left: 0; margin-right: 0; + min-width: 62px; } .customize-control-kirki-switch input:checked + label { background: #0073aa; @@ -730,6 +748,10 @@ .customize-control-kirki-switch input:checked + label .switch-off { opacity: 0; } +.customize-control-kirki-switch .screen-reader-text:focus { + clip-path: inset(50%); + -webkit-clip-path: inset(50%); +} .customize-control-kirki-toggle { position: relative; diff --git a/functions/kirki/kirki.php b/functions/kirki/kirki.php index 1d9baa4..d628255 100644 --- a/functions/kirki/kirki.php +++ b/functions/kirki/kirki.php @@ -5,7 +5,7 @@ * Description: The Ultimate WordPress Customizer Framework * Author: David Vongries * Author URI: https://wp-pagebuilderframework.com/ - * Version: 3.1.8 + * Version: 3.1.9 * Text Domain: kirki * Requires WP: 4.9 * Requires PHP: 5.3 @@ -40,7 +40,7 @@ if ( ! defined( 'KIRKI_PLUGIN_FILE' ) ) { // Define the KIRKI_VERSION constant. if ( ! defined( 'KIRKI_VERSION' ) ) { - define( 'KIRKI_VERSION', '3.1.8' ); + define( 'KIRKI_VERSION', '3.1.9' ); } // Make sure the path is properly set. diff --git a/functions/kirki/readme.txt b/functions/kirki/readme.txt index 3614a38..b695614 100644 --- a/functions/kirki/readme.txt +++ b/functions/kirki/readme.txt @@ -3,7 +3,7 @@ Contributors: davidvongries, aristath, dannycooper, wplemon, igmoweb Tags: customizer, options framework, theme, mods, toolkit, gutenberg Requires at least: 4.9 Tested up to: 5.8 -Stable tag: 3.1.8 +Stable tag: 3.1.9 License: MIT License URI: https://opensource.org/licenses/MIT @@ -87,11 +87,8 @@ If you want to integrate Kirki in your theme or plugin, please read the instruct == Changelog == -= 3.1.8 - July 1, 2021 = += 3.1.9 - July 19, 2021 = -* Updated Google-Fonts lists. -* Tested up to WordPress 5.8 RC 1. -* Fixed: Deprecated warning when editing post/page. -* Fixed: Styling issue in Radio Buttonset control. +* Fixed: Styling issue in Switch control. [See the previous changelogs here](https://github.com/kirki-framework/kirki/blob/master/CHANGELOG.md).