PluginProbe
Customify / 1.6.0
Customify v1.6.0
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 1.6.0, at scss/customizer.scss

1,937 lines 34.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 @charset "UTF-8";
2
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
25 $fields_height : 44px;
26 $fields_spacing : 24px;
27 $fields_border-radius : 4px;
28 $fields_border-color : #B8DAEB;
29
30 $background-hover : #f5fcff;
31
32
33
34
35
36 //------------------------------------*\
37 // RESETS
38 //------------------------------------*/
39 .wp-full-overlay-sidebar {
40 * {
41 box-sizing : border-box;
42 }
43 }
44
45 @mixin clearfix {
46 &:after {
47 content: " ";
48 display: table;
49 clear: both;
50 }
51 }
52
53 // Change sections overflow
54 .wp-full-overlay-sidebar-content .accordion-section-content {
55 overflow: visible;
56 }
57
58
59
60 .control-section:not(.control-section-themes) .customize-control {
61 padding: 0px;
62 width:100%;
63 min-height: initial;
64 }
65
66
67 // Header – Close + Save Controls
68 #customize-header-actions {
69 // border-bottom: 0;
70 #customize-save-button-wrapper {
71 margin-top: 7px;
72 }
73 }
74
75 // Footer
76 .wp-full-overlay-footer {
77 .devices {
78 button {
79 float: left;
80 border-radius: 0;
81 }
82 }
83 }
84
85 // Temporary Fix to Make "Close" button align with the "Back"
86 .customize-controls-close {
87 width: 48px;
88 height: 44px;
89 color: #7da9c3;
90 background: #ffffff;
91 border-top: none;
92 border-right-color: $borders;
93
94 &:focus, &:hover {
95 background: $background-hover;
96 }
97
98 // "X" Icon
99 &:before {
100 top: 0px;
101 }
102 }
103
104 // Remove Accordion Section Title Margin
105 #customize-controls .customize-info {
106 // margin-bottom: 0;
107 border-bottom-color: $borders;
108 }
109
110 .customize-panel-back, .customize-section-back {
111 height: 74px;
112 color: #7da9c3;
113 border-right-color: $borders;
114
115 &:hover, &:focus {
116 border-left-color: $background-hover;
117 background: $background-hover;
118 }
119 }
120
121
122 #customize-theme-controls {
123 .theme * {
124 box-sizing: content-box;
125 }
126
127 .accordion-section-content {
128 padding: $container-spacing;
129 }
130
131 .customize-section-title {
132 margin-top: -$container-spacing;
133 margin-right: -$container-spacing;
134 // margin-left: -$container-spacing;
135 }
136
137 .control-panel-content {
138 .control-section:nth-child(2),
139 .control-section:nth-child(3) {
140 border-top: none;
141 }
142
143 // Select the Second to Last Element
144 // https://css-tricks.com/useful-nth-child-recipies/
145 .control-section:nth-last-child(2) {
146 border-bottom: 1px solid $borders;
147 }
148 }
149
150 #accordion-section-add_menu {
151 // text-align: right;
152 // overflow: visible;
153 border-bottom: none;
154
155 .add-menu-toggle {
156 float: none;
157 }
158 }
159
160 .customize-pane-child.open {
161 height: 100%;
162 }
163 }
164
165 #customize-controls .description {
166 margin-bottom: 9px;
167
168 font-size: 12px;
169 font-weight: 300;
170 font-style: normal;
171 line-height: 1.6;
172 color: $descriptions;
173 text-indent: 0;
174 }
175
176 .customize-control-description {
177 margin-top: 6px;
178 }
179
180 .customize-control {
181 margin-bottom: $fields-spacing;
182 }
183
184 // Active Themes Section
185 #accordion-section-themes {
186 +.control-section {
187 border-top: none;
188 }
189 }
190
191 // Subsection Info Title
192 #customize-controls {
193 .panel-meta.customize-info {
194 .accordion-section-title {
195 border-top: none;
196 height: 74px;
197 }
198 }
199 }
200
201 .button-controls {
202 @include clearfix();
203 }
204
205
206
207
208
209 //------------------------------------*\
210 // GENERAL FIELDS
211 //------------------------------------*/
212
213
214
215 // GENERAL Buttons
216
217 .wp-core-ui {
218
219 // Primary & Secondary Buttons
220 .button:not(.theme-details):not(.collapse-sidebar):not(.wp-color-result),
221 .button-primary,
222 .button-secondary {
223 width: auto;
224 // padding: 6px 20px;
225 padding-left: 15px;
226 padding-right: 15px;
227
228 // font-size: 13px;
229 font-weight: 400;
230 color: #F5FCFF;
231 // line-height: 1.4;
232 text-shadow: none;
233 border: none;
234 background: #AED2E5;
235 box-shadow: 0px 2px 0px 0px #8DBED7;
236 border-radius: $fields_border-radius;
237
238 &:hover {
239 color: white;
240 text-shadow: none;
241 background: #98C6DD;
242 box-shadow: 0px 2px 0px 0px #74A7C2;
243 }
244 }
245
246 #customize-header-actions {
247 .button-primary {
248 background: #73C5EE;
249 box-shadow: 0px 2px 0px 0px #57ABD5;
250
251 &:hover {
252 background: #58B0DD;
253 box-shadow: 0px 2px 0px 0px #3F8AAF;
254 }
255
256 &.save {
257
258 }
259
260 &.has-next-sibling {
261 border-right: 1px solid #57ABD5;
262 }
263
264 &:disabled {
265 color: white !important;
266 background: #AED2E5 !important;
267 opacity: 0.7;
268 box-shadow: 0px 2px 0px 0px #8db5ca !important;
269
270 &.has-next-sibling {
271 border-right: none;
272 }
273 }
274 }
275 }
276
277
278 // Reset Buttons
279 .reset_section,
280 .reset_panel {
281 width: 100%;
282 height: 4em;
283 display: block;
284 margin: 0px 0 25px;
285 }
286
287 .reset_panel {
288 margin-top: 10px;
289 }
290 }
291
292
293
294 // Separators Titles
295
296 %fields-label {
297 display: block;
298 font-size: 14px;
299 line-height: 24px;
300 font-weight: 600;
301 // margin-bottom: 5px;
302 }
303
304 .customize-control-title {
305 color: $blue-dark;
306 }
307
308 %section-background {
309 content: "";
310
311 position: absolute;
312 top: 0;
313 bottom: 0;
314 left: -$container-spacing - 1;
315 right: -$container-spacing - 1;
316 z-index: -1;
317 }
318
319 .separator {
320 &.label {
321 @extend %fields-label;
322 @extend .customize-control-title;
323 //margin-bottom: -3px;
324 //margin-bottom: -$fields-spacing/2 - 3px;
325
326 font-weight: 500;
327 }
328
329 &.large {
330 margin-top: $fields-spacing/2;
331 font-size: 16px;
332 color: #39474D;
333 }
334
335 &.section {
336 position: relative;
337 padding: 14px 0;
338 margin-bottom: 0;
339 background: none;
340 border: none;
341
342 &[id*="layout"]*="layout""] {
343 margin-top: 0;
344
345 &:before {
346 border: none;
347 }
348 }
349
350 &:before {
351 @extend %section-background;
352
353 border: 1px solid $borders;
354 background-color: #ffffff;
355 box-shadow: 0px 1px 0px 0px #DFE8EF;
356 }
357 }
358
359 &.sub-section {
360 position: relative;
361 padding: 12px 0;
362
363 &:before {
364 @extend %section-background;
365
366 border-top: 1px solid $borders;
367 border-bottom: 1px solid $borders;
368 background-color: #f6fbff;
369 }
370
371 + span {
372 margin-top: 20px;
373 font-style: normal;
374 }
375 }
376 }
377
378 // h2.separator {
379 // margin-bottom: -20px;
380 // margin-top: 30px;
381 // }
382
383
384
385 // Section tabs
386
387 .section-navigation-wrapper {
388 position: relative;
389
390 height: 43px;
391 margin: -15px -12px 0 -12px;
392 margin-right: -$container-spacing;
393 margin-left: -$container-spacing;
394 }
395
396 .section-navigation {
397 display: flex;
398 margin-top: -1px;
399
400 clear: both;
401
402 border-top: 1px solid $borders;
403
404 a {
405 flex: 1 1 auto;
406 display: block;
407 padding: 12px 0;
408
409 color: #3b484e;
410 background-color: #ffffff;
411
412 border-bottom: 1px solid $borders;
413 border-right: 1px solid $borders;
414
415 text-align: center;
416 text-decoration: none;
417
418 transition: background-color .15s ease-in-out;
419
420 &:last-child {
421 border-right: 0;
422 }
423 }
424 }
425
426 #customize-controls .customize-info,
427 #customize-controls .customize-section-title {
428 &.is-sticky.is-sticky {
429 top: 40px;
430 }
431
432 &.is-in-view.is-in-view {
433 box-shadow: none;
434 }
435 }
436
437 #customize-controls .has-nav .customize-info,
438 #customize-controls .has-nav .customize-section-title {
439 margin-right: -12px;
440 }
441
442 #customize-controls .customize-section-title.customize-section-title {
443 border-bottom: 0;
444 }
445
446 .customize-section-description-container.section-meta.has-nav {
447 margin-bottom: 0;
448 }
449
450 // Extended typography field
451
452 .font-options__wrapper {
453 position: relative;
454
455 //&:hover .font-options__options-list {
456 // opacity: 1;
457 // pointer-events: auto;
458 //}
459
460 &:after {
461 content: "";
462 position: absolute;
463 top: 90%;
464 left: 0;
465 right: 0;
466 z-index: 0;
467
468 display: block;
469 height: 30px;
470 }
471 }
472 .font-options__head {
473 @extend %input;
474 @extend %select;
475
476 display: flex;
477 justify-content: space-between;
478
479 &.font-options__head {
480 -webkit-appearance: none;
481
482 text-overflow: ellipsis;
483 // overflow: hidden;
484 white-space: nowrap;
485 }
486 }
487 .font-options__font-title {
488 margin-right: 26px;
489 margin-left: 10px;
490
491 font-size: 12px;
492 line-height: 20px;
493 font-weight: 300;
494
495 color: #98c6dd;
496
497 text-overflow: ellipsis;
498 overflow: hidden;
499 white-space: nowrap;
500 }
501
502 .font-options__options-list {
503 position: absolute;
504 top: calc(100% + 6px);
505 left: -6px;
506 right: -6px;
507 z-index: 2;
508
509 display: block;
510 padding: 10px;
511
512 border: 1px solid #dfe8ef;
513 border-radius: 5px;
514
515 background-color: #ffffff;
516
517 opacity: 0;
518 display: none;
519 //pointer-events: none;
520 transition: opacity .15s linear;
521
522 &:last-child {
523 margin-bottom: 0;
524 }
525
526 &:before,
527 &:after {
528 content: "";
529
530 position: absolute;
531 top: -20px;
532 right: 25px;
533
534 height: 0;
535 width: 0;
536
537 border: solid transparent;
538
539 z-index: 10;
540 }
541
542 &:before {
543 border-bottom-color: white;
544 border-width: 10px;
545 z-index: 11;
546 }
547
548 &:after {
549 border-bottom-color: rgba(0, 0, 0, 0.075);
550 border-width: 12px;
551 top: -24px;
552 right: 23px;
553 }
554 }
555
556
557
558
559
560 //------------------------------------*\
561 // OBJECTS
562 //------------------------------------*/
563 %top-arrow {
564 &:after {
565 content: "";
566 position: absolute;
567 bottom:100%;
568 right: 12px;
569 border-collapse: separate;
570 width: 0;
571 height: 0;
572
573 border-width: 0 9px 9px 9px;;
574 border-style: solid;
575 border-color: transparent transparent #fff transparent;
576 }
577 }
578
579 %box-bg {
580 position : absolute;
581 top : 60px;
582 right : -6px;
583 z-index : 100000;
584 width : $popup !important;
585 padding : 12px;
586 display : none;
587 background : #fff;
588 border-radius : 3px;
589 @extend %top-arrow;
590
591 &.active {
592 display:block;
593 }
594
595 &:after {
596 right : 58px;
597 border-color : transparent transparent #fff transparent;
598 }
599 }
600
601 %icon-btn {
602 position : absolute;
603 top : -36px;
604 right : 45px;
605 display : block;
606 height : 30px;
607 width : 30px;
608 margin : 0;
609 padding : 0;
610 border : none;
611 background : #1d1e20;
612 color : #5f6369;
613 border-radius : (100px);
614 box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0px inset;
615 line-height : 30px;
616 text-align : center;
617 cursor : pointer;
618 outline : none;
619
620 &:before {
621 font-family: 'Elusive-Icons';
622 content: "\e669";
623 }
624
625 &:hover, &.active {
626 background : $lighter;
627 }
628
629 &.active {
630 box-shadow: rgba(0, 0, 0, 0.4) 0 1px 1px;
631 }
632 }
633
634
635
636 //------------------------------------*\
637 // $INPUT FIELDS
638 //------------------------------------*/
639
640 %input {
641 width: 100%;
642 height: $fields_height;
643 padding: 10px 14px;
644
645 background: #FFFFFF;
646 border: 2px solid $fields_border-color;
647 border-radius: 4px;
648
649 font-size: 14px;
650 line-height: 1.5;
651 color: $blue-dark;
652 outline: 0;
653
654 &:focus {
655 border-color: #73C5EE;
656 box-shadow: none;
657 // box-shadow: 0 0 0 2px #73C5EE;
658 }
659 }
660
661 %select {
662 width: 100%;
663 -webkit-appearance: button; // hide default arrow in WebKit/Blink
664 -moz-appearance: none; // hide default arrow in Gecko
665
666 font-weight: 600;
667
668 background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE1cHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTUgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU2LjAwMDAwMCwgLTM4Ni4wMDAwMDApIiBmaWxsPSIjOThDNkRFIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iVGl0bGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI2LjAwMDAwMCwgMjE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1TZWxlY3QtQ29weSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iU2VsZWN0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMjcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1NC40ODEyLDE4IEwyNTYsMTkuNTE0IEwyNDguNSwyNyBMMjQxLDE5LjUxNCBMMjQyLjUxODgsMTggTDI0OC41LDIzLjk2NzIgTDI1NC40ODEyLDE4IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
669 background-position: right 16px top 16px;
670
671 &[multiple]] {
672 background: white;
673 }
674 }
675
676 .wp-full-overlay-sidebar-content .customize-control {
677
678 input[type=text]=text]:not(#_customize-input-wpcom_custom_css_content_width_control):not(.wp-color-picker),
679 input[type=checkbox]=checkbox],
680 input[type=password]=password],
681 input[type=color]=color],
682 input[type=date]=date],
683 input[type=datetime]=datetime],
684 input[type=datetime-local]=datetime-local],
685 input[type=email]=email],
686 input[type=month]=month],
687 input[type=number]=number],
688 input[type=radio]=radio],
689 input[type=tel]=tel],
690 input[type=time]=time],
691 input[type=url]=url],
692 input[type=week]=week],
693 input[type=search]=search],
694 select,
695 textarea,
696 input[type="number"]="number""].range-value {
697 @extend %input;
698 }
699
700 input[type=text]=text],
701 textarea {
702 font-size: 13px;
703 }
704
705 input[type=text]=text] {
706
707 }
708
709 // Textarea
710 textarea {
711 height: auto;
712 }
713
714 // Checkbox
715 input[type=checkbox]=checkbox],
716 input[type=radio]=radio] {
717 width: $fields_height/2;
718 height: $fields_height/2;
719
720 &:checked {
721 background: #73C5EE;
722 border-color: #5AB9E8;
723
724 &:before {
725 color: white;
726 margin: -1px 0 0 -2px;
727 }
728 }
729 }
730
731 .awesome_preset input[type=radio]=radio]:checked {
732 background: transparent;
733 }
734
735 &.customize-control-checkbox:not(#customize-control-jetpack_css_mode_control),
736 &.customize-control-radio {
737
738 // Split into two columns only when
739 // there is more than one label
740 label:not(:only-of-type),
741 // WordPress 4.9 Class
742 > .customize-inside-control-row:not(:only-of-type) {
743 margin-left: 30px;
744 padding-top: 0;
745 padding-bottom: 0;
746 display: inline-block;
747
748 width: calc(49% - 30px);
749
750 text-indent: -6px;
751
752 }
753
754 label {
755 color: $blue-dark;
756
757 }
758
759 // Except the dividers titles
760 [id*="divider"]*="divider""] + & {
761 margin-top: 0;
762 }
763 }
764
765 // Radios
766 input[type=radio]=radio] {
767 border-radius: 50%;
768
769 &:checked:before {
770 content: none;
771 }
772 }
773
774 &.customize-control-checkbox {
775 // Select HTML Labels followed by a Checkbox field
776 .customize-control-html + & {
777 margin-top: -24px;
778 }
779 }
780
781 &.customize-control-radio {
782 label,
783 // WordPress 4.9 Class
784 .customize-inside-control-row {
785 margin-top: $fields-spacing/2;
786
787 }
788
789 // New WP 4.9 Changesets options
790 &#customize-control-changeset_status .customize-inside-control-row {
791 margin-top: 0;
792 text-indent: 0;
793 }
794 }
795
796 // Select
797 select {
798 @extend %select;
799 }
800
801
802 // Range Field
803 input[type="range"]="range""] {
804 width: 65%;
805 }
806
807 $input-size: calc(100% - 55px);
808 $input-height: 6px;
809 $thumb-height: 22px;
810
811 input[type="range"]="range""] {
812 position: relative;
813 -webkit-appearance: none;
814 width: $input-size;
815 height: $thumb-height;
816 overflow: hidden;
817 outline: none;
818 background: none;
819
820 &:before {
821 content: " ";
822 position: absolute;
823 top: 8px;
824 left: 0;
825 height: $input-height;
826 width: 100%;
827 background: #DFE8EF;
828 box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.30);
829 border-radius: 10px;
830 }
831
832 &::-webkit-slider-thumb {
833 -webkit-appearance: none;
834 width: $thumb-height;
835 height: $thumb-height;
836 background: #27ae60;
837 position: relative;
838 z-index: 3;
839
840 background: #FFFFFF;
841 border: 2px solid #B8DAEB;
842 border-radius: 4px;
843
844 &:before {
845 content: "..";
846 position: absolute;
847 left: 5px;
848 top: -5px;
849 color: #B8DAEB;
850 font-size: 1em;
851 letter-spacing: 1px;
852 }
853
854 &:after {
855 content: " ";
856 width: $input-size;
857 height: $input-height;
858 position: absolute;
859 z-index: 1;
860 right: $thumb-height - 2px;
861 top: $input-height;
862 background: #73C5EE;
863 }
864 }
865 }
866
867
868 input[type="number"]="number""].range-value {
869 min-width: 40px;
870 max-width: 80px;
871 width: auto;
872 height: 30px;
873 top: -5px;
874 float: right;
875 padding: 4px 0px 5px 0px;
876 margin-left: 10px;
877 font-size: 13px;
878 line-height: 1;
879 text-align: center;
880 }
881
882 input[type=number]=number]::-webkit-inner-spin-button,
883 input[type=number]=number]::-webkit-outer-spin-button {
884 -webkit-appearance: none;
885 margin: 0;
886 }
887 }
888
889
890
891
892
893 //------------------------------------*\
894 // Color Picker
895 //------------------------------------*/
896
897 .customize-control-color {
898 display: block;
899
900 .customize-control-title {
901 float:left;
902 }
903 .customize-control-content {
904
905 }
906
907 .wp-picker-container {
908 position : relative;
909 float : right;
910 top : -3px;
911
912
913 .wp-picker-holder {
914 position: relative;
915 }
916
917 .wp-color-result,
918 .wp-color-result.button {
919 top : 0;
920 height : 30px;
921 width : 40px;
922 margin : 0;
923 padding : 0;
924
925 border-radius: $fields_border-radius;
926 background: #2ECC71;
927 border: 2px solid #B8DAEB;
928 box-shadow: none;
929
930 &:after,
931 .wp-color-result-text {
932 display:none;
933 }
934 }
935
936 .iris-picker {
937 position : absolute;
938 top : 40px;
939 right : 0;
940 z-index : 1000;
941 width : $popup !important;
942 border-top : none;
943 border-color: #DFDFDE;
944 border-radius: 0 0 3px 3px;
945 border : none;
946 background : white;
947
948 &, * {
949 box-sizing: content-box;
950 }
951
952 .iris-picker-inner {
953
954 }
955 .iris-square {
956 width : 215px !important;
957 height : 173px !important;
958 margin-right : 0;
959 }
960 .iris-strip {
961 float : right;
962 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
963 .ui-slider-handle {
964 border-color : #aaa !important;
965 opacity : 1;
966 box-shadow: none;
967 }
968 }
969 .iris-palette {
970 width : 24px !important;
971 height : 24px !important;
972 border-radius: 50px;
973 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
974 }
975 }
976
977 .wp-picker-open+.wp-picker-input-wrap {
978 position : absolute;
979 z-index : 1000;
980 top : 35px;
981 right : 0;
982 width : $popup;
983 padding : 9px 12px;
984 background : white;
985 border : none;
986 border-radius: 3px 3px 0 0;
987 @extend %top-arrow;
988
989 input {
990
991 &.wp-color-picker {
992 float:left;
993 width: 100px;
994 font-size: 13px;
995 text-align: left;
996 margin: 0;
997 padding: 6px 12px;
998 height: auto;
999 }
1000
1001 &.button {
1002 float:right;
1003 padding: 4px 12px;
1004 height: 30px;
1005 }
1006 }
1007 }
1008 }
1009 }
1010
1011
1012
1013
1014 //------------------------------------*\
1015 // Font Selector
1016 //------------------------------------*/
1017
1018 .customize-control-font {
1019
1020 // Add extra bottom spacing to better view the modal
1021 &:last-child {
1022 margin-bottom: 150px;
1023 }
1024 }
1025
1026
1027
1028 //------------------------------------*\
1029 // CSS Editor Customizer
1030 //------------------------------------*/
1031
1032 // Panel
1033 #accordion-panel-live_css_edit_panel {
1034
1035 }
1036
1037 // Section
1038 #accordion-section-live_css_edit_section {
1039
1040 // Add the default border to title
1041 .customize-section-title {
1042 margin-top: -13px;
1043 border-bottom: 1px solid #ddd;
1044 }
1045 // Ace Editor
1046 #css_editor {
1047 top: 70px;
1048 border-top: 10px solid white;
1049 overflow: visible;
1050
1051 &:before {
1052 content: "";
1053 width: 48px;
1054 height: 10px;
1055 display: block;
1056 background: #e8e8e8;
1057 top: -10px;
1058 position: absolute;
1059 z-index: 10000000;
1060 left: 0;
1061 }
1062 }
1063
1064 // Add Some Extra Spacing Around the Editor Content
1065 .ace_scroller {
1066 padding-left: 10px;
1067 }
1068 }
1069
1070 // Increase the Customizer width when Editor is opened
1071 .wp-full-overlay.editor_opened {
1072
1073 margin-left: 500px;
1074
1075 #customize-controls {
1076 width: 500px;
1077 }
1078
1079 // Go back when the Customizer is collapsed
1080 &.collapsed #customize-controls {
1081 width: 300px;
1082 }
1083 }
1084
1085
1086
1087
1088
1089 //------------------------------------*\
1090 // Media Uploader (Logo)
1091 //------------------------------------*/
1092
1093 .customize-control-media,
1094 .customize-control-site_icon,
1095 li#customize-control-site_logo {
1096 .current {
1097 margin-bottom: 10px;
1098 min-height: $fields_height;
1099 background: #F5FCFF;
1100 border: 2px solid $fields_border-color;
1101 border-radius: $fields_border-radius;
1102
1103 .container, span {
1104 border: none;
1105 }
1106 }
1107
1108
1109 .inner, .current span {
1110 font-size: 13px;
1111 color: #98C6DD;
1112 }
1113
1114 .inner {
1115 line-height: 1.4;
1116 }
1117
1118 .thumbnail-image {
1119 padding: 14px;
1120 text-align: center;
1121
1122 img {
1123 width: auto;
1124 }
1125 }
1126
1127 .actions {
1128 margin-bottom: 0;
1129 }
1130 }
1131
1132
1133
1134
1135
1136 //------------------------------------*\
1137 // TYPOGRAPHY
1138 //------------------------------------*/
1139
1140 .customize-control-typography, .customize-control-typography {
1141
1142 // Font, Weight and Subsets selectors
1143 select {
1144 margin-bottom: 10px;
1145 }
1146
1147 .description {
1148 margin-top: -3px;
1149 }
1150
1151 &:not(:first-child) .customize-control-title {
1152 // margin-top: 15px;
1153 }
1154
1155 ul li {
1156 width: 100%;
1157 margin: 0;
1158 // display: inline-table;
1159
1160 &:nth-child(2n+1) {
1161 // width: 45%;
1162 // margin-right: 5%;
1163 }
1164
1165 label {
1166 // width: 100%;
1167 // display: block;
1168
1169 // margin-top: 10px;
1170 // margin-bottom: 5px;
1171 }
1172
1173 select {
1174 // width: 100%;
1175 }
1176 }
1177
1178 .customify_typography_font_weight {
1179
1180 }
1181
1182 .customify_typography_font_subsets {
1183 // height: 28px;
1184 }
1185 }
1186
1187 .customize-control select[multiple]].customify_typography_font_subsets {
1188 // height: 48px;
1189 }
1190
1191
1192
1193
1194
1195 //------------------------------------*\
1196 // PRESETS
1197 //------------------------------------*/
1198
1199 .customize-control-title {
1200 // margin-bottom: 20px;
1201 }
1202
1203 .default-preset-button {
1204 background-color: #F5F6F6;
1205 float: right;
1206 padding: 1px 8px;
1207 border-radius: 3px;
1208 border: 1px solid #CBCBCB;
1209 margin-right: 4px;
1210 font-family: "Open Sans",sans-serif;
1211 font-size: 13px;
1212
1213 }
1214
1215 .customize-control-preset {
1216 .description {
1217 margin-right: 5px;
1218 font-style: normal;
1219 }
1220 }
1221
1222 .customify_preset {
1223 &.radio_buttons {
1224
1225 .customify_radio_button {
1226 border: none;
1227 display: inline-block;
1228 padding: 2px;
1229 margin: 3px;
1230 position: relative;
1231 overflow: hidden;
1232 height: auto;
1233
1234 input[type="radio"]="radio""] {
1235 opacity: 0;
1236 width: 100%;
1237 height: 100%;
1238 position: absolute;
1239 z-index: 9999;
1240
1241 &:checked{
1242
1243 &+label {
1244 background-color: #ebebeb;
1245 &:before {
1246 content: '>';
1247 color: inherit;
1248 }
1249 &:after {
1250 content: '<';
1251 color: inherit;
1252 }
1253 }
1254
1255 &:before {
1256 opacity: 0;
1257 }
1258 }
1259 }
1260
1261 label{
1262 position: relative;
1263 z-index: 999;
1264 border-left: 4px solid;
1265
1266 }
1267 }
1268
1269 }
1270
1271 .awesome_preset {
1272 width: 45%;
1273 // height: 122px;
1274 position: relative;
1275 display: inline-block;
1276 text-align: center;
1277 color: white;
1278
1279 margin-top: 5px;
1280 margin-bottom: 25px;
1281
1282 transition: all 0.2s;
1283
1284 &:hover {
1285 opacity: 0.9;
1286 }
1287
1288 &:before {
1289 content: '';
1290 position: absolute;
1291 top: 1px;
1292 left: 1px;
1293 right: 1px;
1294 bottom: 1px;
1295
1296 border: 1px solid #FFF;
1297 background: transparent;
1298 opacity: .5;
1299 border-radius: 4px;
1300 z-index: 5
1301 }
1302
1303 .preset-wrap {
1304 // height: 110px;
1305
1306 .preset-color {
1307 height: 128px;
1308 border-radius: 4px 4px 0 0;
1309 padding: 17px 0 27px;
1310
1311 .first-font {
1312 display: inline-block;
1313 width: 100%;
1314 font-size: 55px;
1315 line-height: 1;
1316 // padding-top: 23px;
1317 }
1318 .secondary-font {
1319 display: inline-block;
1320 width: 100%;
1321 font-size: 20px;
1322 line-height: 1;
1323 margin-top: 8px;
1324 }
1325 }
1326
1327 .preset-name {
1328 position: relative;
1329 font-size: 11px;
1330 text-transform: UPPERCASE;
1331 border-radius: 0 0 4px 4px;
1332 padding: 1px;
1333
1334 &:before {
1335 content: '';
1336 position: absolute;
1337 border-color: inherit;
1338 border: 10px solid;
1339 border-left-color: transparent;
1340 border-right-color: transparent;
1341 border-top: transparent;
1342 top: -10px;
1343 border-bottom-color: inherit;
1344 left: 40%;
1345
1346 }
1347 }
1348 }
1349
1350 &:nth-child(odd) {
1351 margin-right: 7%
1352 }
1353
1354 input[type=radio]=radio] {
1355 height: 100%;
1356 width: 100%;
1357 position: absolute;
1358 border: 0;
1359 box-shadow: none;
1360 color: #006505;
1361 background-color: transparent;
1362 border-radius: 0;
1363 margin: 0;
1364 display: inline-block;
1365 top:0;
1366 left:0;
1367 z-index:10;
1368
1369 &:checked {
1370
1371 &:before {
1372 position: absolute;
1373 height: 25px;
1374 width: 25px;
1375 top: -13px;
1376 right: -14px;
1377 background: #FFF;
1378 z-index: 1;
1379 }
1380
1381 &:after {
1382 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1383 filter: alpha(opacity=0);
1384 content: '';
1385 position: absolute;
1386 width: 26px;
1387 height: 26px;
1388 border-radius: 50%;
1389 top: -5px;
1390 right: -5px;
1391 z-index: 10;
1392
1393 background: #73C5EE url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEzcHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTMgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgLTQwOC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1DaGVja2JveC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNy4wMDAwMDAsIDI0OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkNoZWNrYm94IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMzAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuMDM4NDk1LDE2IEwxNy4xMTYxMzc1LDguOTIxNDg3NiBMMTUuMTk0NjQ5OCw3IEwxMC4wMzg0OTUsMTIuMTU1MDY3NCBMNi45MjE0ODc2LDkuMDM4OTI5OTcgTDUsMTAuOTYwNDE3NiBMMTAuMDM4NDk1LDE2IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
1394 background-position: center center;
1395 }
1396 }
1397 }
1398
1399 }
1400 }
1401
1402 .customify_radio_image {
1403 display: inline-block;
1404 label {
1405 display: block;
1406 float: left;
1407 margin-right: 10px;
1408 position: relative;
1409
1410 input[type=radio]=radio] {
1411 position: absolute;
1412 top:0;bottom: 0;
1413 left: 0;right: 0;
1414 width: 100%;
1415 height: 100%;
1416
1417 visibility: hidden;
1418
1419 img {
1420 cursor:pointer;
1421 border:2px solid transparent;
1422 }
1423
1424 &:checked + img{
1425 border: 3px solid #73C5EE;
1426 }
1427 }
1428 }
1429 }
1430
1431 .customify_ace_editor {
1432 display: block;
1433 min-height: 200px;
1434 border: 1px solid #ddd;
1435 }
1436
1437 .customize-control-custom_background {
1438 .hide {
1439 display: none;
1440 }
1441
1442 .upload_button_div {
1443 margin: 10px 0;
1444
1445 & > * {
1446 margin-right: 10px;
1447 }
1448 }
1449
1450 .preview_screenshot {
1451 text-align: center;
1452 margin: 10px 0;
1453 img {
1454 border: 2px solid #ccc;
1455 }
1456 }
1457 }
1458
1459 #customify_import_demo_data_button {
1460 width: 70%;
1461 text-align: center;
1462 padding: 10px;
1463 display: inline-block;
1464 height: auto;
1465 margin: 0 15% 10% 15%;
1466 }
1467
1468 .import_step_note {
1469 margin: 5px;
1470 width: 100%;
1471 display: inline-block;
1472
1473
1474 &:before {
1475 content: "\1F449";
1476 }
1477
1478 &.success:before {
1479 content: "\1F44D";
1480 }
1481
1482 &.failed:before {
1483 content: "\274C";
1484 }
1485 }
1486
1487 @import 'theme';
1488 @import 'balloon';
1489
1490
1491
1492
1493
1494 //------------------------------------*\
1495 // FONT Field
1496 //------------------------------------*/
1497
1498 .font-options__wrapper {
1499
1500 .font-options__options-list {
1501 border-color: #B8DAEB;
1502 box-shadow: 0 10px 20px 0 rgba(0,0,0,0.15);
1503 }
1504
1505 .font-options__option {
1506 margin-bottom: 12px;
1507 label {
1508 display: block;
1509 margin-bottom: 6px;
1510 }
1511 }
1512
1513 [type=checkbox]=checkbox]:checked ~ .font-options__options-list {
1514 opacity: 1;
1515 display: block;
1516 }
1517 }
1518
1519 input.customify_font_tooltip {
1520 display: none;
1521 }
1522
1523 .font-options__option select,
1524 .font-options__option input,
1525 .select2-container {
1526 // width: 100% !important; // am pus important pentru ca exista un inline de 100px
1527 }
1528
1529 ul.font-options__options-list {
1530 .font-options__option {
1531
1532 }
1533
1534 .select2-container {
1535 width: 100% !important;
1536 .select2-selection--single {
1537 @extend %input;
1538 @extend %select;
1539 -webkit-appearance: initial;
1540
1541 .select2-selection__arrow {
1542 display: none;
1543 }
1544 }
1545 }
1546
1547 .select2-container--default
1548 .select2-selection--single
1549 .select2-selection__rendered {
1550 color: inherit;
1551 line-height: initial;
1552 }
1553
1554 }
1555
1556 //------------------------------------*\
1557 // SELECT2
1558 //------------------------------------*/
1559
1560
1561 .select2-container.select2-container--open {
1562 z-index: 99999999;
1563 }
1564
1565 #customize-theme-controls .select2-container {
1566 width: 100% !important;
1567
1568 .select2-selection--multiple {
1569 @extend %input;
1570 @extend %select;
1571 -webkit-appearance: initial;
1572
1573 padding: 4px 8px 4px;
1574 height: auto;
1575 background: none;
1576
1577 .select2-selection__arrow {
1578 display: none;
1579 }
1580
1581 .select2-selection__rendered {
1582 padding: 0;
1583 display: flex;
1584
1585 .select2-search--inline {
1586 flex: 1;
1587
1588 .select2-search__field[class]] {
1589 min-width: 100%;
1590 border-width: 0;
1591 margin-top: 3px !important;
1592 }
1593 }
1594
1595 .select2-selection__choice {
1596 padding: 3px 7px;
1597 margin-right: 6px;
1598 margin-top: 0px;
1599
1600 border-color: $borders;
1601 background-color: #f6fbff;
1602 }
1603 }
1604
1605 }
1606 .select2-search--inline {
1607
1608 .select2-search__field {
1609 height: 29px;
1610 min-width: 9em;
1611 margin-top: 0;
1612 }
1613 }
1614
1615 }
1616
1617 .select2-container--default .select2-results__option[aria-selected=true]=true][class]] {
1618 background: transparent;
1619 opacity: 0.3;
1620 pointer-events: none;
1621 }
1622
1623 .select2-container {
1624 .select2-dropdown {
1625 border-color: $borders;
1626 }
1627 }
1628
1629
1630
1631
1632
1633 //------------------------------------*\
1634 // Widgets Options Accordion System
1635 //------------------------------------*/
1636 .pixelgrade-widget-title {
1637
1638 }
1639
1640 #customize-theme-controls .widget-content {
1641 .accordion-container {
1642
1643 // Stick the container to the margins
1644 margin-left: -10px;
1645 margin-right: -10px;
1646
1647 margin-top: 20px;
1648 margin-bottom: 10px;
1649
1650 .accordion-section {
1651
1652 .accordion-section-content {
1653 position: relative;
1654 left: 0;
1655
1656 max-height: 0;
1657 padding-top: 0;
1658 padding-bottom: 0;
1659
1660 overflow: hidden;
1661 transition: all .4s ease;
1662
1663 color: $blue-dark;
1664
1665 p {
1666 &:first-child {
1667 margin-top: 0;
1668 }
1669
1670 &:last-child {
1671 margin-bottom: 0;
1672 }
1673 }
1674
1675 }
1676
1677 .accordion-section-title {
1678 color: #39474D;
1679
1680 &:after {
1681 content: "\f142"; // Change arrow style to be more consistent
1682 transform: rotate(180deg);
1683
1684 }
1685 }
1686
1687 &.closed {
1688 .accordion-section-content {
1689
1690 }
1691 }
1692
1693 &.open {
1694 border-bottom: none;
1695
1696 .accordion-section-content {
1697 max-height: 100%;
1698 padding-top: 17px; //default
1699 padding-bottom: 17px; //default
1700 }
1701
1702 .accordion-section-title {
1703 border-bottom: 1px solid;
1704
1705 &:after {
1706 transform: rotate(0deg);
1707 }
1708 }
1709 }
1710 }
1711
1712 label.customize-control-title {
1713 cursor: default;
1714 }
1715 }
1716 }
1717
1718 .widget {
1719 .widget-content {
1720 > p {
1721 input[type=checkbox]=checkbox],
1722 input[type=radio]=radio] {
1723 margin-bottom: 3px;
1724 margin-top: 3px;
1725 }
1726 }
1727
1728 small {
1729 margin-top: 5px;
1730 display: block;
1731 }
1732 }
1733 }
1734
1735
1736 // Widgets Icons
1737 #available-widgets {
1738 [class*=pixelgrade]*=pixelgrade],
1739 [class*=featured-posts]*=featured-posts],
1740 [class*=categories-image-grid]*=categories-image-grid] {
1741 .widget .widget-title:before {
1742 content: "\f538";
1743 color: #9660c6; // Branding Icons
1744 }
1745 }
1746
1747 // Slideshow
1748 [class*=pixelgrade-featured-posts-slideshow]*=pixelgrade-featured-posts-slideshow] .widget .widget-title:before {
1749 content: "\f233"; // images-alt2
1750 }
1751
1752 // Carousel
1753 [class*=pixelgrade-featured-posts-carousel]*=pixelgrade-featured-posts-carousel] .widget .widget-title:before {
1754 content: "\f169";
1755 }
1756
1757 // Grid Posts
1758 [class*=featured-posts-grid]*=featured-posts-grid] .widget .widget-title:before {
1759 content: "\f180";
1760 }
1761
1762 // List Posts
1763 [class*=featured-posts-list]*=featured-posts-list] .widget .widget-title:before {
1764 content: "\f164";
1765 }
1766
1767 // Categories Image
1768 [class*=categories-image-grid]*=categories-image-grid] .widget .widget-title:before {
1769 content: "\f163"; // list-view
1770 }
1771
1772 // Promo Box
1773 [class*=pixelgrade-promo-box]*=pixelgrade-promo-box] .widget .widget-title:before {
1774 content: "\f488"; // Megaphone
1775 }
1776
1777 }
1778
1779
1780
1781
1782
1783
1784 //------------------------------------*\
1785 // Jetpack Widget Visibility
1786 //------------------------------------*/
1787
1788 .wp-customizer .widget-conditional {
1789 .condition-control { @include clearfix(); }
1790
1791 .selection {
1792 padding-right: 50px;
1793 padding-left: 28px;
1794 padding-bottom: 19px;
1795 margin-left: 0;
1796 margin-right: 0;
1797 margin-bottom: 10px;
1798 border-bottom: 1px solid $light;
1799 }
1800
1801 .condition:last-child .selection {
1802 border: 0;
1803 }
1804
1805 select {
1806 max-width: 100%;
1807 width: 170px;
1808 }
1809
1810 .condition-top select {
1811 width: 130px;
1812 }
1813 }
1814
1815
1816
1817 //------------------------------------*\
1818 // STYLE MANAGER
1819 //------------------------------------*/
1820
1821 .pix_customizer_setting {
1822 .customize-inside-control-row {
1823 position: relative;
1824 width: 100% !important;
1825 margin-left: 0 !important;
1826 text-indent: 0 !important;
1827 background-size: cover;
1828 background-position: 50% 50%;
1829 height: 64px;
1830 border-radius: 5px;
1831 overflow: hidden;
1832
1833 &:before {
1834 content: '';
1835 position: absolute;
1836 top: 0;
1837 bottom: 0;
1838 left: 0;
1839 right: 0;
1840 z-index: 10;
1841 pointer-events: none;
1842
1843 box-shadow: inset 0 0 3px 0 rgba(0,0,0,0.15), inset 0 1px 3px 0 rgba(0,0,0,0.15);
1844 }
1845
1846 // Color Palette Hover
1847 &:hover {
1848
1849 &:before {
1850 // Increase the inner shadow strongness
1851 box-shadow: inset 0 2px 3px 0 rgba(0,0,0,0.15), inset 0 0 3px 0 rgba(0,0,0,0.15);
1852 }
1853
1854 .palette {
1855
1856 }
1857
1858 .palette__item {
1859 transform: translateY(0%);
1860 }
1861
1862 label {
1863 left: 10px;
1864 }
1865 }
1866
1867 input {
1868 opacity: 0;
1869 }
1870
1871 label {
1872 position: absolute;
1873 display: flex;
1874 z-index: 2;
1875
1876 width: 100%;
1877 height: 100%;
1878 top: 0;
1879 left: 0;
1880
1881 padding: 0 10px;
1882 margin-top: 0 !important;
1883 align-items: center;
1884
1885 transition: all .3s ease;
1886 }
1887
1888 .label__inner {
1889 padding: 7px 12px 7px 7px;
1890 z-index: 2;
1891 border-radius: 3px;
1892 box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
1893 }
1894
1895 .palette {
1896 position: absolute;
1897 display: flex;
1898 top: 0;
1899 left: 0;
1900 z-index: 1;
1901 width: 100%;
1902 height: 100%;
1903
1904 transition: all .2s ease;
1905 }
1906
1907 // Colors Bars
1908 .palette__item {
1909 flex: 1;
1910 transform: translateY(100%);
1911
1912 transition: all .3s ease;
1913
1914 // Assume maximum 10 colors
1915 @for $i from 1 through 10 {
1916 &:nth-child(#{$i}) {
1917 transition-delay: 0s + $i/20 - 1/20;
1918
1919 // PLAYGROUND:
1920 // Size items based on color accent
1921 // Higher size for accent colors
1922 // Lower sizes for light colors
1923
1924 // flex-grow: 1/$i * 10 + $i/10;
1925 }
1926 }
1927 }
1928
1929 .preview__letter {
1930 display: inline-block;
1931 padding: 3px 9px;
1932 border-radius: 2px;
1933 color: white;
1934 margin-right: 5px;
1935 }
1936 }
1937 }