Kirki - Version 0.8.3

Version Description

April 5, 2014, dev time: 28 hours

  • New: Introduce a Field class
  • New: Introduce a Builder class
  • Tweak: Code Cleanups
  • New: Added ability to use 'option' as the setting type
  • Fix : Bugs in the color calculation class
  • Tweak: Everything gets sanitized in the "Field" class
  • Fix: Bugs in sortable field
  • Fix: Editor control had no description
  • New: Added a color-alpha control. To use it just set an rgba color as the default value.
  • Tweak: SCSS & CSS improvements
  • Fix: Various PHP notices and warnings when no fields are defined
  • Tweak: More efficient color sanitization method
  • Tweak: Improved number control presentation
  • Tweak: Improved the way background fields are handled
  • Tweak: Checkboxes styling
  • New: Allow using rgba values for background colors
  • Fix: CSS fix - :focus color for active section
  • New: Add a static 'prepare' method to the ScriptRegistry class
  • Fix: Issues with the URL when Kirki is embedded in a theme
Download this release

Release Info

Developer aristath
Plugin Icon 128x128 Kirki
Version 0.8.3
Comparing to
See all releases

Code changes from version 0.8.2 to 0.8.3

Files changed (51) hide show
  1. assets/css/customizer.css +146 -48
  2. assets/css/customizer.scss +469 -369
  3. assets/css/hint.css +0 -0
  4. assets/css/kirki-styles.css +0 -0
  5. assets/images/jquery.fs.stepper-arrows.png +0 -0
  6. assets/images/transparency-grid.png +0 -0
  7. assets/js/customizer.js +169 -73
  8. assets/js/jquery.fs.stepper.min.js +9 -0
  9. assets/js/serialize.js +0 -0
  10. assets/json/webfonts.json +0 -0
  11. assets/xml/colourlovers-top.xml +0 -0
  12. composer.json +0 -0
  13. config.codekit +0 -1243
  14. includes/Builder.php +48 -0
  15. includes/Config.php +72 -68
  16. includes/Control.php +0 -309
  17. includes/Controls.php +108 -52
  18. includes/Controls/ColorAlphaControl.php +28 -0
  19. includes/Controls/CustomControl.php +16 -1
  20. includes/Controls/EditorControl.php +13 -2
  21. includes/Controls/MultiCheckControl.php +7 -1
  22. includes/Controls/PaletteControl.php +7 -1
  23. includes/Controls/RadioButtonSetControl.php +7 -1
  24. includes/Controls/RadioImageControl.php +7 -1
  25. includes/Controls/SliderControl.php +7 -1
  26. includes/Controls/SortableControl.php +9 -3
  27. includes/Controls/SwitchControl.php +7 -1
  28. includes/Controls/ToggleControl.php +7 -1
  29. includes/Fields.php +585 -0
  30. includes/Fonts/FontRegistry.php +50 -50
  31. includes/Helpers/helpers.php +50 -43
  32. includes/Helpers/libraries/class-kirki-color.php +81 -71
  33. includes/Helpers/libraries/class-kirki-colourlovers.php +3 -2
  34. includes/Helpers/sanitize.php +15 -2
  35. includes/Kirki.php +49 -94
  36. includes/Scripts/Customizer/Branding.php +17 -12
  37. includes/Scripts/Customizer/Dependencies.php +6 -4
  38. includes/Scripts/Customizer/PostMessage.php +20 -22
  39. includes/Scripts/Customizer/Required.php +24 -18
  40. includes/Scripts/Customizer/Stepper.php +47 -0
  41. includes/Scripts/Customizer/Tooltips.php +7 -6
  42. includes/Scripts/Frontend/GoogleFonts.php +26 -18
  43. includes/Scripts/ScriptRegistry.php +6 -0
  44. includes/Setting.php +0 -193
  45. includes/Settings.php +40 -0
  46. includes/Styles/Customizer.php +4 -2
  47. includes/Styles/Frontend.php +57 -45
  48. kirki.php +9 -2
  49. languages/kirki-en_US.mo +0 -0
  50. languages/kirki-en_US.po +46 -44
  51. readme.txt +43 -12
assets/css/customizer.css CHANGED
@@ -6,10 +6,13 @@
6
border-color: transparent !important;
7
border-color: transparent !important; }
8
9
- .hint, [data-hint] {
10
position: relative;
11
display: inline-block; }
12
- .hint:before, .hint:after, [data-hint]:before, [data-hint]:after {
13
position: absolute;
14
-webkit-transform: translate3d(0, 0, 0);
15
-moz-transform: translate3d(0, 0, 0);
@@ -20,12 +23,19 @@
20
pointer-events: none;
21
transition: 0.3s ease;
22
transition-delay: 250ms; }
23
- .hint:hover:before, .hint:hover:after, .hint:focus:before, .hint:focus:after, [data-hint]:hover:before, [data-hint]:hover:after, [data-hint]:focus:before, [data-hint]:focus:after {
24
visibility: visible;
25
opacity: 1; }
26
- .hint:hover:before, .hint:hover:after, [data-hint]:hover:before, [data-hint]:hover:after {
27
- transition-delay: 0ms; }
28
- .hint:before, [data-hint]:before {
29
content: '';
30
position: absolute;
31
background: transparent;
@@ -38,7 +48,8 @@
38
border-left: 5px solid #333;
39
left: -5px;
40
top: 5px; }
41
- .hint:after, [data-hint]:after {
42
content: attr(data-hint);
43
background: #333;
44
color: white;
@@ -89,37 +100,37 @@ li.customize-control {
89
width: 22px;
90
height: 22px; }
91
.customize-control-multicheck input[type="checkbox"]:before {
92
- -webkit-transition: all 0.1s ease-in-out;
93
- -moz-transition: all 0.1s ease-in-out;
94
- transition: all 0.1s ease-in-out;
95
content: "";
96
position: absolute;
97
left: 0;
98
z-index: 1;
99
- width: 16px;
100
- height: 16px;
101
- border: 2px solid #f2f2f2; }
102
.customize-control-multicheck input[type="checkbox"]:checked:before {
103
-webkit-transform: rotate(-45deg);
104
-moz-transform: rotate(-45deg);
105
-ms-transform: rotate(-45deg);
106
-o-transform: rotate(-45deg);
107
transform: rotate(-45deg);
108
- height: 8px;
109
- top: 4px;
110
- left: 4px;
111
- border-color: #009688;
112
border-top-style: none;
113
border-right-style: none; }
114
- .customize-control-multicheck input[type="checkbox"]:after {
115
- content: "";
116
- position: absolute;
117
- left: 0;
118
- top: 0;
119
- width: 18px;
120
- height: 18px;
121
- background: #fff;
122
- cursor: pointer; }
123
124
.customize-control-checkbox input[type="checkbox"] {
125
position: relative;
@@ -129,37 +140,37 @@ li.customize-control {
129
width: 22px;
130
height: 22px; }
131
.customize-control-checkbox input[type="checkbox"]:before {
132
- -webkit-transition: all 0.1s ease-in-out;
133
- -moz-transition: all 0.1s ease-in-out;
134
- transition: all 0.1s ease-in-out;
135
content: "";
136
position: absolute;
137
left: 0;
138
z-index: 1;
139
- width: 16px;
140
- height: 16px;
141
- border: 2px solid #f2f2f2; }
142
.customize-control-checkbox input[type="checkbox"]:checked:before {
143
-webkit-transform: rotate(-45deg);
144
-moz-transform: rotate(-45deg);
145
-ms-transform: rotate(-45deg);
146
-o-transform: rotate(-45deg);
147
transform: rotate(-45deg);
148
- height: 8px;
149
- top: 4px;
150
- left: 4px;
151
- border-color: #009688;
152
border-top-style: none;
153
border-right-style: none; }
154
- .customize-control-checkbox input[type="checkbox"]:after {
155
- content: "";
156
- position: absolute;
157
- left: 0;
158
- top: 0;
159
- width: 18px;
160
- height: 18px;
161
- background: #fff;
162
- cursor: pointer; }
163
164
.customize-control-radio-buttonset label {
165
padding: 5px 10px;
@@ -219,7 +230,7 @@ li.customize-control {
219
left: 2%; }
220
.customize-control-switch .Switch.Round,
221
.customize-control-toggle .Switch.Round {
222
- padding: 0px 20px;
223
border-radius: 40px;
224
margin-top: 5px; }
225
.customize-control-switch .Switch.Round .Toggle,
@@ -270,7 +281,7 @@ body.IE7 .Switch.Round {
270
.customize-control-palette label.ui-button.ui-widget .ui-button-text span {
271
padding: 10px 0;
272
flex-grow: 1;
273
- font-size: 0px;
274
line-height: 10px;
275
color: transparent;
276
-webkit-transition: all 200ms ease-in-out;
@@ -320,7 +331,94 @@ body.IE7 .Switch.Round {
320
.customize-control-slider .ui-slider .ui-slider-range {
321
position: absolute;
322
z-index: 1;
323
- font-size: .7em;
324
display: block;
325
border: 0;
326
background-position: 0 0; }
6
border-color: transparent !important;
7
border-color: transparent !important; }
8
9
+ .hint,
10
+ [data-hint] {
11
position: relative;
12
display: inline-block; }
13
+ .hint:before, .hint:after,
14
+ [data-hint]:before,
15
+ [data-hint]:after {
16
position: absolute;
17
-webkit-transform: translate3d(0, 0, 0);
18
-moz-transform: translate3d(0, 0, 0);
23
pointer-events: none;
24
transition: 0.3s ease;
25
transition-delay: 250ms; }
26
+ .hint:hover:before, .hint:hover:after, .hint:focus:before, .hint:focus:after,
27
+ [data-hint]:hover:before,
28
+ [data-hint]:hover:after,
29
+ [data-hint]:focus:before,
30
+ [data-hint]:focus:after {
31
visibility: visible;
32
opacity: 1; }
33
+ .hint:hover:before, .hint:hover:after,
34
+ [data-hint]:hover:before,
35
+ [data-hint]:hover:after {
36
+ transition-delay: 0; }
37
+ .hint:before,
38
+ [data-hint]:before {
39
content: '';
40
position: absolute;
41
background: transparent;
48
border-left: 5px solid #333;
49
left: -5px;
50
top: 5px; }
51
+ .hint:after,
52
+ [data-hint]:after {
53
content: attr(data-hint);
54
background: #333;
55
color: white;
100
width: 22px;
101
height: 22px; }
102
.customize-control-multicheck input[type="checkbox"]:before {
103
content: "";
104
position: absolute;
105
left: 0;
106
z-index: 1;
107
+ width: 100%;
108
+ height: 100%;
109
+ border: none; }
110
+ .customize-control-multicheck input[type="checkbox"]:after {
111
+ content: "";
112
+ position: absolute;
113
+ left: 0;
114
+ top: 0;
115
+ width: 100%;
116
+ height: 100%;
117
+ background: #fff;
118
+ cursor: pointer; }
119
.customize-control-multicheck input[type="checkbox"]:checked:before {
120
+ border: 4px solid #4caf50;
121
-webkit-transform: rotate(-45deg);
122
-moz-transform: rotate(-45deg);
123
-ms-transform: rotate(-45deg);
124
-o-transform: rotate(-45deg);
125
transform: rotate(-45deg);
126
+ width: 14px;
127
+ height: 6px;
128
+ top: 6px;
129
+ left: 5px;
130
border-top-style: none;
131
border-right-style: none; }
132
+ .customize-control-multicheck input[type="checkbox"]:checked:after {
133
+ background: #f2f2f2; }
134
135
.customize-control-checkbox input[type="checkbox"] {
136
position: relative;
140
width: 22px;
141
height: 22px; }
142
.customize-control-checkbox input[type="checkbox"]:before {
143
content: "";
144
position: absolute;
145
left: 0;
146
z-index: 1;
147
+ width: 100%;
148
+ height: 100%;
149
+ border: none; }
150
+ .customize-control-checkbox input[type="checkbox"]:after {
151
+ content: "";
152
+ position: absolute;
153
+ left: 0;
154
+ top: 0;
155
+ width: 100%;
156
+ height: 100%;
157
+ background: #fff;
158
+ cursor: pointer; }
159
.customize-control-checkbox input[type="checkbox"]:checked:before {
160
+ border: 4px solid #4caf50;
161
-webkit-transform: rotate(-45deg);
162
-moz-transform: rotate(-45deg);
163
-ms-transform: rotate(-45deg);
164
-o-transform: rotate(-45deg);
165
transform: rotate(-45deg);
166
+ width: 14px;
167
+ height: 6px;
168
+ top: 6px;
169
+ left: 5px;
170
border-top-style: none;
171
border-right-style: none; }
172
+ .customize-control-checkbox input[type="checkbox"]:checked:after {
173
+ background: #f2f2f2; }
174
175
.customize-control-radio-buttonset label {
176
padding: 5px 10px;
230
left: 2%; }
231
.customize-control-switch .Switch.Round,
232
.customize-control-toggle .Switch.Round {
233
+ padding: 0 20px;
234
border-radius: 40px;
235
margin-top: 5px; }
236
.customize-control-switch .Switch.Round .Toggle,
281
.customize-control-palette label.ui-button.ui-widget .ui-button-text span {
282
padding: 10px 0;
283
flex-grow: 1;
284
+ font-size: 0;
285
line-height: 10px;
286
color: transparent;
287
-webkit-transition: all 200ms ease-in-out;
331
.customize-control-slider .ui-slider .ui-slider-range {
332
position: absolute;
333
z-index: 1;
334
+ font-size: 0.7em;
335
display: block;
336
border: 0;
337
background-position: 0 0; }
338
+
339
+ .customize-control-color-alpha .kirki-alpha-container {
340
+ box-sizing: padding-box;
341
+ display: none;
342
+ border: 1px solid #dfdfdf;
343
+ border-top: none;
344
+ background: #fff;
345
+ padding: 0 11px 6px; }
346
+ .customize-control-color-alpha .kirki-alpha-container .transparency {
347
+ height: 24px;
348
+ width: 100%;
349
+ background-color: #fff;
350
+ background-image: url("../images/transparency-grid.png");
351
+ box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset;
352
+ -webkit-border-radius: 3px;
353
+ -moz-border-radius: 3px;
354
+ border-radius: 3px;
355
+ padding: 0; }
356
+ .customize-control-color-alpha .kirki-alpha-container .ui-slider-handle {
357
+ color: #777;
358
+ background-color: #fff;
359
+ text-shadow: 0 1px 0 #fff;
360
+ text-decoration: none;
361
+ position: absolute;
362
+ z-index: 2;
363
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
364
+ border: 1px solid #aaa;
365
+ -webkit-border-radius: 4px;
366
+ -moz-border-radius: 4px;
367
+ border-radius: 4px;
368
+ opacity: 0.9;
369
+ margin-top: -2px;
370
+ height: 20px;
371
+ cursor: ew-resize;
372
+ font-size: 12px;
373
+ padding: 3px; }
374
+ .customize-control-color-alpha .kirki-alpha-container .ui-slider {
375
+ position: relative;
376
+ text-align: center;
377
+ width: 88%; }
378
+ .customize-control-color-alpha .wp-picker-container a.wp-picker-open ~ div.kirki-alpha-container {
379
+ display: block; }
380
+ .customize-control-color-alpha .customize-control-alphacolor .wp-picker-container .iris-picker {
381
+ border-bottom: none; }
382
+
383
+ .customize-control-number .stepper {
384
+ border-radius: 0px;
385
+ margin: 0 0 10px 0;
386
+ overflow: hidden;
387
+ position: relative;
388
+ width: 50%; }
389
+ .customize-control-number .stepper .stepper-input {
390
+ background: #F9F9F9;
391
+ border: 1px solid #ccc;
392
+ border-radius: 0px;
393
+ color: #333;
394
+ font-size: 13px;
395
+ line-height: 1.2;
396
+ margin: 0;
397
+ overflow: hidden;
398
+ padding: 9px 10px 10px;
399
+ width: 100%;
400
+ z-index: 49;
401
+ -moz-appearance: textfield; }
402
+ .customize-control-number .stepper .stepper-input::-webkit-inner-spin-button, .customize-control-number .stepper .stepper-input::-webkit-outer-spin-button {
403
+ -webkit-appearance: none;
404
+ margin: 0; }
405
+ .customize-control-number .stepper .stepper-input:focus {
406
+ background-color: #fff; }
407
+ .customize-control-number .stepper .stepper-arrow {
408
+ background: #eee url("../images/jquery.fs.stepper-arrows.png") no-repeat;
409
+ border: 1px solid #ccc;
410
+ cursor: pointer;
411
+ display: block;
412
+ height: 50%;
413
+ position: absolute;
414
+ right: 0;
415
+ text-indent: -99999px;
416
+ width: 20px;
417
+ z-index: 50; }
418
+ .customize-control-number .stepper .stepper-arrow.up {
419
+ background-position: center top;
420
+ border-bottom: none;
421
+ top: 0; }
422
+ .customize-control-number .stepper .stepper-arrow.down {
423
+ background-position: center bottom;
424
+ bottom: 0; }
assets/css/customizer.scss CHANGED
@@ -1,406 +1,506 @@
1
- @mixin material-checkbox() {
2
- position: relative;
3
- margin: 0 1rem 0 0;
4
- cursor: pointer;
5
- margin-bottom: 5px;
6
- width: 22px;
7
- height: 22px;
8
- &:before {
9
- -webkit-transition: all 0.1s ease-in-out;
10
- -moz-transition: all 0.1s ease-in-out;
11
- transition: all 0.1s ease-in-out;
12
- content: "";
13
- position: absolute;
14
- left: 0;
15
- z-index: 1;
16
- width: 16px;
17
- height: 16px;
18
- border: 2px solid #f2f2f2;
19
- }
20
- &:checked {
21
- &:before {
22
- -webkit-transform: rotate(-45deg);
23
- -moz-transform: rotate(-45deg);
24
- -ms-transform: rotate(-45deg);
25
- -o-transform: rotate(-45deg);
26
- transform: rotate(-45deg);
27
- height: 8px;
28
- top:4px;
29
- left: 4px;
30
- border-color: #009688;
31
- border-top-style: none;
32
- border-right-style: none;
33
- }
34
- }
35
- &:after {
36
- content: "";
37
- position: absolute;
38
- left: 0;
39
- top: 0;
40
- width: 18px;
41
- height: 18px;
42
- background: #fff;
43
- cursor: pointer;
44
- }
45
}
46
-
47
// Generic styles
48
#customize-controls {
49
- #customize-header-actions {
50
51
- }
52
- #customize-info {
53
- .accordion-section-title {
54
- border-bottom: 1px solid rgba(0,0,0,.3);
55
- }
56
- }
57
- #customize-theme-controls {
58
- #accordion-section-themes {
59
60
- }
61
- .accordion-section {
62
- > .accordion-section-title {
63
- border-bottom: 1px solid rgba(0,0,0,.1);
64
- &:after {
65
- border-color: rgba(0,0,0,0) !important;
66
- border-color: transparent !important;
67
- }
68
- }
69
- }
70
- }
71
}
72
-
73
// Hints/Tooltips
74
- .hint, [data-hint] {
75
- position: relative;
76
- display: inline-block;
77
-
78
- &:before, &:after {
79
- position: absolute;
80
-
81
- // HACK: Trigger hardware accelerated rendering, otherwise transform was not
82
- // working on a hidden element
83
- -webkit-transform: translate3d(0, 0, 0);
84
- -moz-transform: translate3d(0, 0, 0);
85
- transform: translate3d(0, 0, 0);
86
-
87
- // HACK: visibility is set to hidden because IE & Opera don't support
88
- // pointer-events on HTML content yet because of which hovering a hidden tooltip
89
- // shows the tooltip.
90
- visibility: hidden;
91
- opacity: 0;
92
- z-index: 998;
93
- // shouldn't receive pointer events, otherwise even hovering tooltip will make it appear
94
- pointer-events: none;
95
-
96
- transition: 0.3s ease;
97
- transition-delay: 250ms;
98
- }
99
-
100
- &:hover:before, &:hover:after,
101
- &:focus:before, &:focus:after {
102
- visibility: visible;
103
- opacity: 1;
104
- }
105
-
106
- &:hover:before, &:hover:after {
107
- transition-delay: 0ms;
108
- }
109
- // tooltip arrow
110
- &:before {
111
- content: '';
112
- position: absolute;
113
- background: transparent;
114
- border: none;
115
- // move z-index 1 up than :after so that it shows over box-shadow
116
- z-index: 999;
117
- width: 0;
118
- height: 0;
119
- border-top: 5px solid transparent;
120
- border-bottom: 5px solid transparent;
121
- border-left: 5px solid #333;
122
- left: -5px;
123
- top: 5px;
124
- }
125
- // tooltip body
126
- &:after {
127
- content: attr(data-hint); // The magic!
128
- background: #333;
129
- color: white;
130
- padding: 5px 10px;
131
- font-size: 12px;
132
- line-height: 14px;
133
- height: auto;
134
- margin-bottom: -14px;
135
- width: 170px;
136
- max-width: 170px;
137
- display: block;
138
- white-space: normal;
139
- text-align: right;
140
- position: relative;
141
- top: -22px;
142
- left: -195px;
143
- }
144
}
145
-
146
// apply to all controls for tooltips
147
li.customize-control {
148
- position: relative;
149
- a.tooltip.hint--left {
150
- display: block;
151
- position: absolute;
152
- top: 5px;
153
- right: -20px;
154
- border-radius: 50%;
155
- color: #999;
156
- border: none;
157
- line-height: 8px;
158
- width: 20px;
159
- height: 20px;
160
- }
161
}
162
-
163
// Radio-Image Controls
164
.customize-control-radio-image {
165
- .image.ui-buttonset {
166
- input[type=radio] {
167
- height: auto;
168
- }
169
- label {
170
- border: 1px solid transparent;
171
- display: inline-block;
172
- margin-right: 5px;
173
- margin-bottom: 5px;
174
- &.ui-state-active {
175
- background: none;
176
- border-color: #333;
177
- }
178
- }
179
- }
180
}
181
-
182
// Multicheck Controls
183
.customize-control-multicheck {
184
- input[type="checkbox"] {
185
- @include material-checkbox();
186
- }
187
}
188
-
189
// Checkbox Controls
190
// Multicheck Controls
191
.customize-control-checkbox {
192
- input[type="checkbox"] {
193
- @include material-checkbox();
194
- }
195
}
196
-
197
// Radio-Buttonset Controls
198
.customize-control-radio-buttonset {
199
- input[type=radio] {
200
- }
201
- label {
202
- padding: 5px 10px;
203
- background: #f7f7f7;
204
- border-left: 1px solid #dedede;
205
- &.ui-state-active {
206
- background: #dedede;
207
- }
208
- &.ui-corner-left {
209
- border-radius: 3px 0 0 3px;
210
- border-left: 0;
211
- }
212
- &.ui-corner-right {
213
- border-radius: 0 3px 3px 0;
214
- }
215
- }
216
- }
217
218
// Switch & toggle Controls
219
.customize-control-switch,
220
.customize-control-toggle {
221
- .Switch {
222
- position: relative;
223
- display: inline-block;
224
- font-size: 16px;
225
- font-weight: bold;
226
- color: #aaa;
227
- height: 18px;
228
- line-height: 27px;
229
- padding: 6px;
230
- border: 1px solid #ccc;
231
- border: 1px solid rgba(0,0,0,0.2);
232
- background: #f2f2f2;
233
- cursor: pointer;
234
- float: right;
235
- transition: all 0.15s ease-in-out;
236
- .Toggle {
237
- position: absolute;
238
- top: 1px;
239
- width: 37px;
240
- height: 25px;
241
- border: 1px solid #aaa;
242
- border: 1px solid rgba(0,0,0,0.2);
243
- background: #fff;
244
- z-index: 989;
245
- transition: all 0.15s ease-in-out;
246
- }
247
- .On,
248
- .Off {
249
- display: inline-block;
250
- width: 35px;
251
- position: relative;
252
- top: -5px;
253
- }
254
- .On {
255
- color: #333;
256
- }
257
- &.On {
258
- .Toggle {
259
- left: 54%;
260
- }
261
- }
262
- &.Off {
263
- .Toggle {
264
- left: 2%;
265
- }
266
- }
267
- &.Round {
268
- padding: 0px 20px;
269
- border-radius: 40px;
270
- margin-top: 5px;
271
- .Toggle {
272
- border-radius: 40px;
273
- width: 14px;
274
- height: 14px;
275
- }
276
- &.Off {
277
- .Toggle {
278
- left: 3%;
279
- }
280
- }
281
- &.On {
282
- color: #fff;
283
- background: #333;
284
- .Toggle {
285
- left: 58%;
286
- }
287
- }
288
- }
289
- }
290
}
291
- body.IE7 .Switch { width: 78px; }
292
- body.IE7 .Switch.Round { width: 1px; }
293
-
294
// Sortable Controls
295
.customize-control-sortable {
296
- ul.ui-sortable {
297
- li {
298
- padding: 5px 10px;
299
- border: 1px solid #333;
300
- background: #fff;
301
- .dashicons {
302
- &.dashicons-menu {
303
- float: right;
304
- }
305
- &.visibility {
306
- margin-right: 10px;
307
- }
308
- }
309
- &.invisible {
310
- color: #aaa;
311
- border: 1px dashed #aaa;
312
- .dashicons.visibility {
313
- color: #aaa;
314
- }
315
- }
316
- }
317
- }
318
}
319
-
320
// Palette controls
321
.customize-control-palette {
322
- label {
323
- &.ui-button.ui-widget {
324
- width: 95%;
325
- background: none;
326
- padding: 0;
327
- .ui-button-text {
328
- border-top: 3px solid transparent;
329
- border-bottom: 3px solid transparent;
330
- margin-bottom: 5px;
331
- display: flex;
332
- span {
333
- padding: 10px 0;
334
- flex-grow: 1;
335
- font-size: 0px;
336
- line-height: 10px;
337
- color: rgba(0,0,0,0);
338
- -webkit-transition: all 200ms ease-in-out;
339
- -moz-transition: all 200ms ease-in-out;
340
- -ms-transition: all 200ms ease-in-out;
341
- -o-transition: all 200ms ease-in-out;
342
- transition: all 200ms ease-in-out;
343
- &:hover {
344
- padding: 10px;
345
- flex-grow: 3;
346
- min-width: 60px;
347
- font-size: 10px;
348
- line-height: 10px;
349
- color: #000;
350
- }
351
- }
352
- }
353
- }
354
- &.ui-state-active {
355
- &.ui-button.ui-widget {
356
- span.ui-button-text {
357
- border: 3px solid #333;
358
- }
359
- }
360
- }
361
- }
362
}
363
-
364
// Slider Controls
365
.customize-control-slider {
366
- input[type="text"] {
367
- border: none;
368
- text-align: center;
369
- padding: 0;
370
- margin: 0;
371
- font-size: 12px;
372
- box-shadow: none;
373
- color: #333;
374
- }
375
- .ui-slider {
376
- position: relative;
377
- text-align: left;
378
- height: 7px;
379
- border-radius: 3px;
380
- background: #f2f2f2;
381
- border: 1px solid #dedede;
382
- margin-top: 10px;
383
- margin-bottom: 20px;
384
- .ui-slider-handle {
385
- position: absolute;
386
- z-index: 2;
387
- width: 15px;
388
- height: 15px;
389
- top: -5px;
390
- border-radius: 50%;
391
- cursor: default;
392
- -ms-touch-action: none;
393
- touch-action: none;
394
- background: #333;
395
- border: 1px solid #333;
396
- }
397
- .ui-slider-range {
398
- position: absolute;
399
- z-index: 1;
400
- font-size: .7em;
401
- display: block;
402
- border: 0;
403
- background-position: 0 0;
404
- }
405
- }
406
}
1
+ @mixin custom-checkbox() {
2
+ position: relative;
3
+ margin: 0 1rem 0 0;
4
+ cursor: pointer;
5
+ margin-bottom: 5px;
6
+ width: 22px;
7
+ height: 22px;
8
+ &:before {
9
+ content: "";
10
+ position: absolute;
11
+ left: 0;
12
+ z-index: 1;
13
+ width: 100%;
14
+ height: 100%;
15
+ border: none;
16
+ }
17
+ &:after {
18
+ content: "";
19
+ position: absolute;
20
+ left: 0;
21
+ top: 0;
22
+ width: 100%;
23
+ height: 100%;
24
+ background: #fff;
25
+ cursor: pointer;
26
+ }
27
+ &:checked {
28
+ &:before {
29
+ border: 4px solid #4caf50;
30
+ -webkit-transform: rotate(-45deg);
31
+ -moz-transform: rotate(-45deg);
32
+ -ms-transform: rotate(-45deg);
33
+ -o-transform: rotate(-45deg);
34
+ transform: rotate(-45deg);
35
+ width: 14px;
36
+ height: 6px;
37
+ top: 6px;
38
+ left: 5px;
39
+ border-top-style: none;
40
+ border-right-style: none;
41
+ }
42
+ &:after {
43
+ background: #f2f2f2;
44
+ }
45
+ }
46
}
47
// Generic styles
48
#customize-controls {
49
+ #customize-header-actions {
50
51
+ }
52
+ #customize-info {
53
+ .accordion-section-title {
54
+ border-bottom: 1px solid rgba(0,0,0,.3);
55
+ }
56
+ }
57
+ #customize-theme-controls {
58
+ #accordion-section-themes {
59
60
+ }
61
+ .accordion-section {
62
+ > .accordion-section-title {
63
+ border-bottom: 1px solid rgba(0,0,0,.1);
64
+ &:after {
65
+ border-color: rgba(0,0,0,0) !important;
66
+ border-color: transparent !important;
67
+ }
68
+ }
69
+ }
70
+ }
71
}
72
// Hints/Tooltips
73
+ .hint,
74
+ [data-hint] {
75
+ position: relative;
76
+ display: inline-block;
77
+ &:before,
78
+ &:after {
79
+ position: absolute;
80
+ // HACK: Trigger hardware accelerated rendering, otherwise transform was not
81
+ // working on a hidden element
82
+ -webkit-transform: translate3d(0, 0, 0);
83
+ -moz-transform: translate3d(0, 0, 0);
84
+ transform: translate3d(0, 0, 0);
85
+ // HACK: visibility is set to hidden because IE & Opera don't support
86
+ // pointer-events on HTML content yet because of which hovering a hidden tooltip
87
+ // shows the tooltip.
88
+ visibility: hidden;
89
+ opacity: 0;
90
+ z-index: 998;
91
+ // shouldn't receive pointer events, otherwise even hovering tooltip will make it appear
92
+ pointer-events: none;
93
+ transition: 0.3s ease;
94
+ transition-delay: 250ms;
95
+ }
96
+ &:hover:before,
97
+ &:hover:after,
98
+ &:focus:before,
99
+ &:focus:after {
100
+ visibility: visible;
101
+ opacity: 1;
102
+ }
103
+ &:hover:before,
104
+ &:hover:after {
105
+ transition-delay: 0;
106
+ }
107
+ // tooltip arrow
108
+ &:before {
109
+ content: '';
110
+ position: absolute;
111
+ background: transparent;
112
+ border: none;
113
+ // move z-index 1 up than :after so that it shows over box-shadow
114
+ z-index: 999;
115
+ width: 0;
116
+ height: 0;
117
+ border-top: 5px solid transparent;
118
+ border-bottom: 5px solid transparent;
119
+ border-left: 5px solid #333;
120
+ left: -5px;
121
+ top: 5px;
122
+ }
123
+ // tooltip body
124
+ &:after {
125
+ content: attr(data-hint);
126
+ // The magic!
127
+ background: #333;
128
+ color: white;
129
+ padding: 5px 10px;
130
+ font-size: 12px;
131
+ line-height: 14px;
132
+ height: auto;
133
+ margin-bottom: -14px;
134
+ width: 170px;
135
+ max-width: 170px;
136
+ display: block;
137
+ white-space: normal;
138
+ text-align: right;
139
+ position: relative;
140
+ top: -22px;
141
+ left: -195px;
142
+ }
143
}
144
// apply to all controls for tooltips
145
li.customize-control {
146
+ position: relative;
147
+ a.tooltip.hint--left {
148
+ display: block;
149
+ position: absolute;
150
+ top: 5px;
151
+ right: -20px;
152
+ border-radius: 50%;
153
+ color: #999;
154
+ border: none;
155
+ line-height: 8px;
156
+ width: 20px;
157
+ height: 20px;
158
+ }
159
}
160
// Radio-Image Controls
161
.customize-control-radio-image {
162
+ .image.ui-buttonset {
163
+ input[type=radio] {
164
+ height: auto;
165
+ }
166
+ label {
167
+ border: 1px solid transparent;
168
+ display: inline-block;
169
+ margin-right: 5px;
170
+ margin-bottom: 5px;
171
+ &.ui-state-active {
172
+ background: none;
173
+ border-color: #333;
174
+ }
175
+ }
176
+ }
177
}
178
// Multicheck Controls
179
.customize-control-multicheck {
180
+ input[type="checkbox"] {
181
+ @include custom-checkbox();
182
+ }
183
}
184
// Checkbox Controls
185
// Multicheck Controls
186
.customize-control-checkbox {
187
+ input[type="checkbox"] {
188
+ @include custom-checkbox();
189
+ }
190
}
191
// Radio-Buttonset Controls
192
.customize-control-radio-buttonset {
193
+ input[type=radio] {
194
195
+ }
196
+ label {
197
+ padding: 5px 10px;
198
+ background: #f7f7f7;
199
+ border-left: 1px solid #dedede;
200
+ &.ui-state-active {
201
+ background: #dedede;
202
+ }
203
+ &.ui-corner-left {
204
+ border-radius: 3px 0 0 3px;
205
+ border-left: 0;
206
+ }
207
+ &.ui-corner-right {
208
+ border-radius: 0 3px 3px 0;
209
+ }
210
+ }
211
+ }
212
// Switch & toggle Controls
213
.customize-control-switch,
214
.customize-control-toggle {
215
+ .Switch {
216
+ position: relative;
217
+ display: inline-block;
218
+ font-size: 16px;
219
+ font-weight: bold;
220
+ color: #aaa;
221
+ height: 18px;
222
+ line-height: 27px;
223
+ padding: 6px;
224
+ border: 1px solid #ccc;
225
+ border: 1px solid rgba(0,0,0,0.2);
226
+ background: #f2f2f2;
227
+ cursor: pointer;
228
+ float: right;
229
+ transition: all 0.15s ease-in-out;
230
+ .Toggle {
231
+ position: absolute;
232
+ top: 1px;
233
+ width: 37px;
234
+ height: 25px;
235
+ border: 1px solid #aaa;
236
+ border: 1px solid rgba(0,0,0,0.2);
237
+ background: #fff;
238
+ z-index: 989;
239
+ transition: all 0.15s ease-in-out;
240
+ }
241
+ .On,
242
+ .Off {
243
+ display: inline-block;
244
+ width: 35px;
245
+ position: relative;
246
+ top: -5px;
247
+ }
248
+ .On {
249
+ color: #333;
250
+ }
251
+ &.On {
252
+ .Toggle {
253
+ left: 54%;
254
+ }
255
+ }
256
+ &.Off {
257
+ .Toggle {
258
+ left: 2%;
259
+ }
260
+ }
261
+ &.Round {
262
+ padding: 0 20px;
263
+ border-radius: 40px;
264
+ margin-top: 5px;
265
+ .Toggle {
266
+ border-radius: 40px;
267
+ width: 14px;
268
+ height: 14px;
269
+ }
270
+ &.Off {
271
+ .Toggle {
272
+ left: 3%;
273
+ }
274
+ }
275
+ &.On {
276
+ color: #fff;
277
+ background: #333;
278
+ .Toggle {
279
+ left: 58%;
280
+ }
281
+ }
282
+ }
283
+ }
284
+ }
285
+ body.IE7 .Switch {
286
+ width: 78px;
287
+ }
288
+ body.IE7 .Switch.Round {
289
+ width: 1px;
290
}
291
// Sortable Controls
292
.customize-control-sortable {
293
+ ul.ui-sortable {
294
+ li {
295
+ padding: 5px 10px;
296
+ border: 1px solid #333;
297
+ background: #fff;
298
+ .dashicons {
299
+ &.dashicons-menu {
300
+ float: right;
301
+ }
302
+ &.visibility {
303
+ margin-right: 10px;
304
+ }
305
+ }
306
+ &.invisible {
307
+ color: #aaa;
308
+ border: 1px dashed #aaa;
309
+ .dashicons.visibility {
310
+ color: #aaa;
311
+ }
312
+ }
313
+ }
314
+ }
315
}
316
// Palette controls
317
.customize-control-palette {
318
+ label {
319
+ &.ui-button.ui-widget {
320
+ width: 95%;
321
+ background: none;
322
+ padding: 0;
323
+ .ui-button-text {
324
+ border-top: 3px solid transparent;
325
+ border-bottom: 3px solid transparent;
326
+ margin-bottom: 5px;
327
+ display: flex;
328
+ span {
329
+ padding: 10px 0;
330
+ flex-grow: 1;
331
+ font-size: 0;
332
+ line-height: 10px;
333
+ color: rgba(0,0,0,0);
334
+ -webkit-transition: all 200ms ease-in-out;
335
+ -moz-transition: all 200ms ease-in-out;
336
+ -ms-transition: all 200ms ease-in-out;
337
+ -o-transition: all 200ms ease-in-out;
338
+ transition: all 200ms ease-in-out;
339
+ &:hover {
340
+ padding: 10px;
341
+ flex-grow: 3;
342
+ min-width: 60px;
343
+ font-size: 10px;
344
+ line-height: 10px;
345
+ color: #000;
346
+ }
347
+ }
348
+ }
349
+ }
350
+ &.ui-state-active {
351
+ &.ui-button.ui-widget {
352
+ span.ui-button-text {
353
+ border: 3px solid #333;
354
+ }
355
+ }
356
+ }
357
+ }
358
}
359
// Slider Controls
360
.customize-control-slider {
361
+ input[type="text"] {
362
+ border: none;
363
+ text-align: center;
364
+ padding: 0;
365
+ margin: 0;
366
+ font-size: 12px;
367
+ box-shadow: none;
368
+ color: #333;
369
+ }
370
+ .ui-slider {
371
+ position: relative;
372
+ text-align: left;
373
+ height: 7px;
374
+ border-radius: 3px;
375
+ background: #f2f2f2;
376
+ border: 1px solid #dedede;
377
+ margin-top: 10px;
378
+ margin-bottom: 20px;
379
+ .ui-slider-handle {
380
+ position: absolute;
381
+ z-index: 2;
382
+ width: 15px;
383
+ height: 15px;
384
+ top: -5px;
385
+ border-radius: 50%;
386
+ cursor: default;
387
+ -ms-touch-action: none;
388
+ touch-action: none;
389
+ background: #333;
390
+ border: 1px solid #333;
391
+ }
392
+ .ui-slider-range {
393
+ position: absolute;
394
+ z-index: 1;
395
+ font-size: 0.7em;
396
+ display: block;
397
+ border: 0;
398
+ background-position: 0 0;
399
+ }
400
+ }
401
+ }
402
+ // Color-Alpha Controls
403
+ .customize-control-color-alpha {
404
+ .kirki-alpha-container {
405
+ box-sizing: padding-box;
406
+ display: none;
407
+ border: 1px solid #dfdfdf;
408
+ border-top: none;
409
+ background: #fff;
410
+ padding: 0 11px 6px;
411
+ .transparency {
412
+ height: 24px;
413
+ width: 100%;
414
+ background-color: #fff;
415
+ background-image: url("../images/transparency-grid.png");
416
+ box-shadow: 0 0 5px rgba(0,0,0,0.4) inset;
417
+ -webkit-border-radius: 3px;
418
+ -moz-border-radius: 3px;
419
+ border-radius: 3px;
420
+ padding: 0;
421
+ }
422
+ .ui-slider-handle {
423
+ color: #777;
424
+ background-color: #fff;
425
+ text-shadow: 0 1px 0 #fff;
426
+ text-decoration: none;
427
+ position: absolute;
428
+ z-index: 2;
429
+ box-shadow: 0 1px 2px rgba(0,0,0,0.2);
430
+ border: 1px solid #aaa;
431
+ -webkit-border-radius: 4px;
432
+ -moz-border-radius: 4px;
433
+ border-radius: 4px;
434
+ opacity: 0.9;
435
+ margin-top: -2px;
436
+ height: 20px;
437
+ cursor: ew-resize;
438
+ font-size: 12px;
439
+ padding: 3px;
440
+ }
441
+ .ui-slider {
442
+ position: relative;
443
+ text-align: center;
444
+ width: 88%;
445
+ }
446
+ }
447
+ .wp-picker-container a.wp-picker-open ~ div.kirki-alpha-container {
448
+ display: block;
449
+ }
450
+ .customize-control-alphacolor .wp-picker-container .iris-picker {
451
+ border-bottom: none;
452
+ }
453
+ }
454
+
455
+ // Number Controls
456
+ .customize-control-number {
457
+ .stepper {
458
+ border-radius: 0px;
459
+ margin: 0 0 10px 0;
460
+ overflow: hidden;
461
+ position: relative;
462
+ width: 50%;
463
+ .stepper-input {
464
+ background: #F9F9F9;
465
+ border: 1px solid #ccc;
466
+ border-radius: 0px;
467
+ color: #333;
468
+ font-size: 13px;
469
+ line-height: 1.2;
470
+ margin: 0;
471
+ overflow: hidden;
472
+ padding: 9px 10px 10px;
473
+ width: 100%;
474
+ z-index: 49;
475
+ -moz-appearance: textfield;
476
+ &::-webkit-inner-spin-button,
477
+ &::-webkit-outer-spin-button {
478
+ -webkit-appearance: none; margin: 0;
479
+ }
480
+ &:focus {
481
+ background-color: #fff;
482
+ }
483
+ }
484
+ .stepper-arrow {
485
+ background: #eee url("../images/jquery.fs.stepper-arrows.png") no-repeat;
486
+ border: 1px solid #ccc;
487
+ cursor: pointer;
488
+ display: block;
489
+ height: 50%;
490
+ position: absolute;
491
+ right: 0;
492
+ text-indent: -99999px;
493
+ width: 20px;
494
+ z-index: 50;
495
+ &.up {
496
+ background-position: center top;
497
+ border-bottom: none;
498
+ top: 0;
499
+ }
500
+ &.down {
501
+ background-position: center bottom;
502
+ bottom: 0;
503
+ }
504
+ }
505
+ }
506
}
assets/css/hint.css CHANGED
File without changes
assets/css/kirki-styles.css CHANGED
File without changes
assets/images/jquery.fs.stepper-arrows.png ADDED
Binary file
assets/images/transparency-grid.png ADDED
Binary file
assets/js/customizer.js CHANGED
@@ -1,6 +1,6 @@
1
jQuery.noConflict();
2
/** Fire up jQuery - let's dance! */
3
- jQuery(document).ready(function($){
4
$("a.tooltip").tooltip();
5
});
6
@@ -10,7 +10,7 @@ jQuery(document).ready(function($) {
10
$('.kirki-sortable > ul ~ input').each(function() {
11
var value = $(this).val();
12
try {
13
- value = unserialize( value );
14
} catch (err) {
15
return;
16
}
@@ -22,24 +22,24 @@ jQuery(document).ready(function($) {
22
});
23
$('.kirki-sortable > ul').each(function() {
24
$(this).sortable()
25
- .disableSelection()
26
- .on( "sortstop", function( event, ui ) {
27
- kirkiUpdateSortable(ui.item.parent());
28
- })
29
- .find('li').each(function() {
30
- $(this).find('i.visibility').click(function() {
31
- $(this).toggleClass('dashicons-visibility-faint').parents('li:eq(0)').toggleClass('invisible');
32
- });
33
- })
34
- .click(function() {
35
- kirkiUpdateSortable( $(this).parents('ul:eq(0)') );
36
- })
37
});
38
39
40
// Switch Click
41
$('.Switch').click(function() {
42
- if ($(this).hasClass('On')){
43
$(this).parent().find('input:checkbox').attr('checked', true);
44
$(this).removeClass('On').addClass('Off');
45
} else {
@@ -49,71 +49,167 @@ jQuery(document).ready(function($) {
49
});
50
51
});
52
function kirkiUpdateSortable(ul) {
53
"use strict";
54
var $ = jQuery;
55
var values = [];
56
ul.find('li').each(function() {
57
- if ( ! $(this).is('.invisible') ) {
58
- values.push( $(this).attr('data-value') );
59
}
60
});
61
- ul.siblings('input').eq(0).val( serialize( values ) ).trigger('change');
62
}
63
64
65
- ( function( $ ) {
66
- wp.customizerCtrlEditor = {
67
-
68
- init: function() {
69
-
70
- $(window).load(function(){
71
-
72
- $('textarea.wp-editor-area').each(function(){
73
- var tArea = $(this),
74
- id = tArea.attr('id'),
75
- input = $('input[data-customize-setting-link="'+ id +'"]'),
76
- editor = tinyMCE.get(id),
77
- setChange,
78
- content;
79
-
80
- if(editor){
81
- editor.onChange.add(function (ed, e) {
82
- ed.save();
83
- content = editor.getContent();
84
- clearTimeout(setChange);
85
- setChange = setTimeout(function(){
86
- input.val(content).trigger('change');
87
- },500);
88
- });
89
- }
90
-
91
- if(editor){
92
- editor.onChange.add(function (ed, e) {
93
- ed.save();
94
- content = editor.getContent();
95
- clearTimeout(setChange);
96
- setChange = setTimeout(function(){
97
- input.val(content).trigger('change');
98
- },500);
99
- });
100
- }
101
-
102
- tArea.css({
103
- visibility: 'visible'
104
- }).on('keyup', function(){
105
- content = tArea.val();
106
- clearTimeout(setChange);
107
- setChange = setTimeout(function(){
108
- input.val(content).trigger('change');
109
- },500);
110
- });
111
- });
112
- });
113
- }
114
-
115
- };
116
-
117
- wp.customizerCtrlEditor.init();
118
-
119
- } )( jQuery );
1
jQuery.noConflict();
2
/** Fire up jQuery - let's dance! */
3
+ jQuery(document).ready(function($) {
4
$("a.tooltip").tooltip();
5
});
6
10
$('.kirki-sortable > ul ~ input').each(function() {
11
var value = $(this).val();
12
try {
13
+ value = unserialize(value);
14
} catch (err) {
15
return;
16
}
22
});
23
$('.kirki-sortable > ul').each(function() {
24
$(this).sortable()
25
+ .disableSelection()
26
+ .on("sortstop", function(event, ui) {
27
+ kirkiUpdateSortable(ui.item.parent());
28
+ })
29
+ .find('li').each(function() {
30
+ $(this).find('i.visibility').click(function() {
31
+ $(this).toggleClass('dashicons-visibility-faint').parents('li:eq(0)').toggleClass('invisible');
32
+ });
33
+ })
34
+ .click(function() {
35
+ kirkiUpdateSortable($(this).parents('ul:eq(0)'));
36
+ })
37
});
38
39
40
// Switch Click
41
$('.Switch').click(function() {
42
+ if ($(this).hasClass('On')) {
43
$(this).parent().find('input:checkbox').attr('checked', true);
44
$(this).removeClass('On').addClass('Off');
45
} else {
49
});
50
51
});
52
+
53
function kirkiUpdateSortable(ul) {
54
"use strict";
55
var $ = jQuery;
56
var values = [];
57
ul.find('li').each(function() {
58
+ if (!$(this).is('.invisible')) {
59
+ values.push($(this).attr('data-value'));
60
}
61
});
62
+ ul.siblings('input').eq(0).val(serialize(values)).trigger('change');
63
}
64
65
66
+ (function($) {
67
+ wp.customizerCtrlEditor = {
68
+
69
+ init: function() {
70
+
71
+ $(window).load(function() {
72
+
73
+ $('textarea.wp-editor-area').each(function() {
74
+ var tArea = $(this),
75
+ id = tArea.attr('id'),
76
+ input = $('input[data-customize-setting-link="' + id + '"]'),
77
+ editor = tinyMCE.get(id),
78
+ setChange,
79
+ content;
80
+
81
+ if (editor) {
82
+ editor.onChange.add(function(ed, e) {
83
+ ed.save();
84
+ content = editor.getContent();
85
+ clearTimeout(setChange);
86
+ setChange = setTimeout(function() {
87
+ input.val(content).trigger('change');
88
+ }, 500);
89
+ });
90
+ }
91
+
92
+ if (editor) {
93
+ editor.onChange.add(function(ed, e) {
94
+ ed.save();
95
+ content = editor.getContent();
96
+ clearTimeout(setChange);
97
+ setChange = setTimeout(function() {
98
+ input.val(content).trigger('change');
99
+ }, 500);
100
+ });
101
+ }
102
+
103
+ tArea.css({
104
+ visibility: 'visible'
105
+ }).on('keyup', function() {
106
+ content = tArea.val();
107
+ clearTimeout(setChange);
108
+ setChange = setTimeout(function() {
109
+ input.val(content).trigger('change');
110
+ }, 500);
111
+ });
112
+ });
113
+ });
114
+ }
115
+
116
+ };
117
+
118
+ wp.customizerCtrlEditor.init();
119
+
120
+ })(jQuery);
121
+
122
+ jQuery(document).ready(function($) {
123
+
124
+ Color.prototype.toString = function(remove_alpha) {
125
+ if (remove_alpha == 'no-alpha') {
126
+ return this.toCSS('rgba', '1').replace(/\s+/g, '');
127
+ }
128
+ if (this._alpha < 1) {
129
+ return this.toCSS('rgba', this._alpha).replace(/\s+/g, '');
130
+ }
131
+ var hex = parseInt(this._color, 10).toString(16);
132
+ if (this.error) return '';
133
+ if (hex.length < 6) {
134
+ for (var i = 6 - hex.length - 1; i >= 0; i--) {
135
+ hex = '0' + hex;
136
+ }
137
+ }
138
+ return '#' + hex;
139
+ };
140
+
141
+ $('.kirki-color-control').each(function() {
142
+ var $control = $(this),
143
+ value = $control.val().replace(/\s+/g, '');
144
+ // Manage Palettes
145
+ var palette_input = $control.attr('data-palette');
146
+ if (palette_input == 'false' || palette_input == false) {
147
+ var palette = false;
148
+ } else if (palette_input == 'true' || palette_input == true) {
149
+ var palette = true;
150
+ } else {
151
+ var palette = $control.attr('data-palette').split(",");
152
+ }
153
+ $control.wpColorPicker({ // change some things with the color picker
154
+ clear: function(event, ui) {
155
+ // TODO reset Alpha Slider to 100
156
+ },
157
+ change: function(event, ui) {
158
+ // send ajax request to wp.customizer to enable Save & Publish button
159
+ var _new_value = $control.val();
160
+ var key = $control.attr('data-customize-setting-link');
161
+ wp.customize(key, function(obj) {
162
+ obj.set(_new_value);
163
+ });
164
+ // change the background color of our transparency container whenever a color is updated
165
+ var $transparency = $control.parents('.wp-picker-container:first').find('.transparency');
166
+ // we only want to show the color at 100% alpha
167
+ $transparency.css('backgroundColor', ui.color.toString('no-alpha'));
168
+ },
169
+ palettes: palette // remove the color palettes
170
+ });
171
+ $('<div class="kirki-alpha-container"><div class="slider-alpha"></div><div class="transparency"></div></div>').appendTo($control.parents('.wp-picker-container'));
172
+ var $alpha_slider = $control.parents('.wp-picker-container:first').find('.slider-alpha');
173
+ // if in format RGBA - grab A channel value
174
+ if (value.match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)) {
175
+ var alpha_val = parseFloat(value.match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)[1]) * 100;
176
+ var alpha_val = parseInt(alpha_val);
177
+ } else {
178
+ var alpha_val = 100;
179
+ }
180
+ $alpha_slider.slider({
181
+ slide: function(event, ui) {
182
+ $(this).find('.ui-slider-handle').text(ui.value); // show value on slider handle
183
+ // send ajax request to wp.customizer to enable Save & Publish button
184
+ var _new_value = $control.val();
185
+ var key = $control.attr('data-customize-setting-link');
186
+ wp.customize(key, function(obj) {
187
+ obj.set(_new_value);
188
+ });
189
+ },
190
+ create: function(event, ui) {
191
+ var v = $(this).slider('value');
192
+ $(this).find('.ui-slider-handle').text(v);
193
+ },
194
+ value: alpha_val,
195
+ range: "max",
196
+ step: 1,
197
+ min: 1,
198
+ max: 100
199
+ }); // slider
200
+ $alpha_slider.slider().on('slidechange', function(event, ui) {
201
+ var new_alpha_val = parseFloat(ui.value),
202
+ iris = $control.data('a8cIris'),
203
+ color_picker = $control.data('wpWpColorPicker');
204
+ iris._color._alpha = new_alpha_val / 100.0;
205
+ $control.val(iris._color.toString());
206
+ color_picker.toggler.css({
207
+ backgroundColor: $control.val()
208
+ });
209
+ // fix relationship between alpha slider and the 'side slider not updating.
210
+ var get_val = $control.val();
211
+ $($control).wpColorPicker('color', get_val);
212
+ });
213
+ }); // each
214
+
215
+ });
assets/js/jquery.fs.stepper.min.js ADDED
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Stepper v3.0.7 - 2014-11-25
3
+ * A jQuery plugin for cross browser number inputs. Part of the Formstone Library.
4
+ * http://formstone.it/stepper/
5
+ *
6
+ * Copyright 2014 Ben Plum; MIT Licensed
7
+ */
8
+
9
+ !function(a){"use strict";function b(b){b=a.extend({},l,b||{});for(var d=a(this),e=0,f=d.length;f>e;e++)c(d.eq(e),b);return d}function c(b,c){if(!b.hasClass("stepper-input")){c=a.extend({},c,b.data("stepper-options"));var f=parseFloat(b.attr("min")),g=parseFloat(b.attr("max")),h=parseFloat(b.attr("step"))||1;b.addClass("stepper-input").wrap('<div class="stepper '+c.customClass+'" />').after('<span class="stepper-arrow up">'+c.labels.up+'</span><span class="stepper-arrow down">'+c.labels.down+"</span>");var i=b.parent(".stepper"),k=a.extend({$stepper:i,$input:b,$arrow:i.find(".stepper-arrow"),min:void 0===typeof f||isNaN(f)?!1:f,max:void 0===typeof g||isNaN(g)?!1:g,step:void 0===typeof h||isNaN(h)?1:h,timer:null},c);k.digits=j(k.step),b.is(":disabled")&&i.addClass("disabled"),i.on("keypress",".stepper-input",k,d),i.on("touchstart.stepper mousedown.stepper",".stepper-arrow",k,e),b.data("stepper",k)}}function d(a){var b=a.data;(38===a.keyCode||40===a.keyCode)&&(a.preventDefault(),g(b,38===a.keyCode?b.step:-b.step))}function e(b){b.preventDefault(),b.stopPropagation(),f(b);var c=b.data;if(!c.$input.is(":disabled")&&!c.$stepper.hasClass("disabled")){var d=a(b.target).hasClass("up")?c.step:-c.step;c.timer=h(c.timer,125,function(){g(c,d,!1)}),g(c,d),a("body").on("touchend.stepper mouseup.stepper",c,f)}}function f(b){b.preventDefault(),b.stopPropagation();var c=b.data;i(c.timer),a("body").off(".stepper")}function g(a,b){var c=parseFloat(a.$input.val()),d=b;void 0===typeof c||isNaN(c)?d=a.min!==!1?a.min:0:a.min!==!1&&c<a.min?d=a.min:d+=c;var e=(d-a.min)%a.step;0!==e&&(d-=e),a.min!==!1&&d<a.min&&(d=a.min),a.max!==!1&&d>a.max&&(d-=a.step),d!==c&&(d=k(d,a.digits),a.$input.val(d).trigger("change"))}function h(a,b,c){return i(a),setInterval(c,b)}function i(a){a&&(clearInterval(a),a=null)}function j(a){var b=String(a);return b.indexOf(".")>-1?b.length-b.indexOf(".")-1:0}function k(a,b){var c=Math.pow(10,b);return Math.round(a*c)/c}var l={customClass:"",labels:{up:"Up",down:"Down"}},m={defaults:function(b){return l=a.extend(l,b||{}),"object"==typeof this?a(this):!0},destroy:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$stepper.off(".stepper").find(".stepper-arrow").remove(),b.$input.unwrap().removeClass("stepper-input"))})},disable:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$input.attr("disabled","disabled"),b.$stepper.addClass("disabled"))})},enable:function(){return a(this).each(function(){var b=a(this).data("stepper");b&&(b.$input.attr("disabled",null),b.$stepper.removeClass("disabled"))})}};a.fn.stepper=function(a){return m[a]?m[a].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof a&&a?this:b.apply(this,arguments)},a.stepper=function(a){"defaults"===a&&m.defaults.apply(this,Array.prototype.slice.call(arguments,1))}}(jQuery,this);
assets/js/serialize.js CHANGED
File without changes
assets/json/webfonts.json CHANGED
File without changes
assets/xml/colourlovers-top.xml CHANGED
File without changes
composer.json CHANGED
File without changes
config.codekit DELETED
@@ -1,1243 +0,0 @@
1
- {
2
- "CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
3
- "creatorBuild": "18493",
4
- "files": {
5
- "\/assets\/css\/hint.css": {
6
- "fileType": 16,
7
- "ignore": 0,
8
- "ignoreWasSetByUser": 0,
9
- "inputAbbreviatedPath": "\/assets\/css\/hint.css",
10
- "outputAbbreviatedPath": "No Output Path",
11
- "outputPathIsOutsideProject": 0,
12
- "outputPathIsSetByUser": 0
13
- },
14
- "\/assets\/css\/jquery-ui-1.10.0.custom.css": {
15
- "fileType": 16,
16
- "ignore": 0,
17
- "ignoreWasSetByUser": 0,
18
- "inputAbbreviatedPath": "\/assets\/css\/jquery-ui-1.10.0.custom.css",
19
- "outputAbbreviatedPath": "No Output Path",
20
- "outputPathIsOutsideProject": 0,
21
- "outputPathIsSetByUser": 0
22
- },
23
- "\/assets\/css\/kirki-styles.css": {
24
- "fileType": 16,
25
- "ignore": 0,
26
- "ignoreWasSetByUser": 0,
27
- "inputAbbreviatedPath": "\/assets\/css\/kirki-styles.css",
28
- "outputAbbreviatedPath": "No Output Path",
29
- "outputPathIsOutsideProject": 0,
30
- "outputPathIsSetByUser": 0
31
- },
32
- "\/assets\/images\/1c.png": {
33
- "fileType": 32768,
34
- "ignore": 0,
35
- "ignoreWasSetByUser": 0,
36
- "initialSize": 138,
37
- "inputAbbreviatedPath": "\/assets\/images\/1c.png",
38
- "outputAbbreviatedPath": "\/assets\/images\/1c.png",
39
- "outputPathIsOutsideProject": 0,
40
- "outputPathIsSetByUser": 0,
41
- "processed": 0
42
- },
43
- "\/assets\/images\/2cl.png": {
44
- "fileType": 32768,
45
- "ignore": 0,
46
- "ignoreWasSetByUser": 0,
47
- "initialSize": 2984,
48
- "inputAbbreviatedPath": "\/assets\/images\/2cl.png",
49
- "outputAbbreviatedPath": "\/assets\/images\/2cl.png",
50
- "outputPathIsOutsideProject": 0,
51
- "outputPathIsSetByUser": 0,
52
- "processed": 0
53
- },
54
- "\/assets\/images\/2cr.png": {
55
- "fileType": 32768,
56
- "ignore": 0,
57
- "ignoreWasSetByUser": 0,
58
- "initialSize": 2985,
59
- "inputAbbreviatedPath": "\/assets\/images\/2cr.png",
60
- "outputAbbreviatedPath": "\/assets\/images\/2cr.png",
61
- "outputPathIsOutsideProject": 0,
62
- "outputPathIsSetByUser": 0,
63
- "processed": 0
64
- },
65
- "\/assets\/images\/3cl.png": {
66
- "fileType": 32768,
67
- "ignore": 0,
68
- "ignoreWasSetByUser": 0,
69
- "initialSize": 3156,
70
- "inputAbbreviatedPath": "\/assets\/images\/3cl.png",
71
- "outputAbbreviatedPath": "\/assets\/images\/3cl.png",
72
- "outputPathIsOutsideProject": 0,
73
- "outputPathIsSetByUser": 0,
74
- "processed": 0
75
- },
76
- "\/assets\/images\/3cm.png": {
77
- "fileType": 32768,
78
- "ignore": 0,
79
- "ignoreWasSetByUser": 0,
80
- "initialSize": 3036,
81
- "inputAbbreviatedPath": "\/assets\/images\/3cm.png",
82
- "outputAbbreviatedPath": "\/assets\/images\/3cm.png",
83
- "outputPathIsOutsideProject": 0,
84
- "outputPathIsSetByUser": 0,
85
- "processed": 0
86
- },
87
- "\/assets\/images\/3cr.png": {
88
- "fileType": 32768,
89
- "ignore": 0,
90
- "ignoreWasSetByUser": 0,
91
- "initialSize": 3050,
92
- "inputAbbreviatedPath": "\/assets\/images\/3cr.png",
93
- "outputAbbreviatedPath": "\/assets\/images\/3cr.png",
94
- "outputPathIsOutsideProject": 0,
95
- "outputPathIsSetByUser": 0,
96
- "processed": 0
97
- },
98
- "\/assets\/js\/customizer.js": {
99
- "fileType": 64,
100
- "ignore": 0,
101
- "ignoreWasSetByUser": 0,
102
- "inputAbbreviatedPath": "\/assets\/js\/customizer.js",
103
- "outputAbbreviatedPath": "\/assets\/js\/min\/customizer-min.js",
104
- "outputPathIsOutsideProject": 0,
105
- "outputPathIsSetByUser": 0,
106
- "outputStyle": 1,
107
- "syntaxCheckerStyle": 1
108
- },
109
- "\/assets\/js\/serialize.js": {
110
- "fileType": 64,
111
- "ignore": 0,
112
- "ignoreWasSetByUser": 0,
113
- "inputAbbreviatedPath": "\/assets\/js\/serialize.js",
114
- "outputAbbreviatedPath": "\/assets\/js\/min\/serialize-min.js",
115
- "outputPathIsOutsideProject": 0,
116
- "outputPathIsSetByUser": 0,
117
- "outputStyle": 1,
118
- "syntaxCheckerStyle": 1
119
- },
120
- "\/includes\/Config.php": {
121
- "fileType": 8192,
122
- "ignore": 0,
123
- "ignoreWasSetByUser": 0,
124
- "inputAbbreviatedPath": "\/includes\/Config.php",
125
- "outputAbbreviatedPath": "No Output Path",
126
- "outputPathIsOutsideProject": 0,
127
- "outputPathIsSetByUser": 0
128
- },
129
- "\/includes\/Control.php": {
130
- "fileType": 8192,
131
- "ignore": 0,
132
- "ignoreWasSetByUser": 0,
133
- "inputAbbreviatedPath": "\/includes\/Control.php",
134
- "outputAbbreviatedPath": "No Output Path",
135
- "outputPathIsOutsideProject": 0,
136
- "outputPathIsSetByUser": 0
137
- },
138
- "\/includes\/Controls.php": {
139
- "fileType": 8192,
140
- "ignore": 0,
141
- "ignoreWasSetByUser": 0,
142
- "inputAbbreviatedPath": "\/includes\/Controls.php",
143
- "outputAbbreviatedPath": "No Output Path",
144
- "outputPathIsOutsideProject": 0,
145
- "outputPathIsSetByUser": 0
146
- },
147
- "\/includes\/Controls\/CustomControl.php": {
148
- "fileType": 8192,
149
- "ignore": 0,
150
- "ignoreWasSetByUser": 0,
151
- "inputAbbreviatedPath": "\/includes\/Controls\/CustomControl.php",
152
- "outputAbbreviatedPath": "No Output Path",
153
- "outputPathIsOutsideProject": 0,
154
- "outputPathIsSetByUser": 0
155
- },
156
- "\/includes\/Controls\/EditorControl.php": {
157
- "fileType": 8192,
158
- "ignore": 0,
159
- "ignoreWasSetByUser": 0,
160
- "inputAbbreviatedPath": "\/includes\/Controls\/EditorControl.php",
161
- "outputAbbreviatedPath": "No Output Path",
162
- "outputPathIsOutsideProject": 0,
163
- "outputPathIsSetByUser": 0
164
- },
165
- "\/includes\/Controls\/MultiCheckControl.php": {
166
- "fileType": 8192,
167
- "ignore": 0,
168
- "ignoreWasSetByUser": 0,
169
- "inputAbbreviatedPath": "\/includes\/Controls\/MultiCheckControl.php",
170
- "outputAbbreviatedPath": "No Output Path",
171
- "outputPathIsOutsideProject": 0,
172
- "outputPathIsSetByUser": 0
173
- },
174
- "\/includes\/Controls\/NumberControl.php": {
175
- "fileType": 8192,
176
- "ignore": 0,
177
- "ignoreWasSetByUser": 0,
178
- "inputAbbreviatedPath": "\/includes\/Controls\/NumberControl.php",
179
- "outputAbbreviatedPath": "No Output Path",
180
- "outputPathIsOutsideProject": 0,
181
- "outputPathIsSetByUser": 0
182
- },
183
- "\/includes\/Controls\/PaletteControl.php": {
184
- "fileType": 8192,
185
- "ignore": 0,
186
- "ignoreWasSetByUser": 0,
187
- "inputAbbreviatedPath": "\/includes\/Controls\/PaletteControl.php",
188
- "outputAbbreviatedPath": "No Output Path",
189
- "outputPathIsOutsideProject": 0,
190
- "outputPathIsSetByUser": 0
191
- },
192
- "\/includes\/Controls\/RadioButtonSetControl.php": {
193
- "fileType": 8192,
194
- "ignore": 0,
195
- "ignoreWasSetByUser": 0,
196
- "inputAbbreviatedPath": "\/includes\/Controls\/RadioButtonSetControl.php",
197
- "outputAbbreviatedPath": "No Output Path",
198
- "outputPathIsOutsideProject": 0,
199
- "outputPathIsSetByUser": 0
200
- },
201
- "\/includes\/Controls\/RadioImageControl.php": {
202
- "fileType": 8192,
203
- "ignore": 0,
204
- "ignoreWasSetByUser": 0,
205
- "inputAbbreviatedPath": "\/includes\/Controls\/RadioImageControl.php",
206
- "outputAbbreviatedPath": "No Output Path",
207
- "outputPathIsOutsideProject": 0,
208
- "outputPathIsSetByUser": 0
209
- },
210
- "\/includes\/Controls\/SortableControl.php": {
211
- "fileType": 8192,
212
- "ignore": 0,
213
- "ignoreWasSetByUser": 0,
214
- "inputAbbreviatedPath": "\/includes\/Controls\/SortableControl.php",
215
- "outputAbbreviatedPath": "No Output Path",
216
- "outputPathIsOutsideProject": 0,
217
- "outputPathIsSetByUser": 0
218
- },
219
- "\/includes\/Controls\/SwitchControl.php": {
220
- "fileType": 8192,
221
- "ignore": 0,
222
- "ignoreWasSetByUser": 0,
223
- "inputAbbreviatedPath": "\/includes\/Controls\/SwitchControl.php",
224
- "outputAbbreviatedPath": "No Output Path",
225
- "outputPathIsOutsideProject": 0,
226
- "outputPathIsSetByUser": 0
227
- },
228
- "\/includes\/Controls\/ToggleControl.php": {
229
- "fileType": 8192,
230
- "ignore": 0,
231
- "ignoreWasSetByUser": 0,
232
- "inputAbbreviatedPath": "\/includes\/Controls\/ToggleControl.php",
233
- "outputAbbreviatedPath": "No Output Path",
234
- "outputPathIsOutsideProject": 0,
235
- "outputPathIsSetByUser": 0
236
- },
237
- "\/includes\/Fonts\/FontRegistry.php": {
238
- "fileType": 8192,
239
- "ignore": 0,
240
- "ignoreWasSetByUser": 0,
241
- "inputAbbreviatedPath": "\/includes\/Fonts\/FontRegistry.php",
242
- "outputAbbreviatedPath": "No Output Path",
243
- "outputPathIsOutsideProject": 0,
244
- "outputPathIsSetByUser": 0
245
- },
246
- "\/includes\/Helpers\/deprecated.php": {
247
- "fileType": 8192,
248
- "ignore": 0,
249
- "ignoreWasSetByUser": 0,
250
- "inputAbbreviatedPath": "\/includes\/Helpers\/deprecated.php",
251
- "outputAbbreviatedPath": "No Output Path",
252
- "outputPathIsOutsideProject": 0,
253
- "outputPathIsSetByUser": 0
254
- },
255
- "\/includes\/Helpers\/helpers.php": {
256
- "fileType": 8192,
257
- "ignore": 0,
258
- "ignoreWasSetByUser": 0,
259
- "inputAbbreviatedPath": "\/includes\/Helpers\/helpers.php",
260
- "outputAbbreviatedPath": "No Output Path",
261
- "outputPathIsOutsideProject": 0,
262
- "outputPathIsSetByUser": 0
263
- },
264
- "\/includes\/Helpers\/libraries\/class-kirki-color.php": {
265
- "fileType": 8192,
266
- "ignore": 0,
267
- "ignoreWasSetByUser": 0,
268
- "inputAbbreviatedPath": "\/includes\/Helpers\/libraries\/class-kirki-color.php",
269
- "outputAbbreviatedPath": "No Output Path",
270
- "outputPathIsOutsideProject": 0,
271
- "outputPathIsSetByUser": 0
272
- },
273
- "\/includes\/Helpers\/libraries\/class-kirki-colourlovers.php": {
274
- "fileType": 8192,
275
- "ignore": 0,
276
- "ignoreWasSetByUser": 0,
277
- "inputAbbreviatedPath": "\/includes\/Helpers\/libraries\/class-kirki-colourlovers.php",
278
- "outputAbbreviatedPath": "No Output Path",
279
- "outputPathIsOutsideProject": 0,
280
- "outputPathIsSetByUser": 0
281
- },
282
- "\/includes\/Helpers\/sanitize.php": {
283
- "fileType": 8192,
284
- "ignore": 0,
285
- "ignoreWasSetByUser": 0,
286
- "inputAbbreviatedPath": "\/includes\/Helpers\/sanitize.php",
287
- "outputAbbreviatedPath": "No Output Path",
288
- "outputPathIsOutsideProject": 0,
289
- "outputPathIsSetByUser": 0
290
- },
291
- "\/includes\/Kirki.php": {
292
- "fileType": 8192,
293
- "ignore": 0,
294
- "ignoreWasSetByUser": 0,
295
- "inputAbbreviatedPath": "\/includes\/Kirki.php",
296
- "outputAbbreviatedPath": "No Output Path",
297
- "outputPathIsOutsideProject": 0,
298
- "outputPathIsSetByUser": 0
299
- },
300
- "\/includes\/Scripts\/Customizer\/Branding.php": {
301
- "fileType": 8192,
302
- "ignore": 0,
303
- "ignoreWasSetByUser": 0,
304
- "inputAbbreviatedPath": "\/includes\/Scripts\/Customizer\/Branding.php",
305
- "outputAbbreviatedPath": "No Output Path",
306
- "outputPathIsOutsideProject": 0,
307
- "outputPathIsSetByUser": 0
308
- },
309
- "\/includes\/Scripts\/Customizer\/Dependencies.php": {
310
- "fileType": 8192,
311
- "ignore": 0,
312
- "ignoreWasSetByUser": 0,
313
- "inputAbbreviatedPath": "\/includes\/Scripts\/Customizer\/Dependencies.php",
314
- "outputAbbreviatedPath": "No Output Path",
315
- "outputPathIsOutsideProject": 0,
316
- "outputPathIsSetByUser": 0
317
- },
318
- "\/includes\/Scripts\/Customizer\/PostMessage.php": {
319
- "fileType": 8192,
320
- "ignore": 0,
321
- "ignoreWasSetByUser": 0,
322
- "inputAbbreviatedPath": "\/includes\/Scripts\/Customizer\/PostMessage.php",
323
- "outputAbbreviatedPath": "No Output Path",
324
- "outputPathIsOutsideProject": 0,
325
- "outputPathIsSetByUser": 0
326
- },
327
- "\/includes\/Scripts\/Customizer\/Required.php": {
328
- "fileType": 8192,
329
- "ignore": 0,
330
- "ignoreWasSetByUser": 0,
331
- "inputAbbreviatedPath": "\/includes\/Scripts\/Customizer\/Required.php",
332
- "outputAbbreviatedPath": "No Output Path",
333
- "outputPathIsOutsideProject": 0,
334
- "outputPathIsSetByUser": 0
335
- },
336
- "\/includes\/Scripts\/Customizer\/Tooltips.php": {
337
- "fileType": 8192,
338
- "ignore": 0,
339
- "ignoreWasSetByUser": 0,
340
- "inputAbbreviatedPath": "\/includes\/Scripts\/Customizer\/Tooltips.php",
341
- "outputAbbreviatedPath": "No Output Path",
342
- "outputPathIsOutsideProject": 0,
343
- "outputPathIsSetByUser": 0
344
- },
345
- "\/includes\/Scripts\/EnqueueScript.php": {
346
- "fileType": 8192,
347
- "ignore": 0,
348
- "ignoreWasSetByUser": 0,
349
- "inputAbbreviatedPath": "\/includes\/Scripts\/EnqueueScript.php",
350
- "outputAbbreviatedPath": "No Output Path",
351
- "outputPathIsOutsideProject": 0,
352
- "outputPathIsSetByUser": 0
353
- },
354
- "\/includes\/Scripts\/Frontend\/GoogleFonts.php": {
355
- "fileType": 8192,
356
- "ignore": 0,
357
- "ignoreWasSetByUser": 0,
358
- "inputAbbreviatedPath": "\/includes\/Scripts\/Frontend\/GoogleFonts.php",
359
- "outputAbbreviatedPath": "No Output Path",
360
- "outputPathIsOutsideProject": 0,
361
- "outputPathIsSetByUser": 0
362
- },
363
- "\/includes\/Scripts\/ScriptRegistry.php": {
364
- "fileType": 8192,
365
- "ignore": 0,
366
- "ignoreWasSetByUser": 0,
367
- "inputAbbreviatedPath": "\/includes\/Scripts\/ScriptRegistry.php",
368
- "outputAbbreviatedPath": "No Output Path",
369
- "outputPathIsOutsideProject": 0,
370
- "outputPathIsSetByUser": 0
371
- },
372
- "\/includes\/Setting.php": {
373
- "fileType": 8192,
374
- "ignore": 0,
375
- "ignoreWasSetByUser": 0,
376
- "inputAbbreviatedPath": "\/includes\/Setting.php",
377
- "outputAbbreviatedPath": "No Output Path",
378
- "outputPathIsOutsideProject": 0,
379
- "outputPathIsSetByUser": 0
380
- },
381
- "\/includes\/Styles.php": {
382
- "fileType": 8192,
383
- "ignore": 0,
384
- "ignoreWasSetByUser": 0,
385
- "inputAbbreviatedPath": "\/includes\/Styles.php",
386
- "outputAbbreviatedPath": "No Output Path",
387
- "outputPathIsOutsideProject": 0,
388
- "outputPathIsSetByUser": 0
389
- },
390
- "\/includes\/Styles\/Customizer.php": {
391
- "fileType": 8192,
392
- "ignore": 0,
393
- "ignoreWasSetByUser": 0,
394
- "inputAbbreviatedPath": "\/includes\/Styles\/Customizer.php",
395
- "outputAbbreviatedPath": "No Output Path",
396
- "outputPathIsOutsideProject": 0,
397
- "outputPathIsSetByUser": 0
398
- },
399
- "\/includes\/Styles\/Frontend.php": {
400
- "fileType": 8192,
401
- "ignore": 0,
402
- "ignoreWasSetByUser": 0,
403
- "inputAbbreviatedPath": "\/includes\/Styles\/Frontend.php",
404
- "outputAbbreviatedPath": "No Output Path",
405
- "outputPathIsOutsideProject": 0,
406
- "outputPathIsSetByUser": 0
407
- },
408
- "\/kirki.php": {
409
- "fileType": 8192,
410
- "ignore": 0,
411
- "ignoreWasSetByUser": 0,
412
- "inputAbbreviatedPath": "\/kirki.php",
413
- "outputAbbreviatedPath": "No Output Path",
414
- "outputPathIsOutsideProject": 0,
415
- "outputPathIsSetByUser": 0
416
- }
417
- },
418
- "hooks": [
419
- ],
420
- "lastSavedByUser": "Aristeides",
421
- "manualImportLinks": {
422
- },
423
- "projectAttributes": {
424
- "bowerAbbreviatedPath": "",
425
- "displayValue": "kirki",
426
- "displayValueWasSetByUser": 0,
427
- "iconImageName": "globe_brown"
428
- },
429
- "projectSettings": {
430
- "alwaysUseExternalServer": 0,
431
- "animateCSSInjections": 1,
432
- "autoApplyPSLanguageSettingsStyle": 0,
433
- "autoprefixerBrowserString": "> 1%, last 2 versions, Firefox ESR, Opera 12.1",
434
- "autoSyncProjectSettingsFile": 1,
435
- "browserRefreshDelay": 0,
436
- "coffeeAutoOutputPathEnabled": 1,
437
- "coffeeAutoOutputPathFilenamePattern": "*.js",
438
- "coffeeAutoOutputPathRelativePath": "",
439
- "coffeeAutoOutputPathReplace1": "",
440
- "coffeeAutoOutputPathReplace2": "",
441
- "coffeeAutoOutputPathStyle": 0,
442
- "coffeeCreateSourceMap": 0,
443
- "coffeeLintFlags2": {
444
- "arrow_spacing": {
445
- "active": 0,
446
- "flagValue": -1
447
- },
448
- "camel_case_classes": {
449
- "active": 1,
450
- "flagValue": -1
451
- },
452
- "colon_assignment_spacing": {
453
- "active": 0,
454
- "flagValue": 1
455
- },
456
- "cyclomatic_complexity": {
457
- "active": 0,
458
- "flagValue": 10
459
- },
460
- "duplicate_key": {
461
- "active": 1,
462
- "flagValue": -1
463
- },
464
- "empty_constructor_needs_parens": {
465
- "active": 0,
466
- "flagValue": -1
467
- },
468
- "ensure_comprehensions": {
469
- "active": 1,
470
- "flagValue": -1
471
- },
472
- "indentation": {
473
- "active": 1,
474
- "flagValue": 2
475
- },
476
- "line_endings": {
477
- "active": 0,
478
- "flagValue": 0
479
- },
480
- "max_line_length": {
481
- "active": 0,
482
- "flagValue": 150
483
- },
484
- "missing_fat_arrows": {
485
- "active": 0,
486
- "flagValue": -1
487
- },
488
- "newlines_after_classes": {
489
- "active": 0,
490
- "flagValue": 3
491
- },
492
- "no_backticks": {
493
- "active": 1,
494
- "flagValue": -1
495
- },
496
- "no_debugger": {
497
- "active": 1,
498
- "flagValue": -1
499
- },
500
- "no_empty_functions": {
501
- "active": 0,
502
- "flagValue": -1
503
- },
504
- "no_empty_param_list": {
505
- "active": 0,
506
- "flagValue": -1
507
- },
508
- "no_implicit_braces": {
509
- "active": 1,
510
- "flagValue": -1
511
- },
512
- "no_implicit_parens": {
513
- "active": 0,
514
- "flagValue": -1
515
- },
516
- "no_interpolation_in_single_quotes": {
517
- "active": 0,
518
- "flagValue": -1
519
- },
520
- "no_plusplus": {
521
- "active": 0,
522
- "flagValue": -1
523
- },
524
- "no_stand_alone_at": {
525
- "active": 1,
526
- "flagValue": -1
527
- },
528
- "no_tabs": {
529
- "active": 1,
530
- "flagValue": -1
531
- },
532
- "no_throwing_strings": {
533
- "active": 1,
534
- "flagValue": -1
535
- },
536
- "no_trailing_semicolons": {
537
- "active": 1,
538
- "flagValue": -1
539
- },
540
- "no_trailing_whitespace": {
541
- "active": 1,
542
- "flagValue": -1
543
- },
544
- "no_unnecessary_double_quotes": {
545
- "active": 0,
546
- "flagValue": -1
547
- },
548
- "no_unnecessary_fat_arrows": {
549
- "active": 1,
550
- "flagValue": -1
551
- },
552
- "non_empty_constructor_needs_parens": {
553
- "active": 0,
554
- "flagValue": -1
555
- },
556
- "prefer_english_operator": {
557
- "active": 0,
558
- "flagValue": -1
559
- },
560
- "space_operators": {
561
- "active": 0,
562
- "flagValue": -1
563
- },
564
- "spacing_after_comma": {
565
- "active": 1,
566
- "flagValue": -1
567
- }
568
- },
569
- "coffeeMinifyOutput": 1,
570
- "coffeeOutputStyle": 0,
571
- "coffeeSyntaxCheckerStyle": 1,
572
- "externalServerAddress": "http:\/\/localhost:8888",
573
- "externalServerPreviewPathAddition": "",
574
- "genericWebpageFileExtensionsString": "html, htm, shtml, shtm, xhtml, php, jsp, asp, aspx, erb, ctp",
575
- "hamlAutoOutputPathEnabled": 1,
576
- "hamlAutoOutputPathFilenamePattern": "*.html",
577
- "hamlAutoOutputPathRelativePath": "",
578
- "hamlAutoOutputPathReplace1": "",
579
- "hamlAutoOutputPathReplace2": "",
580
- "hamlAutoOutputPathStyle": 0,
581
- "hamlEscapeHTMLCharacters": 0,
582
- "hamlNoEscapeInAttributes": 0,
583
- "hamlOutputFormat": 2,
584
- "hamlOutputStyle": 0,
585
- "hamlUseCDATA": 0,
586
- "hamlUseDoubleQuotes": 0,
587
- "hamlUseUnixNewlines": 0,
588
- "jadeAutoOutputPathEnabled": 1,
589
- "jadeAutoOutputPathFilenamePattern": "*.html",
590
- "jadeAutoOutputPathRelativePath": "",
591
- "jadeAutoOutputPathReplace1": "",
592
- "jadeAutoOutputPathReplace2": "",
593
- "jadeAutoOutputPathStyle": 0,
594
- "jadeCompileDebug": 1,
595
- "jadeOutputStyle": 0,
596
- "javascriptAutoOutputPathEnabled": 1,
597
- "javascriptAutoOutputPathFilenamePattern": "*-min.js",
598
- "javascriptAutoOutputPathRelativePath": "\/min",
599
- "javascriptAutoOutputPathReplace1": "",
600
- "javascriptAutoOutputPathReplace2": "",
601
- "javascriptAutoOutputPathStyle": 2,
602
- "javascriptCreateSourceMap": 1,
603
- "javascriptOutputStyle": 1,
604
- "javascriptSyntaxCheckerStyle": 1,
605
- "jsCheckerReservedNamesString": "",
606
- "jsHintFlags2": {
607
- "asi": {
608
- "active": 0,
609
- "flagValue": -1
610
- },
611
- "bitwise": {
612
- "active": 1,
613
- "flagValue": -1
614
- },
615
- "boss": {
616
- "active": 0,
617
- "flagValue": -1
618
- },
619
- "browser": {
620
- "active": 1,
621
- "flagValue": -1
622
- },
623
- "browserify": {
624
- "active": 0,
625
- "flagValue": -1
626
- },
627
- "camelcase": {
628
- "active": 0,
629
- "flagValue": -1
630
- },
631
- "couch": {
632
- "active": 0,
633
- "flagValue": -1
634
- },
635
- "curly": {
636
- "active": 1,
637
- "flagValue": -1
638
- },
639
- "debug": {
640
- "active": 0,
641
- "flagValue": -1
642
- },
643
- "devel": {
644
- "active": 0,
645
- "flagValue": -1
646
- },
647
- "dojo": {
648
- "active": 0,
649
- "flagValue": -1
650
- },
651
- "elision": {
652
- "active": 1,
653
- "flagValue": -1
654
- },
655
- "eqeqeq": {
656
- "active": 1,
657
- "flagValue": -1
658
- },
659
- "eqnull": {
660
- "active": 0,
661
- "flagValue": -1
662
- },
663
- "es3": {
664
- "active": 0,
665
- "flagValue": -1
666
- },
667
- "esnext": {
668
- "active": 0,
669
- "flagValue": -1
670
- },
671
- "evil": {
672
- "active": 0,
673
- "flagValue": -1
674
- },
675
- "expr": {
676
- "active": 0,
677
- "flagValue": -1
678
- },
679
- "forin": {
680
- "active": 0,
681
- "flagValue": -1
682
- },
683
- "freeze": {
684
- "active": 1,
685
- "flagValue": -1
686
- },
687
- "funcscope": {
688
- "active": 0,
689
- "flagValue": -1
690
- },
691
- "globalstrict": {
692
- "active": 0,
693
- "flagValue": -1
694
- },
695
- "immed": {
696
- "active": 0,
697
- "flagValue": -1
698
- },
699
- "indent": {
700
- "active": 0,
701
- "flagValue": 4
702
- },
703
- "iterator": {
704
- "active": 0,
705
- "flagValue": -1
706
- },
707
- "jasmine": {
708
- "active": 0,
709
- "flagValue": -1
710
- },
711
- "jquery": {
712
- "active": 1,
713
- "flagValue": -1
714
- },
715
- "lastsemic": {
716
- "active": 0,
717
- "flagValue": -1
718
- },
719
- "latedef": {
720
- "active": 1,
721
- "flagValue": -1
722
- },
723
- "laxbreak": {
724
- "active": 0,
725
- "flagValue": -1
726
- },
727
- "laxcomma": {
728
- "active": 0,
729
- "flagValue": -1
730
- },
731
- "loopfunc": {
732
- "active": 0,
733
- "flagValue": -1
734
- },
735
- "maxcomplexity": {
736
- "active": 0,
737
- "flagValue": 10
738
- },
739
- "maxdepth": {
740
- "active": 0,
741
- "flagValue": 3
742
- },
743
- "maxlen": {
744
- "active": 0,
745
- "flagValue": 150
746
- },
747
- "maxparams": {
748
- "active": 0,
749
- "flagValue": 3
750
- },
751
- "maxstatements": {
752
- "active": 0,
753
- "flagValue": 4
754
- },
755
- "mocha": {
756
- "active": 0,
757
- "flagValue": -1
758
- },
759
- "mootools": {
760
- "active": 0,
761
- "flagValue": -1
762
- },
763
- "moz": {
764
- "active": 0,
765
- "flagValue": -1
766
- },
767
- "multistr": {
768
- "active": 0,
769
- "flagValue": -1
770
- },
771
- "newcap": {
772
- "active": 1,
773
- "flagValue": -1
774
- },
775
- "noarg": {
776
- "active": 1,
777
- "flagValue": -1
778
- },
779
- "node": {
780
- "active": 0,
781
- "flagValue": -1
782
- },
783
- "noempty": {
784
- "active": 0,
785
- "flagValue": -1
786
- },
787
- "nonbsp": {
788
- "active": 0,
789
- "flagValue": -1
790
- },
791
- "nonew": {
792
- "active": 1,
793
- "flagValue": -1
794
- },
795
- "nonstandard": {
796
- "active": 0,
797
- "flagValue": -1
798
- },
799
- "notypeof": {
800
- "active": 1,
801
- "flagValue": -1
802
- },
803
- "noyield": {
804
- "active": 0,
805
- "flagValue": -1
806
- },
807
- "onecase": {
808
- "active": 0,
809
- "flagValue": -1
810
- },
811
- "phantom": {
812
- "active": 0,
813
- "flagValue": -1
814
- },
815
- "plusplus": {
816
- "active": 0,
817
- "flagValue": -1
818
- },
819
- "proto": {
820
- "active": 0,
821
- "flagValue": -1
822
- },
823
- "prototypejs": {
824
- "active": 0,
825
- "flagValue": -1
826
- },
827
- "qunit": {
828
- "active": 0,
829
- "flagValue": -1
830
- },
831
- "regexp": {
832
- "active": 1,
833
- "flagValue": -1
834
- },
835
- "rhino": {
836
- "active": 0,
837
- "flagValue": -1
838
- },
839
- "scripturl": {
840
- "active": 0,
841
- "flagValue": -1
842
- },
843
- "shadow": {
844
- "active": 0,
845
- "flagValue": -1
846
- },
847
- "shelljs": {
848
- "active": 0,
849
- "flagValue": -1
850
- },
851
- "singleGroups": {
852
- "active": 0,
853
- "flagValue": -1
854
- },
855
- "strict": {
856
- "active": 0,
857
- "flagValue": -1
858
- },
859
- "sub": {
860
- "active": 0,
861
- "flagValue": -1
862
- },
863
- "supernew": {
864
- "active": 0,
865
- "flagValue": -1
866
- },
867
- "typed": {
868
- "active": 0,
869
- "flagValue": -1
870
- },
871
- "undef": {
872
- "active": 1,
873
- "flagValue": -1
874
- },
875
- "unused": {
876
- "active": 1,
877
- "flagValue": -1
878
- },
879
- "withstmt": {
880
- "active": 0,
881
- "flagValue": -1
882
- },
883
- "worker": {
884
- "active": 0,
885
- "flagValue": -1
886
- },
887
- "wsh": {
888
- "active": 0,
889
- "flagValue": -1
890
- },
891
- "yui": {
892
- "active": 0,
893
- "flagValue": -1
894
- }
895
- },
896
- "jsLintFlags2": {
897
- "ass": {
898
- "active": 0,
899
- "flagValue": -1
900
- },
901
- "bitwise": {
902
- "active": 0,
903
- "flagValue": -1
904
- },
905
- "browser": {
906
- "active": 1,
907
- "flagValue": -1
908
- },
909
- "closure": {
910
- "active": 0,
911
- "flagValue": -1
912
- },
913
- "continue": {
914
- "active": 0,
915
- "flagValue": -1
916
- },
917
- "debug": {
918
- "active": 0,
919
- "flagValue": -1
920
- },
921
- "devel": {
922
- "active": 0,
923
- "flagValue": -1
924
- },
925
- "eqeq": {
926
- "active": 0,
927
- "flagValue": -1
928
- },
929
- "evil": {
930
- "active": 0,
931
- "flagValue": -1
932
- },
933
- "forin": {
934
- "active": 0,
935
- "flagValue": -1
936
- },
937
- "indent": {
938
- "active": 0,
939
- "flagValue": 4
940
- },
941
- "maxlen": {
942
- "active": 0,
943
- "flagValue": 150
944
- },
945
- "newcap": {
946
- "active": 0,
947
- "flagValue": -1
948
- },
949
- "node": {
950
- "active": 0,
951
- "flagValue": -1
952
- },
953
- "nomen": {
954
- "active": 0,
955
- "flagValue": -1
956
- },
957
- "plusplus": {
958
- "active": 0,
959
- "flagValue": -1
960
- },
961
- "properties": {
962
- "active": 0,
963
- "flagValue": -1
964
- },
965
- "regexp": {
966
- "active": 0,
967
- "flagValue": -1
968
- },
969
- "rhino": {
970
- "active": 0,
971
- "flagValue": -1
972
- },
973
- "sloppy": {
974
- "active": 0,
975
- "flagValue": -1
976
- },
977
- "stupid": {
978
- "active": 0,
979
- "flagValue": -1
980
- },
981
- "sub": {
982
- "active": 0,
983
- "flagValue": -1
984
- },
985
- "todo": {
986
- "active": 0,
987
- "flagValue": -1
988
- },
989
- "unparam": {
990
- "active": 0,
991
- "flagValue": -1
992
- },
993
- "vars": {
994
- "active": 0,
995
- "flagValue": -1
996
- },
997
- "white": {
998
- "active": 0,
999
- "flagValue": -1
1000
- }
1001
- },
1002
- "kitAutoOutputPathEnabled": 1,
1003
- "kitAutoOutputPathFilenamePattern": "*.html",
1004
- "kitAutoOutputPathRelativePath": "",
1005
- "kitAutoOutputPathReplace1": "",
1006
- "kitAutoOutputPathReplace2": "",
1007
- "kitAutoOutputPathStyle": 0,
1008
- "lessAllowInsecureImports": 0,
1009
- "lessAutoOutputPathEnabled": 1,
1010
- "lessAutoOutputPathFilenamePattern": "*.css",
1011
- "lessAutoOutputPathRelativePath": "..\/css",
1012
- "lessAutoOutputPathReplace1": "less",
1013
- "lessAutoOutputPathReplace2": "css",
1014
- "lessAutoOutputPathStyle": 2,
1015
- "lessCreateSourceMap": 0,
1016
- "lessDisableJavascript": 0,
1017
- "lessIeCompatibility": 1,
1018
- "lessOutputStyle": 0,
1019
- "lessRelativeURLS": 0,
1020
- "lessStrictImports": 0,
1021
- "lessStrictMath": 0,
1022
- "lessStrictUnits": 0,
1023
- "markdownAutoOutputPathEnabled": 1,
1024
- "markdownAutoOutputPathFilenamePattern": "*.html",
1025
- "markdownAutoOutputPathRelativePath": "",
1026
- "markdownAutoOutputPathReplace1": "",
1027
- "markdownAutoOutputPathReplace2": "",
1028
- "markdownAutoOutputPathStyle": 0,
1029
- "markdownEnableFootnotes": 0,
1030
- "markdownEnableSmartyPants": 1,
1031
- "markdownExpandTabs": 1,
1032
- "reloadFileURLs": 0,
1033
- "sassAutoOutputPathEnabled": 1,
1034
- "sassAutoOutputPathFilenamePattern": "*.css",
1035
- "sassAutoOutputPathRelativePath": "..\/css",
1036
- "sassAutoOutputPathReplace1": "sass",
1037
- "sassAutoOutputPathReplace2": "css",
1038
- "sassAutoOutputPathStyle": 2,
1039
- "sassCreateSourceMap": 0,
1040
- "sassDebugStyle": 0,
1041
- "sassDecimalPrecision": 10,
1042
- "sassOutputStyle": 0,
1043
- "sassUseLibsass": 0,
1044
- "shouldRunAutoprefixer": 0,
1045
- "shouldRunBless": 0,
1046
- "skippedItemsString": ".svn, .git, .hg, log, _logs, _cache, cache, logs, node_modules",
1047
- "slimAutoOutputPathEnabled": 1,
1048
- "slimAutoOutputPathFilenamePattern": "*.html",
1049
- "slimAutoOutputPathRelativePath": "",
1050
- "slimAutoOutputPathReplace1": "",
1051
- "slimAutoOutputPathReplace2": "",
1052
- "slimAutoOutputPathStyle": 0,
1053
- "slimCompileOnly": 0,
1054
- "slimLogicless": 0,
1055
- "slimOutputFormat": 0,
1056
- "slimOutputStyle": 1,
1057
- "slimRailsCompatible": 0,
1058
- "stylusAutoOutputPathEnabled": 1,
1059
- "stylusAutoOutputPathFilenamePattern": "*.css",
1060
- "stylusAutoOutputPathRelativePath": "..\/css",
1061
- "stylusAutoOutputPathReplace1": "stylus",
1062
- "stylusAutoOutputPathReplace2": "css",
1063
- "stylusAutoOutputPathStyle": 2,
1064
- "stylusCreateSourceMap": 0,
1065
- "stylusDebugStyle": 0,
1066
- "stylusImportCSS": 0,
1067
- "stylusOutputStyle": 0,
1068
- "stylusResolveRelativeURLS": 0,
1069
- "typescriptAutoOutputPathEnabled": 1,
1070
- "typescriptAutoOutputPathFilenamePattern": "*.js",
1071
- "typescriptAutoOutputPathRelativePath": "\/js",
1072
- "typescriptAutoOutputPathReplace1": "",
1073
- "typescriptAutoOutputPathReplace2": "",
1074
- "typescriptAutoOutputPathStyle": 2,
1075
- "typescriptCreateDeclarationFile": 0,
1076
- "typescriptCreateSourceMap": 0,
1077
- "typescriptMinifyOutput": 0,
1078
- "typescriptModuleType": 0,
1079
- "typescriptNoImplicitAny": 0,
1080
- "typescriptPreserveConstEnums": 0,
1081
- "typescriptRemoveComments": 0,
1082
- "typescriptSuppressImplicitAnyIndexErrors": 0,
1083
- "typescriptTargetECMAVersion": 0,
1084
- "uglifyDefinesString": "",
1085
- "uglifyFlags2": {
1086
- "ascii-only": {
1087
- "active": 0,
1088
- "flagValue": -1
1089
- },
1090
- "booleans": {
1091
- "active": 1,
1092
- "flagValue": -1
1093
- },
1094
- "bracketize": {
1095
- "active": 0,
1096
- "flagValue": -1
1097
- },
1098
- "cascade": {
1099
- "active": 1,
1100
- "flagValue": -1
1101
- },
1102
- "comments": {
1103
- "active": 1,
1104
- "flagValue": -1
1105
- },
1106
- "comparisons": {
1107
- "active": 1,
1108
- "flagValue": -1
1109
- },
1110
- "compress": {
1111
- "active": 1,
1112
- "flagValue": -1
1113
- },
1114
- "conditionals": {
1115
- "active": 1,
1116
- "flagValue": -1
1117
- },
1118
- "dead_code": {
1119
- "active": 0,
1120
- "flagValue": -1
1121
- },
1122
- "drop_console": {
1123
- "active": 0,
1124
- "flagValue": -1
1125
- },
1126
- "drop_debugger": {
1127
- "active": 1,
1128
- "flagValue": -1
1129
- },
1130
- "eval": {
1131
- "active": 0,
1132
- "flagValue": -1
1133
- },
1134
- "evaluate": {
1135
- "active": 1,
1136
- "flagValue": -1
1137
- },
1138
- "hoist_funs": {
1139
- "active": 1,
1140
- "flagValue": -1
1141
-