Version Description
Release Date - July 12 2018
- Minor updates
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 1.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.2
- assets/css/customize-controls.css +335 -335
- assets/images/chosen-sprite.png +0 -0
- assets/images/chosen-sprite@2x.png +0 -0
- assets/js/customize-controls.js +0 -24
- assets/js/selectize.js +0 -0
- assets/js/selectize.min.js +0 -0
- includes/customizer/output-css.php +0 -0
- includes/customizer/settings.php +0 -0
- includes/fonts.json +0 -0
- includes/functions.php +0 -0
- olympus-google-fonts.php +2 -2
- readme.txt +19 -7
assets/css/customize-controls.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
.customize-control-typography li.typography-font-family select {
|
2 |
-
|
3 |
}
|
4 |
|
5 |
.customize-control-typography li.typography-font-color,
|
@@ -7,129 +7,129 @@
|
|
7 |
.customize-control-typography li.typography-font-style,
|
8 |
.customize-control-typography li.typography-font-weight,
|
9 |
.customize-control-typography li.typography-line-height {
|
10 |
-
|
11 |
-
|
12 |
}
|
13 |
|
14 |
.customize-control-typography li.typography-font-style select,
|
15 |
.customize-control-typography li.typography-font-weight select {
|
16 |
-
|
17 |
}
|
18 |
|
19 |
.customize-control-typography li.typography-font-weight {
|
20 |
-
|
21 |
}
|
22 |
|
23 |
.customize-control-typography li.typography-font-size input,
|
24 |
.customize-control-typography li.typography-line-height input {
|
25 |
-
|
26 |
}
|
27 |
|
28 |
.customize-control-typography .advanced-settings-wrapper {
|
29 |
-
|
30 |
}
|
31 |
|
32 |
.customize-control-typography .advanced-settings-wrapper.show {
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
}
|
38 |
|
39 |
.advanced-settings-wrapper:after {
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
}
|
44 |
|
45 |
.advanced-button {
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
}
|
55 |
|
56 |
.advanced-button:before {
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
font : 400 16px/20px dashicons;
|
62 |
}
|
63 |
|
64 |
.advanced-button.open:before {
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
|
|
69 |
}
|
70 |
|
71 |
-
.customize-control-typography input[type=
|
72 |
-
|
73 |
}
|
74 |
|
75 |
.customize-control-typography .customize-control-notifications-container {
|
76 |
-
|
77 |
}
|
78 |
|
79 |
/* @group Base */
|
80 |
|
81 |
.chosen-container {
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
}
|
91 |
|
92 |
.chosen-container * {
|
93 |
-
|
94 |
-
|
95 |
}
|
96 |
|
97 |
.chosen-container .chosen-drop {
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
}
|
109 |
|
110 |
.chosen-container.chosen-with-drop .chosen-drop {
|
111 |
-
|
112 |
}
|
113 |
|
114 |
.chosen-container a {
|
115 |
-
|
116 |
}
|
117 |
|
118 |
.chosen-container .chosen-single .group-name,
|
119 |
.chosen-container .search-choice .group-name {
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
}
|
127 |
|
128 |
.chosen-container .chosen-single .group-name:after,
|
129 |
.chosen-container .search-choice .group-name:after {
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
}
|
134 |
|
135 |
/* @end */
|
@@ -137,122 +137,122 @@
|
|
137 |
/* @group Single Chosen */
|
138 |
|
139 |
.chosen-container-single .chosen-single {
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
}
|
165 |
-
|
166 |
-
.chosen-container-single .chosen-single input[type=
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
}
|
172 |
|
173 |
.chosen-container-single .chosen-default {
|
174 |
-
|
175 |
}
|
176 |
|
177 |
.chosen-container-single .chosen-single span {
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
}
|
184 |
|
185 |
.chosen-container-single .chosen-single-with-deselect span {
|
186 |
-
|
187 |
}
|
188 |
|
189 |
.chosen-container-single .chosen-single abbr {
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
}
|
199 |
|
200 |
.chosen-container-single .chosen-single abbr:hover {
|
201 |
-
|
202 |
}
|
203 |
|
204 |
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
205 |
-
|
206 |
}
|
207 |
|
208 |
.chosen-container-single .chosen-single div {
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
}
|
216 |
|
217 |
.chosen-container-single .chosen-single div b {
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
}
|
223 |
|
224 |
.chosen-container-single .chosen-search {
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
}
|
231 |
-
|
232 |
-
.chosen-container-single .chosen-search input[type=
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
}
|
245 |
|
246 |
.chosen-container-single .chosen-drop {
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
}
|
251 |
|
252 |
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
}
|
257 |
|
258 |
/* @end */
|
@@ -260,64 +260,64 @@
|
|
260 |
/* @group Results */
|
261 |
|
262 |
.chosen-container .chosen-results {
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
}
|
271 |
|
272 |
.chosen-container .chosen-results li {
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
}
|
280 |
|
281 |
.chosen-container .chosen-results li.active-result {
|
282 |
-
|
283 |
-
|
284 |
}
|
285 |
|
286 |
.chosen-container .chosen-results li.disabled-result {
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
}
|
291 |
|
292 |
.chosen-container .chosen-results li.highlighted {
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
}
|
301 |
|
302 |
.chosen-container .chosen-results li.no-results {
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
}
|
307 |
|
308 |
.chosen-container .chosen-results li.group-result {
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
}
|
313 |
|
314 |
.chosen-container .chosen-results li.group-option {
|
315 |
-
|
316 |
}
|
317 |
|
318 |
.chosen-container .chosen-results li em {
|
319 |
-
|
320 |
-
|
321 |
}
|
322 |
|
323 |
/* @end */
|
@@ -325,127 +325,127 @@
|
|
325 |
/* @group Multi Chosen */
|
326 |
|
327 |
.chosen-container-multi .chosen-choices {
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
}
|
343 |
|
344 |
.chosen-container-multi .chosen-choices li {
|
345 |
-
|
346 |
-
|
347 |
}
|
348 |
|
349 |
.chosen-container-multi .chosen-choices li.search-field {
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
}
|
354 |
-
|
355 |
-
.chosen-container-multi .chosen-choices li.search-field input[type=
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
}
|
371 |
|
372 |
.chosen-container-multi .chosen-choices li.search-choice {
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
}
|
398 |
|
399 |
.chosen-container-multi .chosen-choices li.search-choice span {
|
400 |
-
|
401 |
}
|
402 |
|
403 |
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
}
|
413 |
|
414 |
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
415 |
-
|
416 |
}
|
417 |
|
418 |
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
}
|
431 |
|
432 |
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
433 |
-
|
434 |
}
|
435 |
|
436 |
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
437 |
-
|
438 |
}
|
439 |
|
440 |
.chosen-container-multi .chosen-results {
|
441 |
-
|
442 |
-
|
443 |
}
|
444 |
|
445 |
.chosen-container-multi .chosen-drop .result-selected {
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
}
|
450 |
|
451 |
/* @end */
|
@@ -453,41 +453,41 @@
|
|
453 |
/* @group Active */
|
454 |
|
455 |
.chosen-container-active .chosen-single {
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
}
|
460 |
|
461 |
.chosen-container-active.chosen-with-drop .chosen-single {
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
}
|
473 |
|
474 |
.chosen-container-active.chosen-with-drop .chosen-single div {
|
475 |
-
|
476 |
-
|
477 |
}
|
478 |
|
479 |
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
480 |
-
|
481 |
}
|
482 |
|
483 |
.chosen-container-active .chosen-choices {
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
}
|
488 |
|
489 |
-
.chosen-container-active .chosen-choices li.search-field input[type=
|
490 |
-
|
491 |
}
|
492 |
|
493 |
/* @end */
|
@@ -495,16 +495,16 @@
|
|
495 |
/* @group Disabled Support */
|
496 |
|
497 |
.chosen-disabled {
|
498 |
-
|
499 |
-
|
500 |
}
|
501 |
|
502 |
.chosen-disabled .chosen-single {
|
503 |
-
|
504 |
}
|
505 |
|
506 |
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
507 |
-
|
508 |
}
|
509 |
|
510 |
/* @end */
|
@@ -512,78 +512,78 @@
|
|
512 |
/* @group Right to Left */
|
513 |
|
514 |
.chosen-rtl {
|
515 |
-
|
516 |
}
|
517 |
|
518 |
.chosen-rtl .chosen-single {
|
519 |
-
|
520 |
-
|
521 |
}
|
522 |
|
523 |
.chosen-rtl .chosen-single span {
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
}
|
528 |
|
529 |
.chosen-rtl .chosen-single-with-deselect span {
|
530 |
-
|
531 |
}
|
532 |
|
533 |
.chosen-rtl .chosen-single div {
|
534 |
-
|
535 |
-
|
536 |
}
|
537 |
|
538 |
.chosen-rtl .chosen-single abbr {
|
539 |
-
|
540 |
-
|
541 |
}
|
542 |
|
543 |
.chosen-rtl .chosen-choices li {
|
544 |
-
|
545 |
}
|
546 |
|
547 |
-
.chosen-rtl .chosen-choices li.search-field input[type=
|
548 |
-
|
549 |
}
|
550 |
|
551 |
.chosen-rtl .chosen-choices li.search-choice {
|
552 |
-
|
553 |
-
|
554 |
}
|
555 |
|
556 |
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
557 |
-
|
558 |
-
|
559 |
}
|
560 |
|
561 |
.chosen-rtl.chosen-container-single .chosen-results {
|
562 |
-
|
563 |
-
|
564 |
}
|
565 |
|
566 |
.chosen-rtl .chosen-results li.group-option {
|
567 |
-
|
568 |
-
|
569 |
}
|
570 |
|
571 |
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
572 |
-
|
573 |
}
|
574 |
|
575 |
-
.chosen-rtl .chosen-search input[type=
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
}
|
580 |
|
581 |
.chosen-rtl.chosen-container-single .chosen-single div b {
|
582 |
-
|
583 |
}
|
584 |
|
585 |
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
586 |
-
|
587 |
}
|
588 |
|
589 |
/* @end */
|
@@ -597,17 +597,17 @@
|
|
597 |
and (min-resolution : 144dpi),
|
598 |
only screen
|
599 |
and (min-resolution : 1.5dppx) {
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
}
|
612 |
|
613 |
/* @end */
|
1 |
.customize-control-typography li.typography-font-family select {
|
2 |
+
width: 85%;
|
3 |
}
|
4 |
|
5 |
.customize-control-typography li.typography-font-color,
|
7 |
.customize-control-typography li.typography-font-style,
|
8 |
.customize-control-typography li.typography-font-weight,
|
9 |
.customize-control-typography li.typography-line-height {
|
10 |
+
width: 50%;
|
11 |
+
float: left;
|
12 |
}
|
13 |
|
14 |
.customize-control-typography li.typography-font-style select,
|
15 |
.customize-control-typography li.typography-font-weight select {
|
16 |
+
width: 90%;
|
17 |
}
|
18 |
|
19 |
.customize-control-typography li.typography-font-weight {
|
20 |
+
clear: both;
|
21 |
}
|
22 |
|
23 |
.customize-control-typography li.typography-font-size input,
|
24 |
.customize-control-typography li.typography-line-height input {
|
25 |
+
width: 75px;
|
26 |
}
|
27 |
|
28 |
.customize-control-typography .advanced-settings-wrapper {
|
29 |
+
display: none;
|
30 |
}
|
31 |
|
32 |
.customize-control-typography .advanced-settings-wrapper.show {
|
33 |
+
display: block !important;
|
34 |
+
margin-top: 10px;
|
35 |
+
padding: 10px;
|
36 |
+
background: #dadada;
|
37 |
}
|
38 |
|
39 |
.advanced-settings-wrapper:after {
|
40 |
+
content: '';
|
41 |
+
display: table;
|
42 |
+
clear: both;
|
43 |
}
|
44 |
|
45 |
.advanced-button {
|
46 |
+
float: right;
|
47 |
+
margin: 0;
|
48 |
+
padding-top: 4px;
|
49 |
+
padding-bottom: 4px;
|
50 |
+
color: #72777c;
|
51 |
+
border: none;
|
52 |
+
background: 0 0;
|
53 |
+
cursor: pointer;
|
54 |
}
|
55 |
|
56 |
.advanced-button:before {
|
57 |
+
content: '\f108';
|
58 |
+
color: #0284ba;
|
59 |
+
background: 0 0;
|
60 |
+
font: 400 16px/20px dashicons;
|
|
|
61 |
}
|
62 |
|
63 |
.advanced-button.open:before {
|
64 |
+
content: '\f142';
|
65 |
+
color: #72777c;
|
66 |
+
border-radius: 5000px;
|
67 |
+
background: #dadada;
|
68 |
+
padding: 2px;
|
69 |
}
|
70 |
|
71 |
+
.customize-control-typography input[type='range'] {
|
72 |
+
width: 90%;
|
73 |
}
|
74 |
|
75 |
.customize-control-typography .customize-control-notifications-container {
|
76 |
+
display: none;
|
77 |
}
|
78 |
|
79 |
/* @group Base */
|
80 |
|
81 |
.chosen-container {
|
82 |
+
display: inline-block;
|
83 |
+
position: relative;
|
84 |
+
vertical-align: middle;
|
85 |
+
font-size: 13px;
|
86 |
+
-moz-user-select: none;
|
87 |
+
-ms-user-select: none;
|
88 |
+
-webkit-user-select: none;
|
89 |
+
user-select: none;
|
90 |
}
|
91 |
|
92 |
.chosen-container * {
|
93 |
+
-webkit-box-sizing: border-box;
|
94 |
+
box-sizing: border-box;
|
95 |
}
|
96 |
|
97 |
.chosen-container .chosen-drop {
|
98 |
+
z-index: 1010;
|
99 |
+
display: none;
|
100 |
+
position: absolute;
|
101 |
+
top: 100%;
|
102 |
+
width: 100%;
|
103 |
+
border: 1px solid #aaaaaa;
|
104 |
+
border-top: 0;
|
105 |
+
background: #ffffff;
|
106 |
+
-webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
107 |
+
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
|
108 |
}
|
109 |
|
110 |
.chosen-container.chosen-with-drop .chosen-drop {
|
111 |
+
display: block;
|
112 |
}
|
113 |
|
114 |
.chosen-container a {
|
115 |
+
cursor: pointer;
|
116 |
}
|
117 |
|
118 |
.chosen-container .chosen-single .group-name,
|
119 |
.chosen-container .search-choice .group-name {
|
120 |
+
margin-right: 4px;
|
121 |
+
color: #999999;
|
122 |
+
overflow: hidden;
|
123 |
+
text-overflow: ellipsis;
|
124 |
+
font-weight: normal;
|
125 |
+
white-space: nowrap;
|
126 |
}
|
127 |
|
128 |
.chosen-container .chosen-single .group-name:after,
|
129 |
.chosen-container .search-choice .group-name:after {
|
130 |
+
content: ':';
|
131 |
+
padding-left: 2px;
|
132 |
+
vertical-align: top;
|
133 |
}
|
134 |
|
135 |
/* @end */
|
137 |
/* @group Single Chosen */
|
138 |
|
139 |
.chosen-container-single .chosen-single {
|
140 |
+
display: block;
|
141 |
+
position: relative;
|
142 |
+
height: 25px;
|
143 |
+
padding: 0 0 0 8px;
|
144 |
+
color: #444444;
|
145 |
+
overflow: hidden;
|
146 |
+
border: 1px solid #aaaaaa;
|
147 |
+
border-radius: 5px;
|
148 |
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), to(#f4f4f4));
|
149 |
+
background: linear-gradient(
|
150 |
+
#ffffff 20%,
|
151 |
+
#f6f6f6 50%,
|
152 |
+
#eeeeee 52%,
|
153 |
+
#f4f4f4 100%
|
154 |
+
);
|
155 |
+
background-color: #ffffff;
|
156 |
+
background-clip: padding-box;
|
157 |
+
-webkit-box-shadow: 0 0 3px #ffffff inset,
|
158 |
+
0 1px 1px rgba(0, 0, 0, 0.1);
|
159 |
+
box-shadow: 0 0 3px #ffffff inset,
|
160 |
+
0 1px 1px rgba(0, 0, 0, 0.1);
|
161 |
+
text-decoration: none;
|
162 |
+
line-height: 24px;
|
163 |
+
white-space: nowrap;
|
164 |
+
}
|
165 |
+
|
166 |
+
.chosen-container-single .chosen-single input[type='text'] {
|
167 |
+
position: absolute;
|
168 |
+
width: 0;
|
169 |
+
opacity: 0;
|
170 |
+
cursor: pointer;
|
171 |
}
|
172 |
|
173 |
.chosen-container-single .chosen-default {
|
174 |
+
color: #999999;
|
175 |
}
|
176 |
|
177 |
.chosen-container-single .chosen-single span {
|
178 |
+
display: block;
|
179 |
+
margin-right: 26px;
|
180 |
+
overflow: hidden;
|
181 |
+
text-overflow: ellipsis;
|
182 |
+
white-space: nowrap;
|
183 |
}
|
184 |
|
185 |
.chosen-container-single .chosen-single-with-deselect span {
|
186 |
+
margin-right: 38px;
|
187 |
}
|
188 |
|
189 |
.chosen-container-single .chosen-single abbr {
|
190 |
+
display: block;
|
191 |
+
position: absolute;
|
192 |
+
top: 6px;
|
193 |
+
right: 26px;
|
194 |
+
width: 12px;
|
195 |
+
height: 12px;
|
196 |
+
background: url('../images/chosen-sprite.png') -42px 1px no-repeat;
|
197 |
+
font-size: 1px;
|
198 |
}
|
199 |
|
200 |
.chosen-container-single .chosen-single abbr:hover {
|
201 |
+
background-position: -42px -10px;
|
202 |
}
|
203 |
|
204 |
.chosen-container-single.chosen-disabled .chosen-single abbr:hover {
|
205 |
+
background-position: -42px -10px;
|
206 |
}
|
207 |
|
208 |
.chosen-container-single .chosen-single div {
|
209 |
+
display: block;
|
210 |
+
position: absolute;
|
211 |
+
top: 0;
|
212 |
+
right: 0;
|
213 |
+
width: 18px;
|
214 |
+
height: 100%;
|
215 |
}
|
216 |
|
217 |
.chosen-container-single .chosen-single div b {
|
218 |
+
display: block;
|
219 |
+
width: 100%;
|
220 |
+
height: 100%;
|
221 |
+
background: url('../images/chosen-sprite.png') no-repeat 0 2px;
|
222 |
}
|
223 |
|
224 |
.chosen-container-single .chosen-search {
|
225 |
+
z-index: 1010;
|
226 |
+
position: relative;
|
227 |
+
margin: 0;
|
228 |
+
padding: 3px 4px;
|
229 |
+
white-space: nowrap;
|
230 |
+
}
|
231 |
+
|
232 |
+
.chosen-container-single .chosen-search input[type='text'] {
|
233 |
+
width: 100%;
|
234 |
+
height: auto;
|
235 |
+
margin: 1px 0;
|
236 |
+
padding: 4px 20px 4px 5px;
|
237 |
+
border: 1px solid #aaaaaa;
|
238 |
+
border-radius: 0;
|
239 |
+
background: url('../images/chosen-sprite.png') no-repeat 100% -20px;
|
240 |
+
outline: 0;
|
241 |
+
font-family: sans-serif;
|
242 |
+
font-size: 1em;
|
243 |
+
line-height: normal;
|
244 |
}
|
245 |
|
246 |
.chosen-container-single .chosen-drop {
|
247 |
+
margin-top: -1px;
|
248 |
+
border-radius: 0 0 4px 4px;
|
249 |
+
background-clip: padding-box;
|
250 |
}
|
251 |
|
252 |
.chosen-container-single.chosen-container-single-nosearch .chosen-search {
|
253 |
+
position: absolute;
|
254 |
+
opacity: 0;
|
255 |
+
pointer-events: none;
|
256 |
}
|
257 |
|
258 |
/* @end */
|
260 |
/* @group Results */
|
261 |
|
262 |
.chosen-container .chosen-results {
|
263 |
+
position: relative;
|
264 |
+
max-height: 240px;
|
265 |
+
margin: 0 4px 4px 0;
|
266 |
+
padding: 0 0 0 4px;
|
267 |
+
color: #444444;
|
268 |
+
overflow-x: hidden;
|
269 |
+
overflow-y: auto;
|
270 |
}
|
271 |
|
272 |
.chosen-container .chosen-results li {
|
273 |
+
display: none;
|
274 |
+
margin: 0;
|
275 |
+
padding: 5px 6px;
|
276 |
+
line-height: 15px;
|
277 |
+
word-wrap: break-word;
|
278 |
+
list-style: none;
|
279 |
}
|
280 |
|
281 |
.chosen-container .chosen-results li.active-result {
|
282 |
+
display: list-item;
|
283 |
+
cursor: pointer;
|
284 |
}
|
285 |
|
286 |
.chosen-container .chosen-results li.disabled-result {
|
287 |
+
display: list-item;
|
288 |
+
color: #cccccc;
|
289 |
+
cursor: default;
|
290 |
}
|
291 |
|
292 |
.chosen-container .chosen-results li.highlighted {
|
293 |
+
color: #ffffff;
|
294 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #3875d7), color-stop(90%, #2a62bc));
|
295 |
+
background-image: linear-gradient(
|
296 |
+
#3875d7 20%,
|
297 |
+
#2a62bc 90%
|
298 |
+
);
|
299 |
+
background-color: #3875d7;
|
300 |
}
|
301 |
|
302 |
.chosen-container .chosen-results li.no-results {
|
303 |
+
display: list-item;
|
304 |
+
color: #777777;
|
305 |
+
background: #f4f4f4;
|
306 |
}
|
307 |
|
308 |
.chosen-container .chosen-results li.group-result {
|
309 |
+
display: list-item;
|
310 |
+
font-weight: bold;
|
311 |
+
cursor: default;
|
312 |
}
|
313 |
|
314 |
.chosen-container .chosen-results li.group-option {
|
315 |
+
padding-left: 15px;
|
316 |
}
|
317 |
|
318 |
.chosen-container .chosen-results li em {
|
319 |
+
text-decoration: underline;
|
320 |
+
font-style: normal;
|
321 |
}
|
322 |
|
323 |
/* @end */
|
325 |
/* @group Multi Chosen */
|
326 |
|
327 |
.chosen-container-multi .chosen-choices {
|
328 |
+
position: relative;
|
329 |
+
width: 100%;
|
330 |
+
height: auto;
|
331 |
+
margin: 0;
|
332 |
+
padding: 0 5px;
|
333 |
+
overflow: hidden;
|
334 |
+
border: 1px solid #aaaaaa;
|
335 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1%, #eeeeee), color-stop(15%, #ffffff));
|
336 |
+
background-image: linear-gradient(
|
337 |
+
#eeeeee 1%,
|
338 |
+
#ffffff 15%
|
339 |
+
);
|
340 |
+
background-color: #ffffff;
|
341 |
+
cursor: text;
|
342 |
}
|
343 |
|
344 |
.chosen-container-multi .chosen-choices li {
|
345 |
+
float: left;
|
346 |
+
list-style: none;
|
347 |
}
|
348 |
|
349 |
.chosen-container-multi .chosen-choices li.search-field {
|
350 |
+
margin: 0;
|
351 |
+
padding: 0;
|
352 |
+
white-space: nowrap;
|
353 |
+
}
|
354 |
+
|
355 |
+
.chosen-container-multi .chosen-choices li.search-field input[type='text'] {
|
356 |
+
width: 25px;
|
357 |
+
height: 25px;
|
358 |
+
margin: 1px 0;
|
359 |
+
padding: 0;
|
360 |
+
color: #999999;
|
361 |
+
border: 0 !important;
|
362 |
+
border-radius: 0;
|
363 |
+
background: transparent !important;
|
364 |
+
outline: 0;
|
365 |
+
-webkit-box-shadow: none;
|
366 |
+
box-shadow: none;
|
367 |
+
font-family: sans-serif;
|
368 |
+
font-size: 100%;
|
369 |
+
line-height: normal;
|
370 |
}
|
371 |
|
372 |
.chosen-container-multi .chosen-choices li.search-choice {
|
373 |
+
position: relative;
|
374 |
+
max-width: 100%;
|
375 |
+
margin: 3px 5px 3px 0;
|
376 |
+
padding: 3px 20px 3px 5px;
|
377 |
+
color: #333333;
|
378 |
+
border: 1px solid #aaaaaa;
|
379 |
+
border-radius: 3px;
|
380 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eeeeee));
|
381 |
+
background-image: linear-gradient(
|
382 |
+
#f4f4f4 20%,
|
383 |
+
#f0f0f0 50%,
|
384 |
+
#e8e8e8 52%,
|
385 |
+
#eeeeee 100%
|
386 |
+
);
|
387 |
+
background-color: #eeeeee;
|
388 |
+
background-repeat: repeat-x;
|
389 |
+
background-size: 100% 19px;
|
390 |
+
background-clip: padding-box;
|
391 |
+
-webkit-box-shadow: 0 0 2px #ffffff inset,
|
392 |
+
0 1px 0 rgba(0, 0, 0, 0.05);
|
393 |
+
box-shadow: 0 0 2px #ffffff inset,
|
394 |
+
0 1px 0 rgba(0, 0, 0, 0.05);
|
395 |
+
line-height: 13px;
|
396 |
+
cursor: default;
|
397 |
}
|
398 |
|
399 |
.chosen-container-multi .chosen-choices li.search-choice span {
|
400 |
+
word-wrap: break-word;
|
401 |
}
|
402 |
|
403 |
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
|
404 |
+
display: block;
|
405 |
+
position: absolute;
|
406 |
+
top: 4px;
|
407 |
+
right: 3px;
|
408 |
+
width: 12px;
|
409 |
+
height: 12px;
|
410 |
+
background: url('../images/chosen-sprite.png') -42px 1px no-repeat;
|
411 |
+
font-size: 1px;
|
412 |
}
|
413 |
|
414 |
.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
|
415 |
+
background-position: -42px -10px;
|
416 |
}
|
417 |
|
418 |
.chosen-container-multi .chosen-choices li.search-choice-disabled {
|
419 |
+
padding-right: 5px;
|
420 |
+
color: #666666;
|
421 |
+
border: 1px solid #cccccc;
|
422 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #f4f4f4), color-stop(50%, #f0f0f0), color-stop(52%, #e8e8e8), to(#eeeeee));
|
423 |
+
background-image: linear-gradient(
|
424 |
+
#f4f4f4 20%,
|
425 |
+
#f0f0f0 50%,
|
426 |
+
#e8e8e8 52%,
|
427 |
+
#eeeeee 100%
|
428 |
+
);
|
429 |
+
background-color: #e4e4e4;
|
430 |
}
|
431 |
|
432 |
.chosen-container-multi .chosen-choices li.search-choice-focus {
|
433 |
+
background: #d4d4d4;
|
434 |
}
|
435 |
|
436 |
.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
|
437 |
+
background-position: -42px -10px;
|
438 |
}
|
439 |
|
440 |
.chosen-container-multi .chosen-results {
|
441 |
+
margin: 0;
|
442 |
+
padding: 0;
|
443 |
}
|
444 |
|
445 |
.chosen-container-multi .chosen-drop .result-selected {
|
446 |
+
display: list-item;
|
447 |
+
color: #cccccc;
|
448 |
+
cursor: default;
|
449 |
}
|
450 |
|
451 |
/* @end */
|
453 |
/* @group Active */
|
454 |
|
455 |
.chosen-container-active .chosen-single {
|
456 |
+
border: 1px solid #5897fb;
|
457 |
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
458 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
459 |
}
|
460 |
|
461 |
.chosen-container-active.chosen-with-drop .chosen-single {
|
462 |
+
border: 1px solid #aaaaaa;
|
463 |
+
border-bottom-right-radius: 0;
|
464 |
+
border-bottom-left-radius: 0;
|
465 |
+
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, #eeeeee), color-stop(80%, #ffffff));
|
466 |
+
background-image: linear-gradient(
|
467 |
+
#eeeeee 20%,
|
468 |
+
#ffffff 80%
|
469 |
+
);
|
470 |
+
-webkit-box-shadow: 0 1px 0 #ffffff inset;
|
471 |
+
box-shadow: 0 1px 0 #ffffff inset;
|
472 |
}
|
473 |
|
474 |
.chosen-container-active.chosen-with-drop .chosen-single div {
|
475 |
+
border-left: none;
|
476 |
+
background: transparent;
|
477 |
}
|
478 |
|
479 |
.chosen-container-active.chosen-with-drop .chosen-single div b {
|
480 |
+
background-position: -18px 2px;
|
481 |
}
|
482 |
|
483 |
.chosen-container-active .chosen-choices {
|
484 |
+
border: 1px solid #5897fb;
|
485 |
+
-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
486 |
+
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
487 |
}
|
488 |
|
489 |
+
.chosen-container-active .chosen-choices li.search-field input[type='text'] {
|
490 |
+
color: #222222 !important;
|
491 |
}
|
492 |
|
493 |
/* @end */
|
495 |
/* @group Disabled Support */
|
496 |
|
497 |
.chosen-disabled {
|
498 |
+
opacity: 0.5 !important;
|
499 |
+
cursor: default;
|
500 |
}
|
501 |
|
502 |
.chosen-disabled .chosen-single {
|
503 |
+
cursor: default;
|
504 |
}
|
505 |
|
506 |
.chosen-disabled .chosen-choices .search-choice .search-choice-close {
|
507 |
+
cursor: default;
|
508 |
}
|
509 |
|
510 |
/* @end */
|
512 |
/* @group Right to Left */
|
513 |
|
514 |
.chosen-rtl {
|
515 |
+
text-align: right;
|
516 |
}
|
517 |
|
518 |
.chosen-rtl .chosen-single {
|
519 |
+
padding: 0 8px 0 0;
|
520 |
+
overflow: visible;
|
521 |
}
|
522 |
|
523 |
.chosen-rtl .chosen-single span {
|
524 |
+
margin-right: 0;
|
525 |
+
margin-left: 26px;
|
526 |
+
direction: rtl;
|
527 |
}
|
528 |
|
529 |
.chosen-rtl .chosen-single-with-deselect span {
|
530 |
+
margin-left: 38px;
|
531 |
}
|
532 |
|
533 |
.chosen-rtl .chosen-single div {
|
534 |
+
right: auto;
|
535 |
+
left: 3px;
|
536 |
}
|
537 |
|
538 |
.chosen-rtl .chosen-single abbr {
|
539 |
+
right: auto;
|
540 |
+
left: 26px;
|
541 |
}
|
542 |
|
543 |
.chosen-rtl .chosen-choices li {
|
544 |
+
float: right;
|
545 |
}
|
546 |
|
547 |
+
.chosen-rtl .chosen-choices li.search-field input[type='text'] {
|
548 |
+
direction: rtl;
|
549 |
}
|
550 |
|
551 |
.chosen-rtl .chosen-choices li.search-choice {
|
552 |
+
margin: 3px 5px 3px 0;
|
553 |
+
padding: 3px 5px 3px 19px;
|
554 |
}
|
555 |
|
556 |
.chosen-rtl .chosen-choices li.search-choice .search-choice-close {
|
557 |
+
right: auto;
|
558 |
+
left: 4px;
|
559 |
}
|
560 |
|
561 |
.chosen-rtl.chosen-container-single .chosen-results {
|
562 |
+
margin: 0 0 4px 4px;
|
563 |
+
padding: 0 4px 0 0;
|
564 |
}
|
565 |
|
566 |
.chosen-rtl .chosen-results li.group-option {
|
567 |
+
padding-right: 15px;
|
568 |
+
padding-left: 0;
|
569 |
}
|
570 |
|
571 |
.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
|
572 |
+
border-right: none;
|
573 |
}
|
574 |
|
575 |
+
.chosen-rtl .chosen-search input[type='text'] {
|
576 |
+
padding: 4px 5px 4px 20px;
|
577 |
+
background: url('../images/chosen-sprite.png') no-repeat -30px -20px;
|
578 |
+
direction: rtl;
|
579 |
}
|
580 |
|
581 |
.chosen-rtl.chosen-container-single .chosen-single div b {
|
582 |
+
background-position: 6px 2px;
|
583 |
}
|
584 |
|
585 |
.chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
|
586 |
+
background-position: -12px 2px;
|
587 |
}
|
588 |
|
589 |
/* @end */
|
597 |
and (min-resolution : 144dpi),
|
598 |
only screen
|
599 |
and (min-resolution : 1.5dppx) {
|
600 |
+
.chosen-container-multi .chosen-choices .search-choice .search-choice-close,
|
601 |
+
.chosen-container-single .chosen-search input[type='text'],
|
602 |
+
.chosen-container-single .chosen-single abbr,
|
603 |
+
.chosen-container-single .chosen-single div b,
|
604 |
+
.chosen-container .chosen-results-scroll-down span,
|
605 |
+
.chosen-container .chosen-results-scroll-up span,
|
606 |
+
.chosen-rtl .chosen-search input[type='text'] {
|
607 |
+
background-image: url('../images/chosen-sprite@2x.png') !important;
|
608 |
+
background-repeat: no-repeat !important;
|
609 |
+
background-size: 52px 37px !important;
|
610 |
+
}
|
611 |
}
|
612 |
|
613 |
/* @end */
|
assets/images/chosen-sprite.png
CHANGED
File without changes
|
assets/images/chosen-sprite@2x.png
CHANGED
File without changes
|
assets/js/customize-controls.js
CHANGED
@@ -33,30 +33,6 @@
|
|
33 |
}
|
34 |
);
|
35 |
|
36 |
-
control.container.on( 'change', '.typography-font-weight select',
|
37 |
-
function() {
|
38 |
-
control.settings['weight'].set( jQuery( this ).val() );
|
39 |
-
}
|
40 |
-
);
|
41 |
-
|
42 |
-
control.container.on( 'change', '.typography-font-style select',
|
43 |
-
function() {
|
44 |
-
control.settings['style'].set( jQuery( this ).val() );
|
45 |
-
}
|
46 |
-
);
|
47 |
-
|
48 |
-
control.container.on( 'change', '.typography-font-size input',
|
49 |
-
function() {
|
50 |
-
control.settings['size'].set( jQuery( this ).val() );
|
51 |
-
}
|
52 |
-
);
|
53 |
-
|
54 |
-
control.container.on( 'change', '.typography-line-height input',
|
55 |
-
function() {
|
56 |
-
control.settings['line_height'].set( jQuery( this ).val() );
|
57 |
-
}
|
58 |
-
);
|
59 |
-
|
60 |
control.container.on( 'click', '.advanced-button',
|
61 |
function() {
|
62 |
jQuery( this ).toggleClass('open');
|
33 |
}
|
34 |
);
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
control.container.on( 'click', '.advanced-button',
|
37 |
function() {
|
38 |
jQuery( this ).toggleClass('open');
|
assets/js/selectize.js
CHANGED
File without changes
|
assets/js/selectize.min.js
CHANGED
File without changes
|
includes/customizer/output-css.php
CHANGED
File without changes
|
includes/customizer/settings.php
CHANGED
File without changes
|
includes/fonts.json
CHANGED
File without changes
|
includes/functions.php
CHANGED
File without changes
|
olympus-google-fonts.php
CHANGED
@@ -4,8 +4,8 @@
|
|
4 |
*
|
5 |
* Plugin Name: Google Fonts for WordPress
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
-
* Description: The
|
8 |
-
* Version: 1.2.
|
9 |
* Author: Danny Cooper
|
10 |
* Author URI: https://olympusthemes.com/
|
11 |
* Text Domain: olympus-google-fonts
|
4 |
*
|
5 |
* Plugin Name: Google Fonts for WordPress
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
+
* Description: The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
|
8 |
+
* Version: 1.2.2
|
9 |
* Author: Danny Cooper
|
10 |
* Author URI: https://olympusthemes.com/
|
11 |
* Text Domain: olympus-google-fonts
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== Google Fonts for WordPress ===
|
2 |
-
Contributors: DannyCooper
|
3 |
-
Tags: google fonts, google fonts for wordpress, fonts, live preview,
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.9
|
6 |
License: GPLv2 or later
|
7 |
Stable tag: trunk
|
8 |
|
9 |
-
The easiest to use Google Fonts plugin. No coding required.
|
10 |
|
11 |
== Description ==
|
12 |
The Google Fonts library currently contains 877 unique fonts. This plugin allows you to easily use any of them on your WordPress website.
|
@@ -22,7 +22,7 @@ The full Google Fonts library can be found here - [Google Fonts](https://fonts.g
|
|
22 |
= Plugin Features =
|
23 |
|
24 |
* **Live Customizer Preview:** Choose and preview fonts in real time using the WordPress Customizer.
|
25 |
-
* **Over
|
26 |
* Works with any WordPress Theme. No coding required.
|
27 |
* Easy One-Click Updates.
|
28 |
* Translation Ready.
|
@@ -67,10 +67,22 @@ We are 99.99% certain it will, if it doesn't then please create a [support ticke
|
|
67 |
|
68 |
== Screenshots ==
|
69 |
|
70 |
-
1.
|
|
|
|
|
71 |
|
72 |
== Changelog ==
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
= 1.2.0 =
|
75 |
*Release Date - April 17 2018*
|
76 |
|
@@ -147,4 +159,4 @@ We are 99.99% certain it will, if it doesn't then please create a [support ticke
|
|
147 |
= 1.0.0 =
|
148 |
*Release Date - 12th October 2017*
|
149 |
|
150 |
-
* Initial release
|
1 |
=== Google Fonts for WordPress ===
|
2 |
+
Contributors: DannyCooper, googlefonts
|
3 |
+
Tags: google fonts, google fonts for wordpress, fonts, live preview, google-fonts
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.9.7
|
6 |
License: GPLv2 or later
|
7 |
Stable tag: trunk
|
8 |
|
9 |
+
The easiest to use Google Fonts plugin. No coding required. 870+ font choices.
|
10 |
|
11 |
== Description ==
|
12 |
The Google Fonts library currently contains 877 unique fonts. This plugin allows you to easily use any of them on your WordPress website.
|
22 |
= Plugin Features =
|
23 |
|
24 |
* **Live Customizer Preview:** Choose and preview fonts in real time using the WordPress Customizer.
|
25 |
+
* **Over 870+ Google Fonts** to choose from.
|
26 |
* Works with any WordPress Theme. No coding required.
|
27 |
* Easy One-Click Updates.
|
28 |
* Translation Ready.
|
67 |
|
68 |
== Screenshots ==
|
69 |
|
70 |
+
1. Instant Live Preview - Google Fonts for WordPress
|
71 |
+
2. Customizer Settings Search - Google Fonts for WordPress
|
72 |
+
3. Customizer Settings Font Weight and Style - Google Fonts for WordPress
|
73 |
|
74 |
== Changelog ==
|
75 |
|
76 |
+
= 1.2.2 =
|
77 |
+
*Release Date - July 12 2018*
|
78 |
+
|
79 |
+
* Minor updates
|
80 |
+
|
81 |
+
= 1.2.1 =
|
82 |
+
*Release Date - June 15 2018*
|
83 |
+
|
84 |
+
* Remove unused code
|
85 |
+
|
86 |
= 1.2.0 =
|
87 |
*Release Date - April 17 2018*
|
88 |
|
159 |
= 1.0.0 =
|
160 |
*Release Date - 12th October 2017*
|
161 |
|
162 |
+
* Initial release of Google Fonts for WordPress
|