PluginProbe
Customify / 2.0.2
Customify v2.0.2
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
customify / scss / customizer.scss

customizer.scss in Customify 2.0.2, at scss/customizer.scss

2,565 lines 46.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @charset "UTF-8";
2 @import 'fields';
3
4
5
6
7 //------------------------------------*\
8 // VARIABLES
9 //------------------------------------*/
10 $accent : #3677bd;
11 $dark : #232527;
12 $gray : #303235;
13 $light : #cbcfd4;
14 $lighter : #3b3f45; //borders
15 $descriptions : #4d7b90;
16
17 $borders :#e0e8ef;
18
19 $unit : 24px;
20 $popup : 275px;
21 $container-spacing : 17px;
22
23 $blue-dark : #416B7E;
24 $blue-darker : #2A3B44;
25
26 $fields_height : 44px;
27 $fields_spacing : 24px;
28 $fields_border-radius : 4px;
29 $fields_border-color : #B8DAEB;
30
31 $background-hover : #f5fcff;
32
33
34
35
36
37 //------------------------------------*\
38 // RESETS
39 //------------------------------------*/
40 .wp-full-overlay-sidebar {
41 *, *:before, *:after {
42 box-sizing: border-box;
43 }
44 }
45
46 .iris-picker,
47 .iris-picker * {
48 box-sizing: content-box;
49 }
50
51 @mixin clearfix {
52 &:after {
53 content: " ";
54 display: table;
55 clear: both;
56 }
57 }
58
59 // Change sections overflow
60 .wp-full-overlay-sidebar-content .accordion-section-content {
61 overflow: visible;
62 }
63
64 .control-section:not(.control-section-themes) .customize-control {
65 padding: 0;
66 width: 100%;
67 min-height: initial;
68 }
69
70
71 // Header – Close + Save Controls
72 #customize-header-actions {
73 // border-bottom: 0;
74 #customize-save-button-wrapper {
75 margin-top: 7px;
76 }
77 }
78
79 // Footer
80 .wp-full-overlay-footer {
81 .devices {
82 button {
83 float: left;
84 border-radius: 0;
85 }
86 }
87 }
88
89 // Temporary Fix to Make "Close" button align with the "Back"
90 .customize-controls-close {
91 width: 48px;
92 height: 44px;
93 color: #7da9c3;
94 background: #ffffff;
95 border-top: none;
96 border-right-color: $borders;
97
98 &:focus, &:hover {
99 background: $background-hover;
100 }
101
102 // "X" Icon
103 &:before {
104 top: 0px;
105 }
106 }
107
108 // Remove Accordion Section Title Margin
109 #customize-controls .customize-info {
110 // margin-bottom: 0;
111 border-bottom-color: $borders;
112 }
113
114 .customize-panel-back, .customize-section-back {
115 height: 74px;
116 color: #7da9c3;
117 border-right-color: $borders;
118
119 &:hover, &:focus {
120 border-left-color: $background-hover;
121 background: $background-hover;
122 }
123 }
124
125
126 #customize-theme-controls {
127 .theme * {
128 box-sizing: content-box;
129 }
130
131 .accordion-section-content {
132 padding: $container-spacing;
133 }
134
135 .customize-section-title {
136 margin-top: -$container-spacing;
137 margin-right: -$container-spacing;
138 // margin-left: -$container-spacing;
139 }
140
141 .control-panel-content {
142 .control-section:nth-child(2),
143 .control-section:nth-child(3) {
144 border-top: none;
145 }
146
147 // Select the Second to Last Element
148 // https://css-tricks.com/useful-nth-child-recipies/
149 .control-section:nth-last-child(2) {
150 // border-bottom: 1px solid $borders;
151 }
152 }
153
154 #accordion-section-add_menu {
155 // text-align: right;
156 // overflow: visible;
157 border-bottom: none;
158
159 .add-menu-toggle {
160 float: none;
161 }
162 }
163
164 .customize-pane-child.open {
165 height: 100%;
166 }
167 }
168
169 #customize-controls .description {
170 // margin-bottom: 9px;
171
172 font-size: 12px;
173 font-weight: 300;
174 font-style: normal;
175 line-height: 1.6;
176 color: $descriptions;
177 text-indent: 0;
178 }
179
180 .customize-control-description {
181 margin-top: 6px;
182 }
183
184 .customize-control {
185 margin-bottom: $fields-spacing;
186 }
187
188 // Active Themes Section
189 #accordion-section-themes {
190 +.control-section {
191 border-top: none;
192 }
193 }
194
195 // Subsection Info Title
196 #customize-controls {
197 .panel-meta.customize-info {
198 .accordion-section-title {
199 border-top: none;
200 height: 74px;
201 }
202 }
203 }
204
205 .button-controls {
206 @include clearfix();
207 }
208
209
210
211
212
213 //------------------------------------*\
214 // GENERAL FIELDS
215 //------------------------------------*/
216
217
218
219 // GENERAL Buttons
220
221 .wp-core-ui {
222
223 // Primary & Secondary Buttons
224 .button:not(.theme-details):not(.collapse-sidebar):not(.wp-color-result),
225 .button-primary,
226 .button-secondary {
227 width: auto;
228 // padding: 6px 20px;
229 padding-left: 15px;
230 padding-right: 15px;
231
232 // font-size: 13px;
233 font-weight: 400;
234 color: #F5FCFF;
235 // line-height: 1.4;
236 text-shadow: none;
237 border: none;
238 background: #AED2E5;
239 box-shadow: 0px 2px 0px 0px #8DBED7;
240 border-radius: $fields_border-radius;
241
242 &:hover {
243 color: white;
244 text-shadow: none;
245 background: #98C6DD;
246 box-shadow: 0px 2px 0px 0px #74A7C2;
247 }
248 }
249
250 #customize-header-actions {
251 .button-primary {
252 background: #73C5EE;
253 box-shadow: 0px 2px 0px 0px #57ABD5;
254
255 &:hover {
256 background: #58B0DD;
257 box-shadow: 0px 2px 0px 0px #3F8AAF;
258 }
259
260 &.save {
261
262 }
263
264 &.has-next-sibling {
265 border-right: 1px solid #57ABD5;
266 }
267
268 &:disabled {
269 color: white !important;
270 background: #AED2E5 !important;
271 opacity: 0.7;
272 box-shadow: 0px 2px 0px 0px #8db5ca !important;
273
274 &.has-next-sibling {
275 border-right: none;
276 }
277 }
278 }
279 }
280
281
282 // Reset Buttons
283 .reset_section,
284 .reset_panel {
285 width: 100%;
286 height: 4em;
287 display: block;
288 margin: 0px 0 25px;
289 }
290
291 .reset_panel {
292 margin-top: 10px;
293 }
294 }
295
296
297
298 // Separators Titles
299
300 %fields-label {
301 display: block;
302 font-size: 14px;
303 line-height: 24px;
304 font-weight: 500;
305 // margin-bottom: 5px;
306 }
307
308 .customize-control-title {
309 color: $blue-darker;
310 }
311
312 %section-background {
313 content: "";
314
315 position: absolute;
316 top: 0;
317 bottom: 0;
318 left: -$container-spacing - 1;
319 right: -$container-spacing - 1;
320 z-index: -1;
321 }
322
323 .separator {
324 &.label {
325 @extend %fields-label;
326 @extend .customize-control-title;
327 //margin-bottom: -3px;
328 //margin-bottom: -$fields-spacing/2 - 3px;
329
330 font-weight: 500;
331 }
332
333 &.large {
334 margin-top: $fields-spacing/2;
335 font-size: 16px;
336 color: #39474D;
337 }
338
339 &.section {
340 position: relative;
341 padding: 14px 0;
342 margin-bottom: 0;
343 background: none;
344 border: none;
345
346 &[id*="layout"]*="layout""] {
347 margin-top: 0;
348
349 &:before {
350 border: none;
351 }
352 }
353
354 &:before {
355 @extend %section-background;
356
357 border: 1px solid $borders;
358 background-color: #ffffff;
359 box-shadow: 0px 1px 0px 0px #DFE8EF;
360 }
361 }
362
363 &.sub-section {
364 position: relative;
365 padding: 12px 0;
366
367 &:before {
368 @extend %section-background;
369
370 border-top: 1px solid $borders;
371 border-bottom: 1px solid $borders;
372 background-color: #f6fbff;
373 }
374
375 + span {
376 margin-top: 20px;
377 font-style: normal;
378 }
379 }
380 }
381
382 // h2.separator {
383 // margin-bottom: -20px;
384 // margin-top: 30px;
385 // }
386
387
388
389 // Section tabs
390
391 .section-navigation-wrapper {
392 position: relative;
393
394 height: 43px;
395 margin: -15px -12px 0 -12px;
396 margin-right: -$container-spacing;
397 margin-left: -$container-spacing;
398 }
399
400 .section-navigation {
401 display: flex;
402 margin-top: -1px;
403
404 clear: both;
405
406 border-top: 1px solid $borders;
407
408 a {
409 flex: 1 1 auto;
410 display: block;
411 padding: 12px 0;
412
413 color: #3b484e;
414 background-color: #ffffff;
415
416 border-bottom: 1px solid $borders;
417 border-right: 1px solid $borders;
418
419 text-align: center;
420 text-decoration: none;
421
422 transition: background-color .15s ease-in-out;
423
424 &:last-child {
425 border-right: 0;
426 }
427 }
428 }
429
430 #customize-controls .customize-info,
431 #customize-controls .customize-section-title {
432 &.is-sticky.is-sticky {
433 top: 40px;
434 }
435
436 &.is-in-view.is-in-view {
437 box-shadow: none;
438 }
439 }
440
441 #customize-controls .has-nav .customize-info,
442 #customize-controls .has-nav .customize-section-title {
443 margin-right: -12px;
444 }
445
446 #customize-controls .customize-section-title.customize-section-title {
447 border-bottom: 0;
448 }
449
450 .customize-section-description-container.section-meta.has-nav {
451 margin-bottom: 0;
452 }
453
454 // Extended typography field
455
456 .font-options__wrapper {
457 position: relative;
458
459 //&:hover .font-options__options-list {
460 // opacity: 1;
461 // pointer-events: auto;
462 //}
463
464 &:after {
465 content: "";
466 position: absolute;
467 top: 90%;
468 left: 0;
469 right: 0;
470 z-index: 0;
471
472 display: block;
473 height: 30px;
474 }
475 }
476 .font-options__head {
477 @extend %input;
478 @extend %select;
479
480 display: flex;
481 justify-content: space-between;
482
483 &.font-options__head {
484 -webkit-appearance: none;
485
486 text-overflow: ellipsis;
487 // overflow: hidden;
488 white-space: nowrap;
489 }
490 }
491 .font-options__font-title {
492 margin-right: 26px;
493 margin-left: 10px;
494
495 font-size: 12px;
496 line-height: 20px;
497 font-weight: 300;
498
499 color: #98c6dd;
500
501 text-overflow: ellipsis;
502 overflow: hidden;
503 white-space: nowrap;
504 }
505
506 .font-options__options-list {
507 position: absolute;
508 top: calc(100% + 6px);
509 left: -6px;
510 right: -6px;
511 z-index: 2;
512
513 display: block;
514 padding: 10px;
515
516 border: 1px solid #dfe8ef;
517 border-radius: 5px;
518
519 background-color: #ffffff;
520
521 opacity: 0;
522 display: none;
523 //pointer-events: none;
524 transition: opacity .15s linear;
525
526 &:last-child {
527 margin-bottom: 0;
528 }
529
530 &:before,
531 &:after {
532 content: "";
533
534 position: absolute;
535 top: -20px;
536 right: 25px;
537
538 height: 0;
539 width: 0;
540
541 border: solid transparent;
542
543 z-index: 10;
544 }
545
546 &:before {
547 border-bottom-color: white;
548 border-width: 10px;
549 z-index: 11;
550 }
551
552 &:after {
553 border-bottom-color: rgba(0, 0, 0, 0.075);
554 border-width: 12px;
555 top: -24px;
556 right: 23px;
557 }
558 }
559
560
561
562
563
564 //------------------------------------*\
565 // OBJECTS
566 //------------------------------------*/
567 %top-arrow {
568 &:after {
569 content: "";
570 position: absolute;
571 bottom:100%;
572 right: 12px;
573 border-collapse: separate;
574 width: 0;
575 height: 0;
576
577 border-width: 0 9px 9px 9px;;
578 border-style: solid;
579 border-color: transparent transparent #fff transparent;
580 }
581 }
582
583 %box-bg {
584 position : absolute;
585 top : 60px;
586 right : -6px;
587 z-index : 100000;
588 width : $popup !important;
589 padding : 12px;
590 display : none;
591 background : #fff;
592 border-radius : 3px;
593 @extend %top-arrow;
594
595 &.active {
596 display:block;
597 }
598
599 &:after {
600 right : 58px;
601 border-color : transparent transparent #fff transparent;
602 }
603 }
604
605 %icon-btn {
606 position : absolute;
607 top : -36px;
608 right : 45px;
609 display : block;
610 height : 30px;
611 width : 30px;
612 margin : 0;
613 padding : 0;
614 border : none;
615 background : #1d1e20;
616 color : #5f6369;
617 border-radius : (100px);
618 box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0px inset;
619 line-height : 30px;
620 text-align : center;
621 cursor : pointer;
622 outline : none;
623
624 &:before {
625 font-family: 'Elusive-Icons';
626 content: "\e669";
627 }
628
629 &:hover, &.active {
630 background : $lighter;
631 }
632
633 &.active {
634 box-shadow: rgba(0, 0, 0, 0.4) 0 1px 1px;
635 }
636 }
637
638
639
640 //------------------------------------*\
641 // $INPUT FIELDS
642 //------------------------------------*/
643
644 %input {
645 width: 100%;
646 height: $fields_height;
647 padding: 10px 14px;
648
649 background: #FFFFFF;
650 border: 2px solid $fields_border-color;
651 border-radius: 4px;
652
653 font-size: 14px;
654 line-height: 1.5;
655 color: $blue-dark;
656 outline: 0;
657
658 &:focus {
659 border-color: #73C5EE;
660 box-shadow: none;
661 // box-shadow: 0 0 0 2px #73C5EE;
662 }
663 }
664
665 %select {
666 width: 100%;
667 -webkit-appearance: button; // hide default arrow in WebKit/Blink
668 -moz-appearance: none; // hide default arrow in Gecko
669
670 font-weight: 600;
671
672 background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE1cHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTUgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU2LjAwMDAwMCwgLTM4Ni4wMDAwMDApIiBmaWxsPSIjOThDNkRFIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iVGl0bGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI2LjAwMDAwMCwgMjE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1TZWxlY3QtQ29weSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iU2VsZWN0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMjcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1NC40ODEyLDE4IEwyNTYsMTkuNTE0IEwyNDguNSwyNyBMMjQxLDE5LjUxNCBMMjQyLjUxODgsMTggTDI0OC41LDIzLjk2NzIgTDI1NC40ODEyLDE4IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
673 background-position: right 16px top 16px;
674
675 &[multiple]] {
676 background: white;
677 }
678 }
679
680 .wp-full-overlay-sidebar-content .customize-control {
681
682 input[type=text]=text]:not(#_customize-input-wpcom_custom_css_content_width_control):not(.wp-color-picker),
683 input[type=checkbox]=checkbox],
684 input[type=password]=password],
685 input[type=color]=color],
686 input[type=date]=date],
687 input[type=datetime]=datetime],
688 input[type=datetime-local]=datetime-local],
689 input[type=email]=email],
690 input[type=month]=month],
691 input[type=number]=number],
692 input[type=radio]=radio],
693 input[type=tel]=tel],
694 input[type=time]=time],
695 input[type=url]=url],
696 input[type=week]=week],
697 input[type=search]=search],
698 select,
699 textarea,
700 input[type="number"]="number""].range-value {
701 @extend %input;
702 }
703
704 input[type=text]=text],
705 textarea {
706 font-size: 13px;
707 }
708
709 input[type=text]=text] {
710
711 }
712
713 // Textarea
714 textarea {
715 height: auto;
716 }
717
718 // Checkbox
719 input[type=checkbox]=checkbox],
720 input[type=radio]=radio] {
721 width: $fields_height/2;
722 height: $fields_height/2;
723
724 &:checked {
725 background: #73C5EE;
726 border-color: #5AB9E8;
727
728 &:before {
729 color: white;
730 margin: -1px 0 0 -2px;
731 }
732 }
733 }
734
735 .awesome_preset input[type=radio]=radio]:checked {
736 background: transparent;
737 }
738
739 &.customize-control-checkbox:not(#customize-control-jetpack_css_mode_control),
740 &.customize-control-radio {
741
742 // Split into two columns only when
743 // there is more than one label
744 label:not(:only-of-type),
745 // WordPress 4.9 Class
746 > .customize-inside-control-row:not(:only-of-type) {
747 margin-left: 30px;
748 padding-top: 0;
749 padding-bottom: 0;
750 display: inline-block;
751
752 width: calc(49% - 30px);
753
754 text-indent: -6px;
755
756 }
757
758 label {
759 color: $blue-dark;
760
761 }
762
763 // Except the dividers titles
764 [id*="divider"]*="divider""] + & {
765 margin-top: 0;
766 }
767 }
768
769 // Radios
770 input[type=radio]=radio] {
771 border-radius: 50%;
772
773 &:checked:before {
774 content: none;
775 }
776 }
777
778 &.customize-control-checkbox {
779 // Select HTML Labels followed by a Checkbox field
780 .customize-control-html + & {
781 margin-top: -24px;
782 }
783 }
784
785 &.customize-control-radio {
786 label,
787 // WordPress 4.9 Class
788 .customize-inside-control-row {
789 margin-top: $fields-spacing/2;
790
791 }
792
793 // New WP 4.9 Changesets options
794 &#customize-control-changeset_status .customize-inside-control-row {
795 margin-top: 0;
796 text-indent: 0;
797 }
798 }
799
800 // Select
801 select {
802 @extend %select;
803 }
804
805
806 // Range Field
807 input[type="range"]="range""] {
808 width: 65%;
809 }
810
811 $input-size: calc(100% - 55px);
812 $input-height: 6px;
813 $thumb-height: 22px;
814
815 input[type="range"]="range""] {
816 position: relative;
817 -webkit-appearance: none;
818 width: $input-size;
819 height: $thumb-height;
820 overflow: hidden;
821 outline: none;
822 background: none;
823
824 &:before {
825 content: " ";
826 position: absolute;
827 top: 8px;
828 left: 0;
829 height: $input-height;
830 width: 100%;
831 background: #DFE8EF;
832 box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.30);
833 border-radius: 10px;
834 }
835
836 &::-webkit-slider-thumb {
837 -webkit-appearance: none;
838 width: $thumb-height;
839 height: $thumb-height;
840 background: #27ae60;
841 position: relative;
842 z-index: 3;
843
844 background: #FFFFFF;
845 border: 2px solid #B8DAEB;
846 border-radius: 4px;
847
848 &:before {
849 content: "..";
850 position: absolute;
851 left: 5px;
852 top: -5px;
853 color: #B8DAEB;
854 font-size: 1em;
855 letter-spacing: 1px;
856 }
857
858 &:after {
859 content: " ";
860 width: $input-size;
861 height: $input-height;
862 position: absolute;
863 z-index: 1;
864 right: $thumb-height - 2px;
865 top: $input-height;
866 background: #73C5EE;
867 }
868 }
869 }
870
871
872 input[type="number"]="number""].range-value {
873 min-width: 40px;
874 max-width: 80px;
875 width: auto;
876 height: 30px;
877 top: -5px;
878 float: right;
879 padding: 4px 0px 5px 0px;
880 margin-left: 10px;
881 font-size: 13px;
882 line-height: 1;
883 text-align: center;
884 }
885
886 input[type=number]=number]::-webkit-inner-spin-button,
887 input[type=number]=number]::-webkit-outer-spin-button {
888 -webkit-appearance: none;
889 margin: 0;
890 }
891 }
892
893
894
895
896
897 //------------------------------------*\
898 // Color Picker
899 //------------------------------------*/
900
901 .customize-control-color {
902 display: block;
903
904 .customize-control-title {
905 float:left;
906 }
907 .customize-control-content {
908
909 }
910
911 .wp-picker-container {
912 position : relative;
913 float : right;
914 top : -3px;
915
916
917 .wp-picker-holder {
918 position: relative;
919 }
920
921 .wp-color-result,
922 .wp-color-result.button {
923 top : 0;
924 height : 30px;
925 width : 40px;
926 margin : 0;
927 padding : 0;
928
929 border-radius: $fields_border-radius;
930 background: #2ECC71;
931 border: 2px solid #B8DAEB;
932 box-shadow: none;
933
934 &:after,
935 .wp-color-result-text {
936 display:none;
937 }
938 }
939
940 .iris-picker {
941 position : absolute;
942 top : 40px;
943 right : 0;
944 z-index : 1000;
945 width : $popup !important;
946 border-top : none;
947 border-color: #DFDFDE;
948 border-radius: 0 0 3px 3px;
949 border : none;
950 background : white;
951
952 &, * {
953 box-sizing: content-box;
954 }
955
956 .iris-picker-inner {
957
958 }
959 .iris-square {
960 width : 215px !important;
961 height : 173px !important;
962 margin-right : 0;
963 }
964 .iris-strip {
965 float : right;
966 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
967 .ui-slider-handle {
968 border-color : #aaa !important;
969 opacity : 1;
970 box-shadow: none;
971 }
972 }
973 .iris-palette {
974 width : 24px !important;
975 height : 24px !important;
976 border-radius: 50px;
977 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
978 }
979 }
980
981 .wp-picker-open+.wp-picker-input-wrap {
982 position : absolute;
983 z-index : 1000;
984 top : 35px;
985 right : 0;
986 width : $popup;
987 padding : 9px 12px;
988 background : white;
989 border : none;
990 border-radius: 3px 3px 0 0;
991 @extend %top-arrow;
992
993 input {
994
995 &.wp-color-picker {
996 float:left;
997 width: 100px;
998 font-size: 13px;
999 text-align: left;
1000 margin: 0;
1001 padding: 6px 12px;
1002 height: auto;
1003 }
1004
1005 &.button {
1006 float:right;
1007 padding: 4px 12px;
1008 height: 30px;
1009 }
1010 }
1011 }
1012 }
1013 }
1014
1015
1016
1017
1018 //------------------------------------*\
1019 // Font Selector
1020 //------------------------------------*/
1021
1022 .customize-control-font {
1023
1024 // Add extra bottom spacing to better view the modal
1025 &:last-child {
1026 margin-bottom: 150px;
1027 }
1028 }
1029
1030
1031
1032 //------------------------------------*\
1033 // CSS Editor Customizer
1034 //------------------------------------*/
1035
1036 // Panel
1037 #accordion-panel-live_css_edit_panel {
1038
1039 }
1040
1041 // Section
1042 #accordion-section-live_css_edit_section {
1043
1044 // Add the default border to title
1045 .customize-section-title {
1046 margin-top: -13px;
1047 border-bottom: 1px solid #ddd;
1048 }
1049 // Ace Editor
1050 #css_editor {
1051 top: 70px;
1052 border-top: 10px solid white;
1053 overflow: visible;
1054
1055 &:before {
1056 content: "";
1057 width: 48px;
1058 height: 10px;
1059 display: block;
1060 background: #e8e8e8;
1061 top: -10px;
1062 position: absolute;
1063 z-index: 10000000;
1064 left: 0;
1065 }
1066 }
1067
1068 // Add Some Extra Spacing Around the Editor Content
1069 .ace_scroller {
1070 padding-left: 10px;
1071 }
1072 }
1073
1074 // Increase the Customizer width when Editor is opened
1075 .wp-full-overlay.editor_opened {
1076
1077 margin-left: 500px;
1078
1079 #customize-controls {
1080 width: 500px;
1081 }
1082
1083 // Go back when the Customizer is collapsed
1084 &.collapsed #customize-controls {
1085 width: 300px;
1086 }
1087 }
1088
1089
1090
1091
1092
1093 //------------------------------------*\
1094 // Media Uploader (Logo)
1095 //------------------------------------*/
1096
1097 .customize-control-media,
1098 .customize-control-site_icon,
1099 li#customize-control-site_logo {
1100 .current {
1101 margin-bottom: 10px;
1102 min-height: $fields_height;
1103 background: #F5FCFF;
1104 border: 2px solid $fields_border-color;
1105 border-radius: $fields_border-radius;
1106
1107 .container, span {
1108 border: none;
1109 }
1110 }
1111
1112
1113 .inner, .current span {
1114 font-size: 13px;
1115 color: #98C6DD;
1116 }
1117
1118 .inner {
1119 line-height: 1.4;
1120 }
1121
1122 .thumbnail-image {
1123 padding: 14px;
1124 text-align: center;
1125
1126 img {
1127 width: auto;
1128 }
1129 }
1130
1131 .actions {
1132 margin-bottom: 0;
1133 }
1134 }
1135
1136
1137
1138
1139
1140 //------------------------------------*\
1141 // TYPOGRAPHY
1142 //------------------------------------*/
1143
1144 .customize-control-typography, .customize-control-typography {
1145
1146 // Font, Weight and Subsets selectors
1147 select {
1148 margin-bottom: 10px;
1149 }
1150
1151 .description {
1152 margin-top: -3px;
1153 }
1154
1155 &:not(:first-child) .customize-control-title {
1156 // margin-top: 15px;
1157 }
1158
1159 ul li {
1160 width: 100%;
1161 margin: 0;
1162 // display: inline-table;
1163
1164 &:nth-child(2n+1) {
1165 // width: 45%;
1166 // margin-right: 5%;
1167 }
1168
1169 label {
1170 // width: 100%;
1171 // display: block;
1172
1173 // margin-top: 10px;
1174 // margin-bottom: 5px;
1175 }
1176
1177 select {
1178 // width: 100%;
1179 }
1180 }
1181
1182 .customify_typography_font_weight {
1183
1184 }
1185
1186 .customify_typography_font_subsets {
1187 // height: 28px;
1188 }
1189 }
1190
1191 .customize-control select[multiple]].customify_typography_font_subsets {
1192 // height: 48px;
1193 }
1194
1195
1196
1197
1198
1199 //------------------------------------*\
1200 // PRESETS
1201 //------------------------------------*/
1202
1203 .customize-control-title {
1204 // margin-bottom: 20px;
1205 }
1206
1207 .default-preset-button {
1208 background-color: #F5F6F6;
1209 float: right;
1210 padding: 1px 8px;
1211 border-radius: 3px;
1212 border: 1px solid #CBCBCB;
1213 margin-right: 4px;
1214 font-family: "Open Sans",sans-serif;
1215 font-size: 13px;
1216
1217 }
1218
1219 .customize-control-preset {
1220 .description {
1221 margin-right: 5px;
1222 font-style: normal;
1223 }
1224 }
1225
1226 .customify_preset {
1227 &.radio_buttons {
1228
1229 .customify_radio_button {
1230 border: none;
1231 display: inline-block;
1232 padding: 2px;
1233 margin: 3px;
1234 position: relative;
1235 overflow: hidden;
1236 height: auto;
1237
1238 input[type="radio"]="radio""] {
1239 opacity: 0;
1240 width: 100%;
1241 height: 100%;
1242 position: absolute;
1243 z-index: 9999;
1244
1245 &:checked{
1246
1247 &+label {
1248 background-color: #ebebeb;
1249 &:before {
1250 content: '>';
1251 color: inherit;
1252 }
1253 &:after {
1254 content: '<';
1255 color: inherit;
1256 }
1257 }
1258
1259 &:before {
1260 opacity: 0;
1261 }
1262 }
1263 }
1264
1265 label{
1266 position: relative;
1267 z-index: 999;
1268 border-left: 4px solid;
1269
1270 }
1271 }
1272
1273 }
1274
1275 .awesome_preset {
1276 width: 45%;
1277 // height: 122px;
1278 position: relative;
1279 display: inline-block;
1280 text-align: center;
1281 color: white;
1282
1283 margin-top: 5px;
1284 margin-bottom: 25px;
1285
1286 transition: all 0.2s;
1287
1288 &:hover {
1289 opacity: 0.9;
1290 }
1291
1292 &:before {
1293 content: '';
1294 position: absolute;
1295 top: 1px;
1296 left: 1px;
1297 right: 1px;
1298 bottom: 1px;
1299
1300 border: 1px solid #FFF;
1301 background: transparent;
1302 opacity: .5;
1303 border-radius: 4px;
1304 z-index: 5
1305 }
1306
1307 .preset-wrap {
1308 // height: 110px;
1309
1310 .preset-color {
1311 height: 128px;
1312 border-radius: 4px 4px 0 0;
1313 padding: 17px 0 27px;
1314
1315 .first-font {
1316 display: inline-block;
1317 width: 100%;
1318 font-size: 55px;
1319 line-height: 1;
1320 // padding-top: 23px;
1321 }
1322 .secondary-font {
1323 display: inline-block;
1324 width: 100%;
1325 font-size: 20px;
1326 line-height: 1;
1327 margin-top: 8px;
1328 }
1329 }
1330
1331 .preset-name {
1332 position: relative;
1333 font-size: 11px;
1334 text-transform: UPPERCASE;
1335 border-radius: 0 0 4px 4px;
1336 padding: 1px;
1337
1338 &:before {
1339 content: '';
1340 position: absolute;
1341 border-color: inherit;
1342 border: 10px solid;
1343 border-left-color: transparent;
1344 border-right-color: transparent;
1345 border-top: transparent;
1346 top: -10px;
1347 border-bottom-color: inherit;
1348 left: 40%;
1349
1350 }
1351 }
1352 }
1353
1354 &:nth-child(odd) {
1355 margin-right: 7%
1356 }
1357
1358 input[type=radio]=radio] {
1359 height: 100%;
1360 width: 100%;
1361 position: absolute;
1362 border: 0;
1363 box-shadow: none;
1364 color: #006505;
1365 background-color: transparent;
1366 border-radius: 0;
1367 margin: 0;
1368 display: inline-block;
1369 top:0;
1370 left:0;
1371 z-index:10;
1372
1373 &:checked {
1374
1375 &:before {
1376 position: absolute;
1377 height: 25px;
1378 width: 25px;
1379 top: -13px;
1380 right: -14px;
1381 background: #FFF;
1382 z-index: 1;
1383 }
1384
1385 &:after {
1386 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1387 filter: alpha(opacity=0);
1388 content: '';
1389 position: absolute;
1390 width: 26px;
1391 height: 26px;
1392 border-radius: 50%;
1393 top: -5px;
1394 right: -5px;
1395 z-index: 10;
1396
1397 background: #73C5EE url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEzcHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTMgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgLTQwOC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1DaGVja2JveC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNy4wMDAwMDAsIDI0OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkNoZWNrYm94IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMzAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuMDM4NDk1LDE2IEwxNy4xMTYxMzc1LDguOTIxNDg3NiBMMTUuMTk0NjQ5OCw3IEwxMC4wMzg0OTUsMTIuMTU1MDY3NCBMNi45MjE0ODc2LDkuMDM4OTI5OTcgTDUsMTAuOTYwNDE3NiBMMTAuMDM4NDk1LDE2IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
1398 background-position: center center;
1399 }
1400 }
1401 }
1402
1403 }
1404 }
1405
1406 .customify_radio_image {
1407 display: inline-block;
1408 label {
1409 display: block;
1410 float: left;
1411 margin-right: 10px;
1412 position: relative;
1413
1414 input[type=radio]=radio] {
1415 position: absolute;
1416 top:0;bottom: 0;
1417 left: 0;right: 0;
1418 width: 100%;
1419 height: 100%;
1420
1421 visibility: hidden;
1422
1423 img {
1424 cursor:pointer;
1425 border:2px solid transparent;
1426 }
1427
1428 &:checked + img{
1429 border: 3px solid #73C5EE;
1430 }
1431 }
1432 }
1433 }
1434
1435 .customify_ace_editor {
1436 display: block;
1437 min-height: 200px;
1438 border: 1px solid #ddd;
1439 }
1440
1441 .customize-control-custom_background {
1442 .hide {
1443 display: none;
1444 }
1445
1446 .upload_button_div {
1447 margin: 10px 0;
1448
1449 & > * {
1450 margin-right: 10px;
1451 }
1452 }
1453
1454 .preview_screenshot {
1455 text-align: center;
1456 margin: 10px 0;
1457 img {
1458 border: 2px solid #ccc;
1459 }
1460 }
1461 }
1462
1463 #customify_import_demo_data_button {
1464 width: 70%;
1465 text-align: center;
1466 padding: 10px;
1467 display: inline-block;
1468 height: auto;
1469 margin: 0 15% 10% 15%;
1470 }
1471
1472 .import_step_note {
1473 margin: 5px;
1474 width: 100%;
1475 display: inline-block;
1476
1477
1478 &:before {
1479 content: "\1F449";
1480 }
1481
1482 &.success:before {
1483 content: "\1F44D";
1484 }
1485
1486 &.failed:before {
1487 content: "\274C";
1488 }
1489 }
1490
1491 @import 'theme';
1492 @import 'balloon';
1493 @import 'feedback-modal';
1494
1495
1496
1497
1498
1499 //------------------------------------*\
1500 // FONT Field
1501 //------------------------------------*/
1502
1503 .font-options__wrapper {
1504
1505 .font-options__options-list {
1506 border-color: #B8DAEB;
1507 box-shadow: 0 10px 20px 0 rgba(0,0,0,0.15);
1508 }
1509
1510 .font-options__option {
1511 margin-bottom: 12px;
1512 label {
1513 display: block;
1514 margin-bottom: 6px;
1515 }
1516 }
1517
1518 [type=checkbox]=checkbox]:checked ~ .font-options__options-list {
1519 opacity: 1;
1520 display: block;
1521 }
1522 }
1523
1524 input.customify_font_tooltip {
1525 display: none;
1526 }
1527
1528 .font-options__option select,
1529 .font-options__option input,
1530 .select2-container {
1531 // width: 100% !important; // am pus important pentru ca exista un inline de 100px
1532 }
1533
1534 ul.font-options__options-list {
1535 .font-options__option {
1536
1537 }
1538
1539 .select2-container {
1540 width: 100% !important;
1541 .select2-selection--single {
1542 @extend %input;
1543 @extend %select;
1544 -webkit-appearance: initial;
1545
1546 .select2-selection__arrow {
1547 display: none;
1548 }
1549 }
1550 }
1551
1552 .select2-container--default
1553 .select2-selection--single
1554 .select2-selection__rendered {
1555 color: inherit;
1556 line-height: initial;
1557 }
1558
1559 }
1560
1561 //------------------------------------*\
1562 // SELECT2
1563 //------------------------------------*/
1564
1565
1566 .select2-container.select2-container--open {
1567 z-index: 99999999;
1568 }
1569
1570 #customize-theme-controls .select2-container {
1571 width: 100% !important;
1572
1573 .select2-selection--multiple {
1574 @extend %input;
1575 @extend %select;
1576 -webkit-appearance: initial;
1577
1578 padding: 4px 8px 4px;
1579 height: auto;
1580 background: none;
1581
1582 .select2-selection__arrow {
1583 display: none;
1584 }
1585
1586 .select2-selection__rendered {
1587 padding: 0;
1588 display: flex;
1589
1590 .select2-search--inline {
1591 flex: 1;
1592
1593 .select2-search__field[class]] {
1594 min-width: 100%;
1595 border-width: 0;
1596 margin-top: 3px !important;
1597 }
1598 }
1599
1600 .select2-selection__choice {
1601 padding: 3px 7px;
1602 margin-right: 6px;
1603 margin-top: 0px;
1604
1605 border-color: $borders;
1606 background-color: #f6fbff;
1607 }
1608 }
1609
1610 }
1611 .select2-search--inline {
1612
1613 .select2-search__field {
1614 height: 29px;
1615 min-width: 9em;
1616 margin-top: 0;
1617 }
1618 }
1619
1620 }
1621
1622 .select2-container--default .select2-results__option[aria-selected=true]=true][class]] {
1623 background: transparent;
1624 opacity: 0.3;
1625 pointer-events: none;
1626 }
1627
1628 .select2-container {
1629 .select2-dropdown {
1630 border-color: $borders;
1631 }
1632 }
1633
1634
1635
1636
1637
1638 //------------------------------------*\
1639 // Widgets Options Accordion System
1640 //------------------------------------*/
1641 .pixelgrade-widget-title {
1642
1643 }
1644
1645 #customize-theme-controls .widget-content {
1646 .accordion-container {
1647
1648 // Stick the container to the margins
1649 margin-left: -10px;
1650 margin-right: -10px;
1651
1652 margin-top: 20px;
1653 margin-bottom: 10px;
1654
1655 .accordion-section {
1656
1657 .accordion-section-content {
1658 position: relative;
1659 left: 0;
1660
1661 max-height: 0;
1662 padding-top: 0;
1663 padding-bottom: 0;
1664
1665 overflow: hidden;
1666 transition: all .4s ease;
1667
1668 color: $blue-dark;
1669
1670 p {
1671 &:first-child {
1672 margin-top: 0;
1673 }
1674
1675 &:last-child {
1676 margin-bottom: 0;
1677 }
1678 }
1679
1680 }
1681
1682 .accordion-section-title {
1683 color: #39474D;
1684
1685 &:after {
1686 content: "\f142"; // Change arrow style to be more consistent
1687 transform: rotate(180deg);
1688
1689 }
1690 }
1691
1692 &.closed {
1693 .accordion-section-content {
1694
1695 }
1696 }
1697
1698 &.open {
1699 border-bottom: none;
1700
1701 .accordion-section-content {
1702 max-height: 100%;
1703 padding-top: 17px; //default
1704 padding-bottom: 17px; //default
1705 }
1706
1707 .accordion-section-title {
1708 border-bottom: 1px solid;
1709
1710 &:after {
1711 transform: rotate(0deg);
1712 }
1713 }
1714 }
1715 }
1716
1717 label.customize-control-title {
1718 cursor: default;
1719 }
1720 }
1721 }
1722
1723 .widget {
1724 .widget-content {
1725 > p {
1726 input[type=checkbox]=checkbox],
1727 input[type=radio]=radio] {
1728 margin-bottom: 3px;
1729 margin-top: 3px;
1730 }
1731 }
1732
1733 small {
1734 margin-top: 5px;
1735 display: block;
1736 }
1737 }
1738 }
1739
1740
1741 // Widgets Icons
1742 #available-widgets {
1743 [class*=pixelgrade]*=pixelgrade],
1744 [class*=featured-posts]*=featured-posts],
1745 [class*=categories-image-grid]*=categories-image-grid] {
1746 .widget .widget-title:before {
1747 content: "\f538";
1748 color: #9660c6; // Branding Icons
1749 }
1750 }
1751
1752 // Slideshow
1753 [class*=pixelgrade-featured-posts-slideshow]*=pixelgrade-featured-posts-slideshow] .widget .widget-title:before {
1754 content: "\f233"; // images-alt2
1755 }
1756
1757 // Carousel
1758 [class*=pixelgrade-featured-posts-carousel]*=pixelgrade-featured-posts-carousel] .widget .widget-title:before {
1759 content: "\f169";
1760 }
1761
1762 // Grid Posts
1763 [class*=featured-posts-grid]*=featured-posts-grid] .widget .widget-title:before {
1764 content: "\f180";
1765 }
1766
1767 // List Posts
1768 [class*=featured-posts-list]*=featured-posts-list] .widget .widget-title:before {
1769 content: "\f164";
1770 }
1771
1772 // Categories Image
1773 [class*=categories-image-grid]*=categories-image-grid] .widget .widget-title:before {
1774 content: "\f163"; // list-view
1775 }
1776
1777 // Promo Box
1778 [class*=pixelgrade-promo-box]*=pixelgrade-promo-box] .widget .widget-title:before {
1779 content: "\f488"; // Megaphone
1780 }
1781
1782 }
1783
1784 .ui-tooltip {
1785 z-index: 999999;
1786 }
1787
1788
1789
1790
1791
1792
1793 //------------------------------------*\
1794 // Jetpack Widget Visibility
1795 //------------------------------------*/
1796
1797 .wp-customizer .widget-conditional {
1798 .condition-control { @include clearfix(); }
1799
1800 .selection {
1801 padding-right: 50px;
1802 padding-left: 28px;
1803 padding-bottom: 19px;
1804 margin-left: 0;
1805 margin-right: 0;
1806 margin-bottom: 10px;
1807 border-bottom: 1px solid $light;
1808 }
1809
1810 .condition:last-child .selection {
1811 border: 0;
1812 }
1813
1814 select {
1815 max-width: 100%;
1816 width: 170px;
1817 }
1818
1819 .condition-top select {
1820 width: 130px;
1821 }
1822 }
1823
1824
1825
1826 //------------------------------------*\
1827 // STYLE MANAGER
1828 //------------------------------------*/
1829
1830 // COLOR PALETTES SECTION //
1831
1832 $palette_box_shadow: inset 0 0 3px 0 rgba(0,0,0,0.2);
1833 $palette_box_shadow_stronger: inset 0 0 3px 0 rgba(0,0,0,0.4);
1834
1835 .pix_customizer_setting {
1836 .customize-inside-control-row {
1837 position: relative;
1838 width: 100% !important;
1839 margin-left: 0 !important;
1840 text-indent: 0 !important;
1841 background-size: cover;
1842 background-position: 50% 50%;
1843 height: 64px;
1844 border-radius: 5px;
1845 overflow: hidden;
1846
1847 &:before {
1848 content: '';
1849 position: absolute;
1850 top: 0;
1851 bottom: 0;
1852 left: 0;
1853 right: 0;
1854 z-index: 10;
1855 pointer-events: none;
1856
1857 box-shadow: $palette_box_shadow;
1858 }
1859
1860 // Color Palette Hover
1861 &:hover {
1862
1863 &:before {
1864 // Increase the inner shadow strongness
1865 box-shadow: $palette_box_shadow_stronger;
1866 }
1867
1868 .palette__item {
1869 transform: translateY(0%);
1870 }
1871
1872 label {
1873 left: 10px;
1874 }
1875 }
1876
1877 input {
1878 opacity: 0;
1879 }
1880
1881 input:checked + label {
1882 .preview__letter--checked {
1883 display: inline-block;
1884 vertical-align: middle;
1885 }
1886 .preview__letter {
1887 display: none;
1888 }
1889 }
1890
1891 label {
1892 position: absolute;
1893 display: flex;
1894 z-index: 2;
1895
1896 width: 100%;
1897 height: 100%;
1898 top: 0;
1899 left: 0;
1900
1901 padding: 0 10px;
1902 margin-top: 0 !important;
1903 align-items: center;
1904
1905 transition: all .3s ease;
1906 }
1907
1908 .palette {
1909 position: absolute;
1910 display: flex;
1911 top: 0;
1912 left: 0;
1913 z-index: 1;
1914 width: 100%;
1915 height: 100%;
1916
1917 transition: all .2s ease;
1918 }
1919
1920 // Colors Bars
1921 .palette__item {
1922 flex: 1;
1923 transform: translateY(100%);
1924
1925 transition: all .3s ease;
1926
1927 // Assume maximum 10 colors
1928 @for $i from 1 through 10 {
1929 &:nth-child(#{$i}) {
1930 transition-delay: 0s + $i/20 - 1/20;
1931 }
1932 }
1933 }
1934
1935 .preview__letter,
1936 .preview__letter--checked {
1937 display: inline-block;
1938 padding: 3px;
1939 border-radius: 2px;
1940 color: white;
1941 margin-right: 5px;
1942 min-height: 26px;
1943 min-width: 26px;
1944 text-align: center;
1945 background-position: center center;
1946 background-repeat: no-repeat;
1947 background-size: 15px 15px;
1948 font-style: normal;
1949 vertical-align: baseline;
1950 }
1951
1952 .preview__letter--checked {
1953 display: none;
1954 }
1955 }
1956 }
1957
1958 [id*="sm_current_color_palette_control"]*="sm_current_color_palette_control""] {
1959 .customize-inside-control-row .palette__item[class]] {
1960 transform: none;
1961 }
1962
1963 .variation-control {
1964 display: flex;
1965 }
1966
1967 .variation-control-item {
1968 &.active {
1969
1970 }
1971 }
1972 }
1973
1974 /// ------------------
1975
1976 $palette_height: 64px;
1977 $palette_border-radius: 5px;
1978
1979 .label__inner {
1980 color: #000000;
1981 background: #F5F6F1;
1982
1983 padding: 7px 12px 7px 7px;
1984 z-index: 2;
1985 border-radius: 3px;
1986 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
1987 }
1988
1989 .picker {
1990 position: relative;
1991 top: 0;
1992 left: 50%;
1993
1994 width: 80%;
1995 max-width: 3em;
1996 margin-top: auto;
1997 margin-bottom: auto;
1998
1999 border-radius: 50%;
2000 overflow: hidden;
2001 transform: translate3d(-50%,0,0);
2002 }
2003
2004 .colors .picker > i {
2005 display: block;
2006 position: absolute;
2007 top: 0;
2008 right: 0;
2009 bottom: 0;
2010 left: 0;
2011 box-shadow: $palette_box_shadow;
2012 border-radius: 50%;
2013 pointer-events: none;
2014 z-index: 20;
2015 }
2016
2017 .picker:before,
2018 .picker:after {
2019 content: "";
2020 display: block;
2021 background: currentColor;
2022 border-radius: 50%;
2023 }
2024
2025 .picker:before {
2026 padding-top: 100%;
2027 }
2028
2029 .picker:after {
2030 position: absolute;
2031 top: 0;
2032 left: 0;
2033 width: 100%;
2034 height: 100%;
2035 }
2036
2037 .fill {
2038 overflow: hidden;
2039 }
2040
2041 .color:first-child .fill {
2042 border-top-left-radius: $palette_border-radius;
2043 border-bottom-left-radius: $palette_border-radius;
2044 }
2045
2046 .color:last-child .fill {
2047 border-top-right-radius: $palette_border-radius;
2048 border-bottom-right-radius: $palette_border-radius;
2049 }
2050
2051 .label {
2052 margin-right: auto;
2053 }
2054
2055 #customize-theme-controls [id*="sm_current_color_palette_control"]*="sm_current_color_palette_control""] {
2056 display: block;
2057 width: auto;
2058
2059 .color-palette-container {
2060 background: white;
2061
2062 .description {
2063 margin-bottom: 15px;
2064 }
2065 }
2066
2067 .description.c-color-palette__notification {
2068 padding-top: 19px;
2069 margin-bottom: 0;
2070 font-size: inherit;
2071 font-weight: bold;
2072 }
2073 }
2074
2075 .c-color-palette__fields {
2076 position: relative;
2077 }
2078
2079 .c-color-palette .iris-picker {
2080 position: absolute;
2081 top: 100%;
2082 left: 0;
2083 z-index: 100;
2084
2085 margin-top: 1em;
2086 border: 0;
2087
2088 box-shadow: black 0 3px 12px -4px;
2089
2090 .iris-square-handle {
2091 border-color: transparent;
2092 left: -6px;
2093 top: -6px;
2094
2095 &:after {
2096 position: absolute;
2097 bottom: 0;
2098 right: 0;
2099 left: 0;
2100 top: 0;
2101 border: 2px solid white;
2102 }
2103 }
2104
2105 .iris-square-value {
2106 box-shadow: none !important;
2107 }
2108 }
2109
2110 .colors {
2111 position: relative;
2112 display: flex;
2113 flex-wrap: wrap;
2114 align-items: center;
2115 width: 100%;
2116 height: 3em;
2117 }
2118
2119 .color {
2120 display: flex;
2121 flex-direction: column;
2122
2123 flex: 1 1 0;
2124 overflow: hidden;
2125 transition: flex-grow .3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
2126
2127 &.hidden {
2128 display: flex;
2129 flex-grow: 0;
2130 transition: flex-grow .3s cubic-bezier(0.6, -1.00, 0.74, 0.05); // easeBackInMega
2131
2132 .picker {
2133 opacity: 0;
2134 transition: opacity .2s ease-out;
2135 }
2136 }
2137
2138 .picker {
2139 transition: opacity .3s ease-in-out, border-color .3s ease-in-out;
2140 cursor: pointer;
2141 }
2142
2143 &.inactive .picker {
2144 opacity: 0.2;
2145 }
2146
2147 &.inactive .picker:hover {
2148 opacity: 1;
2149 }
2150 }
2151
2152 input.c-color-palette__input[class]] {
2153 margin-top: 1em;
2154 }
2155
2156 #customize-control-sm_toggle_advanced_settings_control {
2157 margin-bottom: 0;
2158 opacity: 0;
2159
2160 button {
2161 width: 100%;
2162 }
2163 }
2164
2165 @keyframes bounceIn {
2166 0%, 20%, 40%, 60%, 80%, 100% {
2167 animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
2168 }
2169
2170 0% {
2171 opacity: 0;
2172 transform: scale3d(0.3, 0.3, 0.3);
2173 }
2174
2175 20% {
2176 transform: scale3d(1.1, 1.1, 1.1);
2177 }
2178
2179 40% {
2180 transform: scale3d(0.9, 0.9, 0.9);
2181 }
2182
2183 60% {
2184 opacity: 1;
2185 transform: scale3d(1.03, 1.03, 1.03);
2186 }
2187
2188 80% {
2189 transform: scale3d(0.97, 0.97, 0.97);
2190 }
2191
2192 100% {
2193 opacity: 1;
2194 transform: scale3d(1, 1, 1);
2195 }
2196 }
2197
2198 // SECTIONS AND PANELS WITH ICONS
2199 // ========================================
2200
2201 @mixin section_icon($icon) {
2202 h3.accordion-section-title:before {
2203 position: relative;
2204 float: right;
2205 content: $icon;
2206 color: #aed2e5;
2207 font-family: dashicons;
2208 padding: 1px;
2209 margin-right: 28px;
2210 font-size: 17px;
2211 -webkit-font-smoothing: antialiased;
2212 }
2213 }
2214
2215 #customize-theme-controls {
2216
2217 #sub-accordion-panel-style_manager_panel,
2218 #sub-accordion-panel-theme_options_panel {
2219 .customize-panel-description {
2220 display: block;
2221 }
2222 }
2223
2224 // Style Manager Section
2225 // ----------------------------------------
2226 li#accordion-panel-style_manager_panel {
2227 @include section_icon("\f155");
2228
2229 h3.accordion-section-title:before {
2230 font-size: 18px;
2231 color: #f8bc30; // Yellow color
2232 }
2233 }
2234
2235 // Style Manager → Colors / Fonts Panels
2236 li#accordion-section-sm_color_palettes_section {
2237 @include section_icon("\f100");
2238 h3.accordion-section-title {
2239 border-top: none;
2240 }
2241 }
2242
2243 li#accordion-section-sm_font_palettes_section {
2244 @include section_icon("\f122");
2245 }
2246
2247 li#accordion-section-sm_color_palettes_section,
2248 li#accordion-section-sm_font_palettes_section {
2249 h3.accordion-section-title {
2250
2251 &:before {
2252 padding: 3px;
2253 margin-right: 5px;
2254 margin-top: -2px;
2255 }
2256 }
2257 }
2258
2259
2260 // Theme Options Section
2261 // ----------------------------------------
2262 li#accordion-panel-theme_options_panel {
2263 @include section_icon("\f538");
2264
2265 h3.accordion-section-title {
2266 border-bottom: 1px solid #ddd;
2267 border-left: none;
2268 border-right: none;
2269 margin: 0 0 15px 0;
2270 }
2271 }
2272
2273 // Theme Options Spacing between Sections
2274 li[id$="[general]"]$="[general]""],
2275 li[id$="[footer_section]"]$="[footer_section]""] {
2276 border-bottom: 1px solid #ddd;
2277 border-left: none;
2278 border-right: none;
2279 margin: 0 0 15px 0;
2280 }
2281
2282 li[id$="[general]"]$="[general]""] {
2283 h3.accordion-section-title {
2284 border-top: none;
2285 }
2286 }
2287 }
2288
2289 .color .disc {
2290 display: block;
2291 overflow: hidden;
2292 position: absolute;
2293 top: 0;
2294 right: 0;
2295 bottom: 0;
2296 left: 0;
2297 z-index: 15;
2298 pointer-events: none;
2299 opacity: 0;
2300 transition: opacity .3s ease-in-out;
2301
2302 &:after {
2303 content: "";
2304 filter: blur(6px) saturate(.7) brightness(1.1);
2305
2306 display: block;
2307 width: 200%;
2308 height: 200%;
2309 padding-top: 100%;
2310
2311 position: absolute;
2312 top: -50%;
2313 left: -50%;
2314 transform: scale(1);
2315 background-image:
2316 linear-gradient(330deg, transparent 50%, #ff8100 0),
2317 linear-gradient(300deg, transparent 50%, #ff5800 0),
2318 linear-gradient(270deg, transparent 50%, #c92323 0),
2319 linear-gradient(240deg, transparent 50%, #cc42a2 0),
2320 linear-gradient(210deg, transparent 50%, #9f49ac 0),
2321 linear-gradient(180deg, transparent 50%, #306cd3 0),
2322 linear-gradient(150deg, transparent 50%, #179067 0),
2323 linear-gradient(120deg, transparent 50%, #0eb5d6 0),
2324 linear-gradient(90deg, transparent 50%, #50b517 0),
2325 linear-gradient(60deg, transparent 50%, #ede604 0),
2326 linear-gradient(30deg, transparent 50%, #fc0 0),
2327 linear-gradient(0deg, transparent 50%, #feac00 0);
2328 background-clip: content-box,content-box,content-box,content-box,content-box,content-box,padding-box,padding-box,padding-box,padding-box,padding-box,padding-box;
2329 }
2330 }
2331
2332 .color.altered .disc {
2333 opacity: 1;
2334 }
2335
2336 .customize-control-color .wp-picker-container .iris-picker {
2337
2338 .iris-palette-container {
2339 display: flex;
2340 width: 215px;
2341 }
2342
2343 .iris-palette {
2344 width: auto !important;
2345 height: auto !important;
2346 flex: 1 1 0;
2347 float: none;
2348
2349 &:after {
2350 content: "";
2351 display: block;
2352 padding-top: 100%;
2353 }
2354 }
2355 }
2356
2357 .c-color-palette {
2358 padding: 30px 20px 18px;
2359 }
2360
2361 [id="customize-control-sm_current_color_palette_control"]="customize-control-sm_current_color_palette_control""][id]] {
2362 margin-bottom: 0;
2363
2364 ~ .customize-control {
2365 background-color: #FFFFFF;
2366 margin-bottom: 0;
2367 padding: 24px 20px 0;
2368 }
2369 }
2370
2371 // hide the matrix control
2372 #customize-control-sm_dark_color_primary_slider_control,
2373 #customize-control-sm_dark_color_secondary_slider_control,
2374 #customize-control-sm_dark_color_tertiary_slider_control {
2375 display: none !important;
2376 }
2377
2378 .sm_color_matrix {
2379 display: flex;
2380 flex-wrap: wrap;
2381 margin-left: -15px;
2382
2383 > * {
2384 display: grid;
2385 grid-auto-rows: 2px;
2386 grid-auto-columns: 2px;
2387
2388 flex: 0 0 percentage(1/3);
2389 padding-top: 15px;
2390 padding-left: 15px;
2391
2392 > * {
2393 background-color: currentColor;
2394 border-radius: 50%;
2395 border: 1px solid #ccc;
2396 animation-duration: 0.75s;
2397 animation-name: bounceIn;
2398 }
2399
2400 > :nth-child(1) { grid-area: 16 / 12 / span 12 / span 12; }
2401 > :nth-child(2) { grid-area: 26 / 24 / span 4 / span 4; }
2402 > :nth-child(3) { grid-area: 13 / 24 / span 4 / span 4; }
2403 > :nth-child(4) { grid-area: 8 / 8 / span 8 / span 8; }
2404 > :nth-child(5) { grid-area: 32 / 8 / span 4 / span 4; }
2405 > :nth-child(6) { grid-area: 30 / 16 / span 8 / span 8; }
2406 > :nth-child(7) { grid-area: 4 / 20 / span 8 / span 8; }
2407 > :nth-child(8) { grid-area: 17 / 26 / span 8 / span 8; }
2408 > :nth-child(9) { grid-area: 22 / 2 / span 8 / span 8; }
2409 > :nth-child(10) { grid-area: 28 / 11 / span 2 / span 2; }
2410 > :nth-child(11) { grid-area: 9 / 31 / span 6 / span 6; }
2411 > :nth-child(11) { grid-area: 26 / 30 / span 9 / span 9; }
2412 > :nth-child(12) { grid-area: 17 / 7 / span 4 / span 4; }
2413 > :nth-child(13) { grid-area: 19 / 36 / span 6 / span 6; }
2414 > :nth-child(14) { grid-area: 12 / 18 / span 2 / span 2; }
2415 > :nth-child(n+15) { display: none; }
2416 }
2417 }
2418
2419
2420 .sm-tabs {
2421 display: flex;
2422 justify-content: space-between;
2423 padding: 0 16px;
2424 text-align: center;
2425
2426 border-bottom: 1px solid #DFE8EF;
2427
2428 &__item {
2429 padding: 12px 0;
2430 margin-bottom: -1px;
2431 // flex-grow: 1;
2432 flex-basis: 31%;
2433
2434 font-size: 14px;
2435 // font-weight: 500;
2436 color: $blue-dark;
2437 opacity: 0.7;
2438
2439 border-bottom: 3px solid transparent;
2440 cursor: pointer;
2441
2442 transition: all 0.2s ease;
2443
2444 &:not(&--active):hover {
2445 color: $blue-darker;
2446 border-bottom-color: #E2E4E7;
2447 opacity: 1;
2448 }
2449 }
2450
2451 &__item--active {
2452 color: $blue-darker;
2453 border-bottom-color: #57ABD5;
2454 opacity: 1;
2455 }
2456 }
2457
2458 [id="sub-accordion-section-sm_color_palettes_section"]="sub-accordion-section-sm_color_palettes_section""] {
2459 display: flex !important;
2460 flex-direction: column;
2461 padding: 12px 0 0 !important;
2462 overflow: hidden;
2463
2464 #customize-control-sm_color_palette_control {
2465 flex-shrink: 0;
2466 flex-grow: 1;
2467 overflow-y: scroll;
2468 margin-bottom: 0;
2469 padding-top: 12px;
2470 }
2471
2472 > * {
2473 flex-grow: 0;
2474 padding: 0 12px;
2475 }
2476
2477 [id="customize-control-sm_current_color_palette_control"]="customize-control-sm_current_color_palette_control""] ~ * {
2478
2479
2480 display: none !important;
2481 }
2482
2483 [id="customize-control-sm_palettes_description_control"]="customize-control-sm_palettes_description_control""],
2484 [id="customize-control-sm_filters_description_control"]="customize-control-sm_filters_description_control""],
2485 [id="customize-control-sm_customize_description_control"]="customize-control-sm_customize_description_control""] {
2486 span {
2487 margin: 0;
2488 }
2489 }
2490
2491 &.sm-view-palettes {
2492 [id="customize-control-sm_palettes_description_control"]="customize-control-sm_palettes_description_control""],
2493 [id="customize-control-sm_color_palette_control"]="customize-control-sm_color_palette_control""] {
2494 display: block !important;
2495 }
2496 }
2497
2498 &.sm-view-filters {
2499 [id="customize-control-sm_filters_description_control"]="customize-control-sm_filters_description_control""],
2500 [id="customize-control-sm_palette_filter_control"]="customize-control-sm_palette_filter_control""] {
2501 display: block !important;
2502 }
2503 }
2504
2505 &.sm-view-customize {
2506 [id="customize-control-sm_customize_description_control"]="customize-control-sm_customize_description_control""],
2507 [id="customize-control-sm_coloration_level_control"]="customize-control-sm_coloration_level_control""],
2508 [id="customize-control-sm_color_diversity_control"]="customize-control-sm_color_diversity_control""],
2509 [id="customize-control-sm_shuffle_colors_control"]="customize-control-sm_shuffle_colors_control""],
2510 [id="customize-control-sm_dark_mode_control"]="customize-control-sm_dark_mode_control""] {
2511 display: block !important;
2512 }
2513 }
2514
2515 [id="customize-control-sm_spacing_bottom_control"]="customize-control-sm_spacing_bottom_control""][id]] {
2516 display: block !important;
2517 min-height: 24px;
2518 flex-grow: 1;
2519 }
2520 }
2521
2522 [id="customize-control-sm_color_palette_control"]="customize-control-sm_color_palette_control""] {
2523 .customize-control-title,
2524 .customize-control-description {
2525 display: none;
2526 }
2527 }
2528
2529 // display each palette filter on its own row
2530 .customize-control-radio[class]][id="customize-control-sm_palette_filter_control"]="customize-control-sm_palette_filter_control""] > .customize-inside-control-row:not(:only-of-type) {
2531 display: block;
2532 width: auto;
2533 }
2534
2535 .color {
2536 &[class*="sm_color"]*="sm_color""][class*="_connected"]*="_connected""],
2537 &[class*="sm_dark"]*="sm_dark""][class*="_connected"]*="_connected""],
2538 &[class*="sm_light"]*="sm_light""][class*="_connected"]*="_connected""] {
2539 display: none;
2540 }
2541 }
2542
2543 .c-color-palette__colors {
2544 position: relative;
2545 }
2546
2547 .c-color-palette {
2548 canvas, svg {
2549 max-width: 100%;
2550 height: auto;
2551 }
2552 }
2553
2554 .c-color-palette__fields {
2555 position: absolute;
2556 top: 100%;
2557 left: 0;
2558 right: 0;
2559 z-index: 100;
2560 }
2561
2562 [id="sub-accordion-section-sm_color_palettes_section"]="sub-accordion-section-sm_color_palettes_section""] > .customize-section-description-container {
2563 margin-bottom: 0;
2564 border-bottom: 1px solid #DFE8EF;
2565 }