This commit is contained in:
Alexander Agnarson 2019-02-17 14:28:35 +01:00
parent b14ccb1b03
commit 7e3774b663
168 changed files with 2453 additions and 2788 deletions

View file

@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2017 Aristeides Stathopoulos
Copyright (c) 2019 Ari Stathopoulos (@aristath)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View file

@ -1,36 +1,28 @@
.select2-dropdown {
border-color: rgba(0, 0, 0, 0.1);
border-radius: 0;
}
border-radius: 0; }
.select2-container {
min-width: 100px;
width: 100% !important;
}
width: 100% !important; }
.select2-container--open .select2-dropdown--above,
.select2-container--open .select2-dropdown--below {
z-index: 9999999;
min-width: 100px;
}
min-width: 100px; }
.select2-container--default .select2-search--dropdown .select2-search__field {
border-color: rgba(0, 0, 0, 0.1);
}
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;
}
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;
}
border-radius: 0; }
.wp-customizer .select2-container {
z-index: 8 !important;
}
z-index: 8 !important; }
.wp-customizer .select2-container.select2-container--open {
z-index: 999999 !important;
}
z-index: 999999 !important; }
/*# sourceMappingURL=kirki.css.map */

View file

@ -1 +0,0 @@
{"version":3,"sourceRoot":"","sources":["kirki.scss"],"names":[],"mappings":"AAAA;EACE;EACA;;;AAGF;EACE;EACA;;AAGE;AAAA;EAEE;EACA;;AAMA;EACE;;AAKF;EAEE;EACA;;AAIA;EACE;EACA;EACA;EACA;;;AAOV;EACE;;AAGE;EAEE","file":"kirki.css"}

View file

@ -1,53 +0,0 @@
.select2-dropdown {
border-color: rgba(0,0,0,.1);
border-radius: 0;
}
.select2-container {
min-width: 100px;
width: 100% !important;
&--open {
.select2-dropdown--above,
.select2-dropdown--below {
z-index: 9999999;
min-width: 100px;
}
}
&--default {
.select2-search--dropdown {
.select2-search__field {
border-color: rgba(0,0,0,.1);
}
}
.select2-selection {
&--multiple,
&--single {
border-color: rgba(0,0,0,.1);
border-radius: 0;
}
&--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;
&.select2-container {
&--open {
// @See https://github.com/aristath/kirki/issues/1418
z-index: 999999 !important;
}
}
}

View file

@ -5,8 +5,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -55,7 +55,7 @@ class Kirki_Autoload {
// Check if we've got it cached and ready.
if ( isset( $this->cached_paths[ $class_name ] ) && file_exists( $this->cached_paths[ $class_name ] ) ) {
include_once $this->cached_paths[ $class_name ];
include_once $this->cached_paths[ $class_name ]; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
return;
}
@ -65,7 +65,7 @@ class Kirki_Autoload {
$path = wp_normalize_path( $path );
if ( file_exists( $path ) ) {
$this->cached_paths[ $class_name ] = $path;
include_once $path;
include_once $path; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
return;
}
}

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/
@ -64,7 +64,7 @@ class Kirki_Controls {
foreach ( $this->templates as $template ) {
if ( file_exists( $this->views_path . $template . '.php' ) ) {
echo '<script type="text/html" id="tmpl-kirki-input-' . esc_attr( $template ) . '">';
include $this->views_path . $template . '.php';
include $this->views_path . $template . '.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
echo '</script>';
}
}

View file

@ -1,19 +1,16 @@
@charset "UTF-8";
.customize-control-kirki-background {
position: relative;
}
position: relative; }
.customize-control-kirki-background .background-attachment h4,
.customize-control-kirki-background .background-color h4,
.customize-control-kirki-background .background-position h4,
.customize-control-kirki-background .background-repeat h4,
.customize-control-kirki-background .background-size h4 {
margin-bottom: 5px;
}
margin-bottom: 5px; }
.customize-control-kirki-background .background-attachment .buttonset,
.customize-control-kirki-background .background-size .buttonset {
display: flex;
flex-wrap: wrap;
}
flex-wrap: wrap; }
.customize-control-kirki-background .background-attachment .buttonset .switch-label,
.customize-control-kirki-background .background-size .buttonset .switch-label {
background: rgba(0, 0, 0, 0.05);
@ -22,52 +19,42 @@
padding: 0.5em 1em;
margin: 0;
text-align: center;
flex-grow: 1;
}
flex-grow: 1; }
.customize-control-kirki-background .background-attachment .buttonset .switch-input:checked + .switch-label,
.customize-control-kirki-background .background-size .buttonset .switch-input:checked + .switch-label {
background-color: #3498DB;
color: #fff;
}
color: #fff; }
.customize-control-kirki-code textarea {
width: 100%;
min-height: 200px;
}
min-height: 200px; }
.customize-control-kirki-color-palette {
position: relative;
}
position: relative; }
.customize-control-kirki-color-palette label {
position: relative;
display: inline-block;
padding: 0;
margin: 0;
}
margin: 0; }
.customize-control-kirki-color-palette .colors-wrapper {
max-height: 300px;
overflow-y: auto;
padding: 10px;
display: flex;
flex-wrap: wrap;
}
flex-wrap: wrap; }
.customize-control-kirki-color-palette .colors-wrapper .color-palette-color {
color: transparent;
display: block;
width: 100%;
height: 100%;
overflow: hidden;
border: 1px solid rgba(0, 0, 0, 0.2);
}
border: 1px solid rgba(0, 0, 0, 0.2); }
.customize-control-kirki-color-palette .colors-wrapper.round label {
padding: 3px;
}
padding: 3px; }
.customize-control-kirki-color-palette .colors-wrapper.round .color-palette-color {
border-radius: 50%;
}
border-radius: 50%; }
.customize-control-kirki-color-palette .colors-wrapper.box-shadow .color-palette-color {
box-shadow: inset 3px 3px 13px 2px rgba(0, 0, 0, 0.22);
}
box-shadow: inset 3px 3px 13px 2px rgba(0, 0, 0, 0.22); }
.customize-control-kirki-color-palette .colors-wrapper input:checked + label .color-palette-color {
border: 0;
width: 150%;
@ -75,216 +62,165 @@
position: relative;
left: -25%;
top: -25%;
z-index: 1;
}
z-index: 1; }
.customize-control-kirki-color-palette .colors-wrapper.with-margin label {
margin: 3px;
}
margin: 3px; }
.customize-control-kirki-color-palette .colors-wrapper input {
display: none;
}
display: none; }
.customize-control-kirki-color-palette .colors-wrapper input:checked + label .color-palette-color {
box-shadow: 1px 1px 10px 1px #333333;
border: 1px solid rgba(0, 0, 0, 0.3);
}
border: 1px solid rgba(0, 0, 0, 0.3); }
.customize-control-kirki-color input[data-type=hue] + .iris-strip-horiz .iris-slider {
background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, aqua, #007fff, blue, #7f00ff, fuchsia, #ff0080, red) !important;
}
.customize-control-kirki-color input[data-type="hue"] + .iris-strip-horiz .iris-slider {
background-image: -webkit-linear-gradient(left, red, #ff7f00, yellow, #80ff00, lime, #00ff80, cyan, #007fff, blue, #7f00ff, magenta, #ff0080, red) !important; }
.customize-control-kirki-color .iris-picker .iris-square-handle {
z-index: 8;
}
z-index: 8; }
.customize-control-kirki-dashicons {
position: relative;
}
position: relative; }
.customize-control-kirki-dashicons label {
position: relative;
display: inline-block;
}
display: inline-block; }
.customize-control-kirki-dashicons .icons-wrapper {
max-height: 300px;
overflow-y: scroll;
}
overflow-y: scroll; }
.customize-control-kirki-dashicons .icons-wrapper h4 {
font-weight: 300;
margin: 0.7em 0;
}
margin: 0.7em 0; }
.customize-control-kirki-dashicons .icons-wrapper .dashicons {
padding: 3px;
font-size: 25px;
width: 25px;
height: 25px;
border: 1px solid transparent;
}
border: 1px solid transparent; }
.customize-control-kirki-dashicons .icons-wrapper input {
display: none;
}
display: none; }
.customize-control-kirki-dashicons .icons-wrapper input:checked + label .dashicons {
border: 1px solid #3498DB;
color: #000;
}
color: #000; }
.wp-customizer div.ui-datepicker {
z-index: 500001 !important;
width: 255px;
background: #fff;
border: 1px solid #dedede;
}
border: 1px solid #dedede; }
.wp-customizer div.ui-datepicker .ui-datepicker-header {
padding: 10px;
background: #e5e5e5;
border-bottom: 1px solid #fff;
}
border-bottom: 1px solid #fff; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
display: block;
position: absolute;
width: 1em;
overflow: hidden;
}
overflow: hidden; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next:after, .wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next:before,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:after,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:before {
font-family: dashicons;
}
font-family: dashicons; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next:after:hover, .wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next:before:hover,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:after:hover,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:before:hover {
cursor: pointer;
}
cursor: pointer; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon,
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon {
display: none;
}
display: none; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
left: 10px;
}
left: 10px; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-prev:before {
content: "";
}
content: "\f341"; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
right: 10px;
}
right: 10px; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-next:after {
content: "";
}
content: "\f345"; }
.wp-customizer div.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
text-align: center;
}
text-align: center; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar {
border-collapse: collapse;
width: 100%;
}
width: 100%; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar thead {
background: #e5e5e5;
padding: 5px;
}
padding: 5px; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td {
text-align: center;
}
text-align: center; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td a {
display: block;
padding: 5px;
color: #333;
text-decoration: none;
}
text-decoration: none; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td a.ui-state-active, .wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td a:hover {
color: #fff;
background-color: #0073aa;
}
background-color: #0073aa; }
.wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td.ui-state-disabled a, .wp-customizer div.ui-datepicker .ui-datepicker-calendar tr td.ui-state-disabled .ui-state-default a {
color: #999;
}
color: #999; }
.customize-control-kirki-dimensions {
position: relative;
}
position: relative; }
.customize-control-kirki-dimensions .wrapper {
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 10px;
}
padding: 10px; }
.customize-control-kirki-dimensions .wrapper .control {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
justify-content: space-between; }
.customize-control-kirki-dimensions .wrapper .control > div {
width: 48%;
}
width: 48%; }
.customize-control-kirki-dimensions .wrapper .control > div h5 {
margin: 10px 0 7px;
}
margin: 10px 0 7px; }
.customize-control-kirki-dimensions .wrapper .control > div .inner {
display: flex;
}
display: flex; }
.customize-control-kirki-editor textarea {
width: 100%;
}
width: 100%; }
.customize-control-kirki-generic input {
width: 100%;
}
width: 100%; }
.customize-control-kirki-generic textarea {
width: 100%;
border: 1px solid rgba(0, 0, 0, 0.1);
-webkit-box-shadow: none;
box-shadow: none;
}
box-shadow: none; }
.customize-control-kirki-multicolor .multicolor-single-color-wrapper {
display: flex;
justify-content: space-between;
}
justify-content: space-between; }
.customize-control-kirki-multicolor .multicolor-single-label {
order: 2;
}
order: 2; }
.customize-control-kirki-multicolor .wp-picker-container {
width: 100%;
}
width: 100%; }
.customize-control-kirki-multicolor .wp-picker-container > .wp-color-result {
width: 100%;
}
width: 100%; }
.customize-control-kirki-multicolor .wp-picker-container.wp-picker-active + .multicolor-single-label {
display: none;
}
display: none; }
.customize-control-kirki-number .customize-control-content {
display: flex;
align-items: stretch;
}
align-items: stretch; }
.customize-control-kirki-number .customize-control-content input {
width: 100%;
-moz-appearance: textfield;
}
-moz-appearance: textfield; }
.customize-control-kirki-number .customize-control-content input::-webkit-inner-spin-button, .customize-control-kirki-number .customize-control-content input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
margin: 0; }
.customize-control-kirki-number .customize-control-content .quantity {
min-width: 2rem;
max-width: 2rem;
text-align: center;
line-height: 24px;
}
line-height: 24px; }
.customize-control-kirki-palette {
position: relative;
}
.customize-control-kirki-palette input[type=radio] {
display: none;
}
.customize-control-kirki-palette input[type=radio]:checked + label {
border: 3px solid rgba(0, 0, 0, 0.4);
}
position: relative; }
.customize-control-kirki-palette input[type="radio"] {
display: none; }
.customize-control-kirki-palette input[type="radio"]:checked + label {
border: 3px solid rgba(0, 0, 0, 0.4); }
.customize-control-kirki-palette label {
background: none;
padding: 0;
border-top: 3px solid transparent;
border-bottom: 3px solid transparent;
margin-bottom: 5px;
display: flex;
}
display: flex; }
.customize-control-kirki-palette label span {
padding: 10px 0;
flex-grow: 1;
@ -297,27 +233,22 @@
-o-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
border-top: 1px solid rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.customize-control-kirki-palette label span:first-child {
border-left: 1px solid rgba(0, 0, 0, 0.1);
}
border-left: 1px solid rgba(0, 0, 0, 0.1); }
.customize-control-kirki-palette label span:last-child {
border-right: 1px solid rgba(0, 0, 0, 0.1);
}
border-right: 1px solid rgba(0, 0, 0, 0.1); }
.customize-control-kirki-palette label span:hover {
padding: 10px;
flex-grow: 3;
min-width: 60px;
font-size: 10px;
line-height: 10px;
color: #000;
}
color: #000; }
.customize-control-kirki-radio-buttonset .buttonset {
display: flex;
flex-wrap: wrap;
}
flex-wrap: wrap; }
.customize-control-kirki-radio-buttonset .buttonset .switch-label {
background: rgba(0, 0, 0, 0.1);
border: 1px rgba(0, 0, 0, 0.1);
@ -325,21 +256,17 @@
margin: 0;
text-align: center;
padding: 0.5em 1em;
flex-grow: 1;
}
flex-grow: 1; }
.customize-control-kirki-radio-buttonset .buttonset .switch-input:checked + .switch-label {
background-color: #00a0d2;
color: rgba(255, 255, 255, 0.8);
}
color: rgba(255, 255, 255, 0.8); }
.customize-control-kirki-radio-image > .image {
display: flex;
flex-wrap: wrap;
}
flex-wrap: wrap; }
.customize-control-kirki-radio-image label {
position: relative;
display: inline-block;
}
display: inline-block; }
.customize-control-kirki-radio-image label .image-label {
display: none;
position: absolute;
@ -348,29 +275,23 @@
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.7);
font-weight: bold;
}
font-weight: bold; }
.customize-control-kirki-radio-image label .image-label .inner {
width: 100%;
height: 100%;
text-align: center;
padding: 0.5em;
vertical-align: middle;
}
vertical-align: middle; }
.customize-control-kirki-radio-image label:hover .image-label {
display: block;
}
display: block; }
.customize-control-kirki-radio-image input {
display: none;
}
display: none; }
.customize-control-kirki-radio-image input img {
border: 1px solid transparent;
}
border: 1px solid transparent; }
.customize-control-kirki-radio-image input:checked + label img {
-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
border: 1px solid #3498DB;
}
border: 1px solid #3498DB; }
.customize-control-kirki-radio-image input + label .image-clickable {
position: absolute;
top: 0;
@ -378,114 +299,87 @@
left: 0;
right: 0;
width: 100%;
height: 100%;
}
height: 100%; }
.customize-control-kirki-radio {
position: relative;
}
position: relative; }
.customize-control-kirki-radio input[type=radio] {
width: 18px;
height: 18px;
}
height: 18px; }
.customize-control-kirki-radio input[type=radio]:checked:before {
width: 10px;
height: 10px;
margin: 3px;
}
margin: 3px; }
.customize-control-kirki-radio label {
display: list-item;
margin-bottom: 7px;
}
margin-bottom: 7px; }
.customize-control-kirki-radio label .option-description {
display: block;
color: rgba(0, 0, 0, 0.35);
font-size: 0.9em;
padding-left: 25px;
}
padding-left: 25px; }
.customize-control-repeater {
position: relative;
}
position: relative; }
.customize-control-repeater .repeater-fields .repeater-row {
border: 1px solid #e5e5e5;
margin-top: 0.5rem;
background: #eee;
position: relative;
}
position: relative; }
.customize-control-repeater .repeater-fields .repeater-row.minimized {
border: 1px solid #dfdfdf;
padding: 0;
}
padding: 0; }
.customize-control-repeater .repeater-fields .repeater-row.minimized:hover {
border: 1px solid #e5e5e5;
}
border: 1px solid #e5e5e5; }
.customize-control-repeater .repeater-fields .repeater-row.minimized .repeater-row-content {
display: none;
}
display: none; }
.customize-control-repeater .repeater-fields .repeater-row label {
margin-bottom: 12px;
clear: both;
}
clear: both; }
.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field- {
display: none;
}
display: none; }
.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input {
display: none;
}
display: none; }
.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input img {
border: 1px solid transparent;
}
border: 1px solid transparent; }
.customize-control-repeater .repeater-fields .repeater-row .repeater-field.repeater-field-radio-image input:checked + label img {
-webkit-box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.25);
border: 1px solid #3498DB;
}
border: 1px solid #3498DB; }
.customize-control-repeater .repeater-fields .repeater-row .repeater-field:last-child {
border-bottom: none;
padding-bottom: 0;
}
padding-bottom: 0; }
.customize-control-repeater button.repeater-add {
margin-top: 1rem;
}
margin-top: 1rem; }
.customize-control-repeater .repeater-row-content {
padding: 10px 15px;
background: #fff;
}
background: #fff; }
.customize-control-repeater .repeater-field {
margin-bottom: 12px;
width: 100%;
clear: both;
padding-bottom: 12px;
border-bottom: 1px dotted #CCC;
}
border-bottom: 1px dotted #CCC; }
.customize-control-repeater .repeater-field .customize-control-title {
font-size: 13px;
line-height: initial;
}
line-height: initial; }
.customize-control-repeater .repeater-field .customize-control-description {
font-size: 13px;
line-height: initial;
}
line-height: initial; }
.customize-control-repeater .repeater-field.repeater-field-hidden {
margin: 0;
padding: 0;
border: 0;
}
border: 0; }
.customize-control-repeater .repeater-field-select select {
margin-left: 0;
}
margin-left: 0; }
.customize-control-repeater .repeater-field-checkbox label {
line-height: 28px;
}
line-height: 28px; }
.customize-control-repeater .repeater-field-checkbox input {
line-height: 28px;
margin-right: 5px;
}
margin-right: 5px; }
.customize-control-repeater .repeater-field-textarea textarea {
width: 100%;
resize: vertical;
}
resize: vertical; }
.customize-control-repeater .repeater-row-header {
background: white;
border-bottom: 1px solid #dfdfdf;
@ -495,18 +389,15 @@
min-height: 20px;
line-height: 30px;
overflow: hidden;
word-wrap: break-word;
}
word-wrap: break-word; }
.customize-control-repeater .repeater-row-header:hover {
cursor: move;
}
cursor: move; }
.customize-control-repeater .repeater-row-header .dashicons {
font-size: 18px;
position: absolute;
right: 12px;
top: 2px;
color: #a0a5aa;
}
color: #a0a5aa; }
.customize-control-repeater .repeater-row-label {
font-size: 13px;
font-weight: 600;
@ -514,71 +405,57 @@
display: block;
width: 90%;
overflow: hidden;
height: 18px;
}
height: 18px; }
.customize-control-repeater .repeater-row-remove {
color: #a00;
}
color: #a00; }
.customize-control-repeater .repeater-row-remove:hover {
color: #f00;
}
color: #f00; }
.customize-control-repeater .repeater-minimize {
line-height: 36px;
}
line-height: 36px; }
.customize-control-repeater .remove-button,
.customize-control-repeater .upload-button {
width: 48%;
}
width: 48%; }
.kirki-image-attachment {
margin: 0;
text-align: center;
margin-bottom: 10px;
}
margin-bottom: 10px; }
.kirki-image-attachment img {
display: inline-block;
}
display: inline-block; }
.kirki-file-attachment {
margin: 0;
text-align: center;
margin-bottom: 10px;
}
margin-bottom: 10px; }
.kirki-file-attachment .file {
display: block;
padding: 10px 5px;
border: 1px dotted #c3c3c3;
background: #f9f9f9;
}
background: #f9f9f9; }
.limit {
padding: 3px;
border-radius: 3px;
}
border-radius: 3px; }
.limit.highlight {
background: #D32F2F;
color: #fff;
}
color: #fff; }
.customize-control-kirki-slider .wrapper {
display: flex;
align-items: center;
padding: 15px 0 7px;
position: relative;
}
position: relative; }
.customize-control-kirki-slider .wrapper .slider-reset {
position: absolute;
top: 0;
right: 0;
font-size: 12px;
transition: 0.3s ease-in-out;
color: rgba(0, 0, 0, 0.3);
}
color: rgba(0, 0, 0, 0.3); }
.customize-control-kirki-slider .wrapper .slider-reset:hover {
transform: scale(1.3);
color: #DC3232;
}
.customize-control-kirki-slider .wrapper input[type=range] {
color: #DC3232; }
.customize-control-kirki-slider .wrapper input[type="range"] {
display: block;
-webkit-appearance: none;
background-color: #bdc3c7;
@ -586,9 +463,8 @@
height: 5px;
border-radius: 5px;
margin: 0 auto;
outline: 0;
}
.customize-control-kirki-slider .wrapper input[type=range]::-webkit-slider-thumb {
outline: 0; }
.customize-control-kirki-slider .wrapper input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #0085ba;
width: 17px;
@ -596,73 +472,58 @@
border-radius: 50%;
border: 1px solid #006799;
cursor: pointer;
transition: 0.3s ease-in-out;
}
.customize-control-kirki-slider .wrapper input[type=range]::-webkit-slider-thumb:hover {
transition: 0.3s ease-in-out; }
.customize-control-kirki-slider .wrapper input[type="range"]::-webkit-slider-thumb:hover {
background-color: #006799;
border: 2px solid #0085ba;
}
.customize-control-kirki-slider .wrapper input[type=range]::-webkit-slider-thumb:active {
transform: scale(1.2);
}
.customize-control-kirki-slider .wrapper input[type=text] {
border: 2px solid #0085ba; }
.customize-control-kirki-slider .wrapper input[type="range"]::-webkit-slider-thumb:active {
transform: scale(1.2); }
.customize-control-kirki-slider .wrapper input[type="text"] {
font-size: 13px;
background: transparent;
border: none;
box-shadow: none;
text-align: right;
padding: 0;
width: 40px;
}
width: 40px; }
.customize-control-kirki-slider .wrapper .value {
display: flex;
align-items: baseline;
}
align-items: baseline; }
.customize-control-kirki-sortable ul.ui-sortable li {
padding: 5px 10px;
border: 1px solid #333;
background: #fff;
}
background: #fff; }
.customize-control-kirki-sortable ul.ui-sortable li .dashicons.dashicons-menu {
float: right;
}
float: right; }
.customize-control-kirki-sortable ul.ui-sortable li .dashicons.visibility {
margin-right: 10px;
}
margin-right: 10px; }
.customize-control-kirki-sortable ul.ui-sortable li.invisible {
color: #aaa;
border: 1px dashed #aaa;
}
border: 1px dashed #aaa; }
.customize-control-kirki-sortable ul.ui-sortable li.invisible .dashicons.visibility {
color: #aaa;
}
color: #aaa; }
.customize-control-kirki-switch {
position: relative;
}
position: relative; }
.customize-control-kirki-switch .switch-off,
.customize-control-kirki-switch .switch-on {
opacity: 1;
padding: 8px;
font-size: 14px;
line-height: 18px;
}
line-height: 18px; }
.customize-control-kirki-switch .switch-on {
color: #fff;
opacity: 0;
}
opacity: 0; }
.customize-control-kirki-switch .switch-off {
color: #777;
}
color: #777; }
.customize-control-kirki-switch .switch {
border: none;
margin-bottom: 1.5rem;
outline: 0;
padding: 0;
user-select: none;
border-radius: 3rem;
}
border-radius: 3rem; }
.customize-control-kirki-switch label {
background: #b4b9be;
float: left;
@ -672,8 +533,7 @@
margin-bottom: 1rem;
position: relative;
transition: left 0.15s ease-out;
border-radius: 3rem;
}
border-radius: 3rem; }
.customize-control-kirki-switch label:after {
background: #FFFFFF;
content: "";
@ -684,40 +544,30 @@
width: calc(.85rem + 10px);
height: calc(.85rem + 10px);
transition: all 0.25s ease-in-out;
border-radius: 3rem;
}
border-radius: 3rem; }
.customize-control-kirki-switch input + label {
margin-left: 0;
margin-right: 0;
}
margin-right: 0; }
.customize-control-kirki-switch input:checked + label {
background: #0073aa;
}
background: #0073aa; }
.customize-control-kirki-switch input:checked + label:after {
left: auto;
right: 5px;
background: #ffffff;
}
background: #ffffff; }
.customize-control-kirki-switch input:checked + label .switch-on {
opacity: 1;
}
opacity: 1; }
.customize-control-kirki-switch input:checked + label .switch-off {
opacity: 0;
}
opacity: 0; }
.customize-control-kirki-toggle {
position: relative;
}
position: relative; }
.customize-control-kirki-toggle label {
display: flex;
flex-wrap: wrap;
}
flex-wrap: wrap; }
.customize-control-kirki-toggle label .customize-control-title {
width: calc(100% - 55px);
}
width: calc(100% - 55px); }
.customize-control-kirki-toggle label .description {
order: 99;
}
order: 99; }
.customize-control-kirki-toggle .switch {
border: 1px solid #b4b9be;
display: inline-block;
@ -730,8 +580,7 @@
top: 4px;
cursor: pointer;
user-select: none;
transition: background 350ms ease;
}
transition: background 350ms ease; }
.customize-control-kirki-toggle .switch:after, .customize-control-kirki-toggle .switch:before {
content: "";
display: block;
@ -741,46 +590,36 @@
position: absolute;
top: 50%;
left: -3px;
transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease;
}
transition: all 350ms cubic-bezier(0, 0.95, 0.38, 0.98), background 150ms ease; }
.customize-control-kirki-toggle .switch:before {
background: rgba(0, 0, 0, 0.2);
transform: translate3d(0, -50%, 0) scale(0);
}
transform: translate3d(0, -50%, 0) scale(0); }
.customize-control-kirki-toggle .switch:after {
background: #999;
border: 1px solid rgba(0, 0, 0, 0.1);
transform: translate3d(0, -50%, 0);
}
transform: translate3d(0, -50%, 0); }
.customize-control-kirki-toggle .switch:active:before {
transform: translate3d(0, -50%, 0) scale(3);
}
transform: translate3d(0, -50%, 0) scale(3); }
.customize-control-kirki-toggle input:checked + .switch:before {
background: rgba(0, 115, 170, 0.075);
transform: translate3d(100%, -50%, 0) scale(1);
}
transform: translate3d(100%, -50%, 0) scale(1); }
.customize-control-kirki-toggle input:checked + .switch:after {
background: #0073aa;
transform: translate3d(100%, -50%, 0);
}
transform: translate3d(100%, -50%, 0); }
.customize-control-kirki-toggle input:checked + .switch:active:before {
background: rgba(0, 115, 170, 0.075);
transform: translate3d(100%, -50%, 0) scale(3);
}
transform: translate3d(100%, -50%, 0) scale(3); }
.customize-control-kirki-typography {
position: relative;
}
position: relative; }
.customize-control-kirki-typography .wrapper {
padding: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border: 1px solid rgba(0, 0, 0, 0.1);
}
border: 1px solid rgba(0, 0, 0, 0.1); }
.customize-control-kirki-typography .wrapper h5 {
margin: 0.67em 0 0;
}
margin: 0.67em 0 0; }
.customize-control-kirki-typography .wrapper .color,
.customize-control-kirki-typography .wrapper .font-backup,
.customize-control-kirki-typography .wrapper .font-family,
@ -794,33 +633,26 @@
.customize-control-kirki-typography .wrapper .variant {
width: 100%;
float: none;
clear: both;
}
clear: both; }
.customize-control-kirki-typography .wrapper .font-size,
.customize-control-kirki-typography .wrapper .letter-spacing,
.customize-control-kirki-typography .wrapper .line-height,
.customize-control-kirki-typography .wrapper .margin-bottom,
.customize-control-kirki-typography .wrapper .margin-top,
.customize-control-kirki-typography .wrapper .text-transform {
width: 48%;
}
width: 48%; }
.customize-control-kirki-typography .wrapper .text-align .text-align-choices {
display: flex;
}
display: flex; }
.customize-control-kirki-typography .wrapper .text-align .text-align-choices label {
width: 100%;
padding: 5px;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0);
}
border: 1px solid rgba(255, 255, 255, 0); }
.customize-control-kirki-typography .wrapper .text-align .text-align-choices input {
display: none;
}
display: none; }
.customize-control-kirki-typography .wrapper .text-align .text-align-choices input:checked + label {
border-color: #0085ba;
}
border-color: #0085ba; }
.customize-control-kirki-typography .wrapper .color {
width: auto;
}
width: auto; }
/*# sourceMappingURL=styles.css.map */

View file

@ -830,7 +830,13 @@ kirki = jQuery.extend( kirki, {
} );
element.on( 'change keyup paste click', function() {
kirki.setting.set( control.id, jQuery( this ).val() );
var val = jQuery( this ).val();
if ( isNaN( val ) ) {
val = parseFloat( val, 10 );
val = ( isNaN( val ) ) ? 0 : val;
jQuery( this ).attr( 'value', val );
}
kirki.setting.set( control.id, val );
} );
}
@ -899,7 +905,7 @@ kirki = jQuery.extend( kirki, {
previewImage = jsonImg.url;
if ( ! _.isUndefined( jsonImg.sizes ) ) {
previewImg = jsonImg.sizes.full.url;
previewImage = jsonImg.sizes.full.url;
if ( ! _.isUndefined( jsonImg.sizes.medium ) ) {
previewImage = jsonImg.sizes.medium.url;
} else if ( ! _.isUndefined( jsonImg.sizes.thumbnail ) ) {
@ -3170,7 +3176,6 @@ wp.customize.controlConstructor['kirki-typography'] = wp.customize.kirkiDynamicC
control.renderFontSelector();
control.renderBackupFontSelector();
control.renderVariantSelector();
control.localFontsCheckbox();
// Font-size.
if ( 'undefined' !== typeof control.params.default['font-size'] ) {
@ -3568,22 +3573,6 @@ wp.customize.controlConstructor['kirki-typography'] = wp.customize.kirkiDynamicC
};
},
localFontsCheckbox: function() {
var control = this,
checkboxContainer = control.container.find( '.kirki-host-font-locally' ),
checkbox = control.container.find( '.kirki-host-font-locally input' ),
checked = jQuery( checkbox ).is( ':checked' );
if ( control.setting._value && control.setting._value.downloadFont ) {
jQuery( checkbox ).attr( 'checked', 'checked' );
}
jQuery( checkbox ).on( 'change', function() {
checked = jQuery( checkbox ).is( ':checked' );
control.saveValue( 'downloadFont', checked );
} );
},
/**
* Saves the value.
*/

File diff suppressed because one or more lines are too long

View file

@ -7,7 +7,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -6,7 +6,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.12
*/
@ -218,9 +218,6 @@ class Kirki_Control_Base extends WP_Customize_Control {
*
* Allows the content to be overridden without having to rewrite the wrapper in `$this::render()`.
*
* Supports basic input types `text`, `checkbox`, `textarea`, `radio`, `select` and `dropdown-pages`.
* Additional input types such as `email`, `url`, `number`, `hidden` and `date` are supported implicitly.
*
* Control content can alternately be rendered in JS. See WP_Customize_Control::print_template().
*
* @since 3.4.0

View file

@ -7,7 +7,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.26
*/

View file

@ -7,42 +7,16 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
// @codingStandardsIgnoreFile Generic.Files.OneClassPerFile.MultipleFound Generic.Classes.DuplicateClassName.Found
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Show warning if old WordPress.
*/
if ( ! class_exists( 'WP_Customize_Code_Editor_Control' ) ) {
/**
* Adds a warning message instead of the control.
*/
class Kirki_Control_Code extends Kirki_Control_Base {
/**
* The message.
*
* @since 3.0.21
*/
protected function content_template() {
?>
<div class="notice notice-error" data-type="error"><div class="notification-message">
<?php esc_html_e( 'Please update your WordPress installation to a version newer than 4.9 to access the code control.', 'kirki' ); ?>
</div></div>
<?php
}
}
} else {
/**
* Adds a "code" control, alias of the WP_Customize_Code_Editor_Control class.
*/
@ -71,4 +45,3 @@ if ( ! class_exists( 'WP_Customize_Code_Editor_Control' ) ) {
$this->json['required'] = $this->required;
}
}
}

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.6
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.23
*/

View file

@ -7,7 +7,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.4
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.0
*/
@ -35,7 +35,9 @@ class Kirki_Control_Dimension extends Kirki_Control_Base {
public function enqueue() {
parent::enqueue();
wp_localize_script(
'kirki-script', 'dimensionkirkiL10n', array(
'kirki-script',
'dimensionkirkiL10n',
array(
'invalid-value' => esc_html__( 'Invalid Value', 'kirki' ),
)
);

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.1
*/

View file

@ -6,7 +6,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -39,7 +39,7 @@ class Kirki_Control_FontAwesome extends Kirki_Control_Base {
ob_start();
$json_path = wp_normalize_path( Kirki::$path . '/assets/vendor/fontawesome/fontawesome.json' );
include $json_path;
include $json_path; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
$font_awesome_json = ob_get_clean();
wp_localize_script( 'kirki-script', 'fontAwesomeJSON', $font_awesome_json );

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.0
*/

View file

@ -7,7 +7,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.0
*/
@ -108,13 +108,11 @@ class Kirki_Control_Repeater extends Kirki_Control_Base {
case 'image':
case 'cropped_image':
case 'upload':
// We add it to the list of fields that need some extra filtering/processing.
$media_fields_to_filter[ $key ] = true;
break;
case 'dropdown-pages':
// If the field is a dropdown-pages field then add it to args.
$dropdown = wp_dropdown_pages(
array(
@ -127,7 +125,7 @@ class Kirki_Control_Repeater extends Kirki_Control_Base {
);
// Hackily add in the data link parameter.
$dropdown = str_replace( '<select', '<select data-field="' . esc_attr( $args['fields'][ $key ]['id'] ) . '"' . $this->get_link(), $dropdown ); // phpcs:ignore Generic.Formatting.MultipleStatementAlignment.NotSameWarning
$dropdown = str_replace( '<select', '<select data-field="' . esc_attr( $args['fields'][ $key ]['id'] ) . '"' . $this->get_link(), $dropdown ); // phpcs:ignore Generic.Formatting.MultipleStatementAlignment
$args['fields'][ $key ]['dropdown'] = $dropdown;
break;
}
@ -417,7 +415,7 @@ class Kirki_Control_Repeater extends Kirki_Control_Base {
</figure>
<div class="actions">
<button type="button" class="button remove-button<# if ( ! field.default ) { #> hidden<# } #>"></button>
<button type="button" class="button remove-button<# if ( ! field.default ) { #> hidden<# } #>"><?php esc_html_e( 'Remove', 'kirki' ); ?></button>
<button type="button" class="button upload-button" data-label="<?php esc_attr_e( 'Add File', 'kirki' ); ?>" data-alt-label="<?php esc_attr_e( 'Change File', 'kirki' ); ?>">
<# if ( field.default ) { #>
<?php esc_html_e( 'Change File', 'kirki' ); ?>

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -6,7 +6,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -37,7 +37,8 @@ class Kirki_Control_Slider extends Kirki_Control_Base {
public function to_json() {
parent::to_json();
$this->json['choices'] = wp_parse_args(
$this->json['choices'], array(
$this->json['choices'],
array(
'min' => '0',
'max' => '100',
'step' => '1',

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.0
*/
@ -94,12 +94,6 @@ class Kirki_Control_Typography extends Kirki_Control_Base {
<select {{{ data.inputAttrs }}} class="variant" id="kirki-typography-variant-{{{ data.id }}}"></select>
</div>
<# } #>
<div class="kirki-host-font-locally">
<label>
<input type="checkbox">
<?php esc_html_e( 'Download font-family to server instead of using the Google CDN.', 'kirki' ); ?>
</label>
</div>
<# } #>
<# if ( ! _.isUndefined( data.default['font-size'] ) ) { #>

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.23
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.34
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.27
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -34,8 +34,16 @@ class Kirki_Helper {
return array_replace_recursive( $array, $array1 );
}
// Handle the arguments, merge one by one.
$args = func_get_args();
/**
* Handle the arguments, merge one by one.
*
* In PHP 7 func_get_args() changed the way it behaves but this doesn't mean anything in this case
* sinc ethis method is only used when the array_replace_recursive() function doesn't exist
* and that was introduced in PHP v5.3.
*
* Once WordPress-Core raises its minimum requirements we''' be able to remove this fallback completely.
*/
$args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue
$array = $args[0];
if ( ! is_array( $array ) ) {
return $array;
@ -121,7 +129,7 @@ class Kirki_Helper {
global $wp_filesystem;
if ( empty( $wp_filesystem ) ) {
require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' );
require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' ); // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
WP_Filesystem( $credentials );
}
@ -247,7 +255,8 @@ class Kirki_Helper {
$post_types = get_post_types(
array(
'public' => true,
), 'objects'
),
'objects'
);
// Build the array.
@ -411,7 +420,7 @@ class Kirki_Helper {
return $value1 !== $value2;
}
if ( ( '!=' === $operator || 'not equal' === $operator ) ) {
return $value1 != $value2; // WPCS: loose comparison ok.
return $value1 != $value2; // phpcs:ignore WordPress.PHP.StrictComparisons
}
if ( ( '>=' === $operator || 'greater or equal' === $operator || 'equal or greater' === $operator ) ) {
return $value2 >= $value1;
@ -428,20 +437,20 @@ class Kirki_Helper {
if ( 'contains' === $operator || 'in' === $operator ) {
if ( is_array( $value1 ) && is_array( $value2 ) ) {
foreach ( $value2 as $val ) {
if ( in_array( $val, $value1 ) ) { // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
if ( in_array( $val, $value1 ) ) { // phpcs:ignore WordPress.PHP.StrictInArray
return true;
}
}
return false;
}
if ( is_array( $value1 ) && ! is_array( $value2 ) ) {
return in_array( $value2, $value1 ); // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
return in_array( $value2, $value1 ); // phpcs:ignore WordPress.PHP.StrictInArray
}
if ( is_array( $value2 ) && ! is_array( $value1 ) ) {
return in_array( $value1, $value2 ); // phpcs:ignore WordPress.PHP.StrictInArray.MissingTrueStrict
return in_array( $value1, $value2 ); // phpcs:ignore WordPress.PHP.StrictInArray
}
return ( false !== strrpos( $value1, $value2 ) || false !== strpos( $value2, $value1 ) );
}
return $value1 == $value2; // WPCS: loose comparison ok.
return $value1 == $value2; // phpcs:ignore WordPress.PHP.StrictComparisons
}
}

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -147,7 +147,8 @@ class Kirki_Init {
}
$skip_control_types = apply_filters(
'kirki_control_types_exclude', array(
'kirki_control_types_exclude',
array(
'Kirki_Control_Repeater',
'WP_Customize_Control',
)

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -110,7 +110,7 @@ class Kirki_L10n {
public function override_load_textdomain( $override, $domain, $mofile ) {
global $l10n;
if ( isset( $l10n[ $this->get_theme_textdomain() ] ) ) {
$l10n['kirki'] = $l10n[ $this->get_theme_textdomain() ]; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.OverrideProhibited
$l10n['kirki'] = $l10n[ $this->get_theme_textdomain() ]; // phpcs:ignore WordPress.WP.GlobalVariablesOverride
}
// Check if the domain is "kirki".

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.0
*/
@ -56,7 +56,8 @@ class Kirki_Modules {
*/
public function setup_default_modules() {
self::$modules = apply_filters(
'kirki_modules', array(
'kirki_modules',
array(
'css' => 'Kirki_Modules_CSS',
'css-vars' => 'Kirki_Modules_CSS_Vars',
'customizer-styling' => 'Kirki_Modules_Customizer_Styling',
@ -72,6 +73,7 @@ class Kirki_Modules {
'webfont-loader' => 'Kirki_Modules_Webfont_Loader',
'preset' => 'Kirki_Modules_Preset',
'gutenberg' => 'Kirki_Modules_Gutenberg',
'telemetry' => 'Kirki_Modules_Telemetry',
)
);
}

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -5,8 +5,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.17
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
@ -110,7 +110,9 @@ class Kirki_Settings {
$this->wp_customize->add_setting(
new $classname(
$this->wp_customize, $setting, array(
$this->wp_customize,
$setting,
array(
'default' => $default,
'type' => $type,
'capability' => $capability,
@ -132,7 +134,8 @@ class Kirki_Settings {
// Apply the kirki_setting_types filter.
$this->setting_types = apply_filters(
'kirki_setting_types', array(
'kirki_setting_types',
array(
'default' => 'WP_Customize_Setting',
'repeater' => 'Kirki_Settings_Repeater_Setting',
'user_meta' => 'Kirki_Setting_User_Meta',

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -4,8 +4,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.9
*/
@ -36,7 +36,7 @@ class Kirki_Util {
public static function is_plugin() {
$is_plugin = false;
if ( ! function_exists( 'get_plugins' ) ) {
require_once ABSPATH . 'wp-admin/includes/plugin.php';
require_once ABSPATH . 'wp-admin/includes/plugin.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
}
// Get all plugins.
@ -55,7 +55,7 @@ class Kirki_Util {
}
// Make sure the is_plugins_loaded function is loaded.
include_once ABSPATH . 'wp-admin/includes/plugin.php';
include_once ABSPATH . 'wp-admin/includes/plugin.php'; // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude
// Extra logic in case the plugin is installed but not activated.
if ( $_plugin && is_plugin_inactive( $_plugin ) ) {

View file

@ -7,8 +7,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -6,8 +6,8 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/

View file

@ -1,39 +0,0 @@
<?php
/**
* Generates & echo the styles when using the AJAx method.
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @license https://opensource.org/licenses/MIT
*/
// Do not allow directly accessing this file.
if ( ! class_exists( 'Kirki' ) ) {
die( 'File can\'t be accessed directly' );
}
// Make sure we set the correct MIME type.
header( 'Content-Type: text/css' );
// Echo the styles.
$configs = Kirki::$config;
foreach ( $configs as $config_id => $args ) {
if ( true === $args['disable_output'] ) {
continue;
}
$styles = Kirki_Modules_CSS::loop_controls( $config_id );
$styles = apply_filters( "kirki_{$config_id}_dynamic_css", $styles );
// Some people put weird stuff in their CSS, KSES tends to be greedy.
$styles = str_replace( '<=', '&lt;=', $styles );
$styles = wp_kses_post( $styles );
// Why both KSES and strip_tags? Because we just added some '>'.
// kses replaces lone '>' with &gt;.
// @codingStandardsIgnoreLine WordPress.WP.AlternativeFunctions.strip_tags_strip_tags WordPress.Security.EscapeOutput.OutputNotEscaped
echo strip_tags( str_replace( '&gt;', '>', $styles ) );
}

View file

@ -1,5 +1,5 @@
<?php
// @codingStandardsIgnoreFile
// phpcs:ignoreFile
if ( ! class_exists( 'Kirki_Active_Callback' ) ) {
// Removed in https://github.com/aristath/kirki/pull/1682/files
@ -18,3 +18,18 @@ if ( ! class_exists( 'Kirki_Active_Callback' ) ) {
}
}
}
/**
* Deprecated in v3.0.36
*
* keeping it here in case a theme or plugin was using one of its public methods.
* This is just to avoid fatal errors, it does not do anything.
*/
if ( ! class_exists( 'Kirki_CSS_To_File' ) ) {
class Kirki_CSS_To_File {
public function __construct() {}
public function get_url() {}
public function get_timestamp() {}
public function write_file() {}
}
}

View file

@ -6,13 +6,13 @@
*
* @package Kirki
* @category Core
* @author Aristeides Stathopoulos
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @author Ari Stathopoulos (@aristath)
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 1.0
*/
// @codingStandardsIgnoreFile
// phpcs:ignoreFile
require_once wp_normalize_path( dirname( __FILE__ ) . '/functions.php' );
require_once wp_normalize_path( dirname( __FILE__ ) . '/classes.php' );

View file

@ -1,5 +1,5 @@
<?php
// @codingStandardsIgnoreFile
// phpcs:ignoreFile
add_filter( 'kirki_config', function( $args ) {
return apply_filters( 'kirki/config', $args );

View file

@ -1,5 +1,5 @@
<?php
// @codingStandardsIgnoreFile
// phpcs:ignoreFile
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.3.2
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.3.2
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -0,0 +1,29 @@
<?php
/**
* Override field methods
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.36
*/
/**
* Field overrides.
*/
class Kirki_Field_Dropdown_Pages extends Kirki_Field_Select {
/**
* Sets the default value.
*
* @access protected
* @since 3.0.0
*/
protected function set_choices() {
$all_pages = get_pages();
foreach ( $all_pages as $page ) {
$this->choices[ $page->ID ] = $page->post_title;
}
}
}

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 3.0.0
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.3.2
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

View file

@ -4,7 +4,7 @@
*
* @package Kirki
* @subpackage Controls
* @copyright Copyright (c) 2017, Aristeides Stathopoulos
* @copyright Copyright (c) 2019, Ari Stathopoulos (@aristath)
* @license https://opensource.org/licenses/MIT
* @since 2.2.7
*/

Some files were not shown because too many files have changed in this diff Show more