PluginProbe
Customify / 1.5.0
Customify v1.5.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.5.0, at scss/customizer.scss

1,483 lines 26.4 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 // Change sections overflow
46 .accordion-section-content {
47 overflow: visible;
48 }
49
50
51
52 .control-section:not(.control-section-themes) .customize-control {
53 padding: 0px;
54 width:100%;
55 min-height: initial;
56 }
57
58
59 // Header – Close + Save Controls
60 #customize-header-actions {
61 // border-bottom: 0;
62 }
63
64 // Temporary Fix to Make "Close" button align with the "Back"
65 .customize-controls-close {
66 width: 48px;
67 height: 44px;
68 color: #7da9c3;
69 background: #ffffff;
70 border-top: none;
71 border-right-color: $borders;
72
73 &:focus, &:hover {
74 background: $background-hover;
75 }
76
77 // "X" Icon
78 &:before {
79 top: 0px;
80 }
81 }
82
83 // Remove Accordion Section Title Margin
84 #customize-controls .customize-info {
85 // margin-bottom: 0;
86 border-bottom-color: $borders;
87 }
88
89 .customize-panel-back, .customize-section-back {
90 height: 74px;
91 color: #7da9c3;
92 border-right-color: $borders;
93
94 &:hover, &:focus {
95 border-left-color: $background-hover;
96 background: $background-hover;
97 }
98 }
99
100
101 #customize-theme-controls {
102 .theme * {
103 box-sizing: content-box;
104 }
105
106 .accordion-section-content {
107 padding: $container-spacing;
108 }
109
110 .customize-section-title {
111 margin-top: -$container-spacing;
112 margin-right: -$container-spacing;
113 // margin-left: -$container-spacing;
114 }
115
116 .control-panel-content {
117 .control-section:nth-child(2),
118 .control-section:nth-child(3) {
119 border-top: none;
120 }
121
122 // Select the Second to Last Element
123 // https://css-tricks.com/useful-nth-child-recipies/
124 .control-section:nth-last-child(2) {
125 border-bottom: 1px solid $borders;
126 }
127 }
128
129 #accordion-section-add_menu {
130 text-align: right;
131 overflow: visible;
132
133 .add-menu-toggle {
134 float: none;
135 }
136 }
137
138 .customize-pane-child.open {
139 height: 100%;
140 }
141 }
142
143 #customize-controls .description {
144 margin-bottom: 9px;
145
146 font-size: 12px;
147 font-weight: 300;
148 font-style: normal;
149 line-height: 1.6;
150 color: $descriptions;
151 text-indent: 0;
152 }
153
154 .customize-control-description {
155 margin-top: 6px;
156 }
157
158 .customize-control {
159 margin-bottom: $fields-spacing;
160 }
161
162 // Active Themes Section
163 #accordion-section-themes {
164 +.control-section {
165 border-top: none;
166 }
167 }
168
169 // Subsection Info Title
170 #customize-controls {
171 .panel-meta.customize-info {
172 .accordion-section-title {
173 border-top: none;
174 height: 74px;
175 }
176 }
177 }
178
179
180
181
182
183 //------------------------------------*\
184 // GENERAL FIELDS
185 //------------------------------------*/
186
187
188
189 // GENERAL Buttons
190
191 .wp-core-ui {
192
193 // Primary & Secondary Buttons
194 .button:not(.theme-details):not(.collapse-sidebar),
195 .button-primary,
196 .button-secondary {
197 width: auto;
198 padding: 6px 20px;
199
200 font-size: 13px;
201 font-weight: 400;
202 color: #F5FCFF;
203 line-height: 1.4;
204 text-shadow: none;
205 border: none;
206 background: #AED2E5;
207 box-shadow: 0px 2px 0px 0px #8DBED7;
208 border-radius: $fields_border-radius;
209
210 transition: all 0.1s;
211
212 &:hover {
213 color: white;
214 text-shadow: none;
215 background: #98C6DD;
216 box-shadow: 0px 2px 0px 0px #74A7C2;
217 }
218 }
219
220 .button-primary {
221 background: #73C5EE;
222 box-shadow: 0px 2px 0px 0px #57ABD5;
223
224 &:hover {
225 background: #58B0DD;
226 box-shadow: 0px 2px 0px 0px #3F8AAF;
227 }
228 }
229
230 // Reset Buttons
231 .reset_section,
232 .reset_panel {
233 width: 100%;
234 height: 4em;
235 display: block;
236 margin: 0px 0 25px;
237 }
238
239 .reset_panel {
240 margin-top: 10px;
241 }
242 }
243
244
245
246 // Separators Titles
247
248 %fields-label {
249 display: block;
250 font-size: 14px;
251 line-height: 24px;
252 font-weight: 600;
253 // margin-bottom: 5px;
254 }
255
256 .customize-control-title {
257 color: $blue-dark;
258 }
259
260 %section-background {
261 content: "";
262
263 position: absolute;
264 top: 0;
265 bottom: 0;
266 left: -$container-spacing - 1;
267 right: -$container-spacing - 1;
268 z-index: -1;
269 }
270
271 .separator {
272 &.label {
273 @extend %fields-label;
274 @extend .customize-control-title;
275 margin-bottom: -3px;
276 margin-bottom: -$fields-spacing/2 - 3px;
277
278 font-weight: 500;
279 }
280
281 &.large {
282 margin-top: $fields-spacing/2;
283 font-size: 16px;
284 color: #39474D;
285 }
286
287 &.section {
288 position: relative;
289 padding: 14px 0;
290 margin-bottom: 0;
291 background: none;
292 border: none;
293
294 &[id*="layout"]*="layout""] {
295 margin-top: 0;
296
297 &:before {
298 border: none;
299 }
300 }
301
302 &:before {
303 @extend %section-background;
304
305 border: 1px solid $borders;
306 background-color: #ffffff;
307 box-shadow: 0px 1px 0px 0px #DFE8EF;
308 }
309 }
310
311 &.sub-section {
312 position: relative;
313 padding: 12px 0;
314
315 &:before {
316 @extend %section-background;
317
318 border-top: 1px solid $borders;
319 border-bottom: 1px solid $borders;
320 background-color: #f6fbff;
321 }
322
323 + span {
324 margin-top: 20px;
325 font-style: normal;
326 }
327 }
328 }
329
330 // h2.separator {
331 // margin-bottom: -20px;
332 // margin-top: 30px;
333 // }
334
335
336
337 // Section tabs
338
339 .section-navigation-wrapper {
340 position: relative;
341
342 height: 43px;
343 margin: -15px -12px 0 -12px;
344 margin-right: -$container-spacing;
345 margin-left: -$container-spacing;
346 }
347
348 .section-navigation {
349 display: flex;
350 margin-top: -1px;
351
352 clear: both;
353
354 border-top: 1px solid $borders;
355
356 a {
357 flex: 1 1 auto;
358 display: block;
359 padding: 12px 0;
360
361 color: #3b484e;
362 background-color: #ffffff;
363
364 border-bottom: 1px solid $borders;
365 border-right: 1px solid $borders;
366
367 text-align: center;
368 text-decoration: none;
369
370 transition: background-color .15s ease-in-out;
371
372 &:last-child {
373 border-right: 0;
374 }
375 }
376 }
377
378 #customize-controls .customize-info,
379 #customize-controls .customize-section-title {
380 &.is-sticky.is-sticky {
381 top: 40px;
382 }
383
384 &.is-in-view.is-in-view {
385 box-shadow: none;
386 }
387 }
388
389 #customize-controls .has-nav .customize-info,
390 #customize-controls .has-nav .customize-section-title {
391 margin-right: -12px;
392 }
393
394 #customize-controls .customize-section-title.customize-section-title {
395 border-bottom: 0;
396 }
397
398 .customize-section-description-container.section-meta.has-nav {
399 margin-bottom: 0;
400 }
401
402 // Extended typography field
403
404 .font-options__wrapper {
405 position: relative;
406
407 //&:hover .font-options__options-list {
408 // opacity: 1;
409 // pointer-events: auto;
410 //}
411
412 &:after {
413 content: "";
414
415 position: absolute;
416 top: 90%;
417 left: 0;
418 right: 0;
419 z-index: 0;
420
421 display: block;
422 height: 100px;
423 }
424 }
425 .font-options__head {
426 @extend %input;
427 @extend %select;
428
429 display: flex;
430 justify-content: space-between;
431
432 &.font-options__head {
433 -webkit-appearance: none;
434
435 text-overflow: ellipsis;
436 // overflow: hidden;
437 white-space: nowrap;
438 }
439 }
440 .font-options__font-title {
441 margin-right: 26px;
442 margin-left: 10px;
443
444 font-size: 12px;
445 line-height: 20px;
446 font-weight: 300;
447
448 color: #98c6dd;
449
450 text-overflow: ellipsis;
451 overflow: hidden;
452 white-space: nowrap;
453 }
454
455 .font-options__options-list {
456 position: absolute;
457 top: calc(100% + 6px);
458 left: -6px;
459 right: -6px;
460 z-index: 2;
461
462 display: block;
463 padding: 10px;
464
465 border: 1px solid #dfe8ef;
466 border-radius: 5px;
467
468 background-color: #ffffff;
469
470 opacity: 0;
471 display: none;
472 //pointer-events: none;
473 transition: opacity .15s linear;
474
475 &:last-child {
476 margin-bottom: 0;
477 }
478
479 &:before,
480 &:after {
481 content: "";
482
483 position: absolute;
484 top: -20px;
485 right: 25px;
486
487 height: 0;
488 width: 0;
489
490 border: solid transparent;
491
492 z-index: 10;
493 }
494
495 &:before {
496 border-bottom-color: white;
497 border-width: 10px;
498 z-index: 11;
499 }
500
501 &:after {
502 border-bottom-color: rgba(0, 0, 0, 0.075);
503 border-width: 12px;
504 top: -24px;
505 right: 23px;
506 }
507 }
508
509
510
511
512
513 //------------------------------------*\
514 // OBJECTS
515 //------------------------------------*/
516 %top-arrow {
517 &:after {
518 content: "";
519 position: absolute;
520 bottom:100%;
521 right: 12px;
522 border-collapse: separate;
523 width: 0;
524 height: 0;
525
526 border-width: 0 9px 9px 9px;;
527 border-style: solid;
528 border-color: transparent transparent #fff transparent;
529 }
530 }
531
532 %box-bg {
533 position : absolute;
534 top : 60px;
535 right : -6px;
536 z-index : 100000;
537 width : $popup !important;
538 padding : 12px;
539 display : none;
540 background : #fff;
541 border-radius : 3px;
542 @extend %top-arrow;
543
544 &.active {
545 display:block;
546 }
547
548 &:after {
549 right : 58px;
550 border-color : transparent transparent #fff transparent;
551 }
552 }
553
554 %icon-btn {
555 position : absolute;
556 top : -36px;
557 right : 45px;
558 display : block;
559 height : 30px;
560 width : 30px;
561 margin : 0;
562 padding : 0;
563 border : none;
564 background : #1d1e20;
565 color : #5f6369;
566 border-radius : (100px);
567 box-shadow: rgba(0, 0, 0, 0.1) 0 2px 0px inset;
568 line-height : 30px;
569 text-align : center;
570 cursor : pointer;
571 outline : none;
572
573 &:before {
574 font-family: 'Elusive-Icons';
575 content: "\e669";
576 }
577
578 &:hover, &.active {
579 background : $lighter;
580 }
581
582 &.active {
583 box-shadow: rgba(0, 0, 0, 0.4) 0 1px 1px;
584 }
585 }
586
587
588
589
590
591 //------------------------------------*\
592 // $INPUT FIELDS
593 //------------------------------------*/
594
595 %input {
596 width: 100%;
597 height: $fields_height;
598 padding: 10px 14px;
599
600 background: #FFFFFF;
601 border: 2px solid $fields_border-color;
602 border-radius: 4px;
603
604 font-size: 14px;
605 line-height: 1.5;
606 color: $blue-dark;
607 outline: 0;
608
609 &:focus {
610 border-color: #73C5EE;
611 box-shadow: none;
612 // box-shadow: 0 0 0 2px #73C5EE;
613 }
614 }
615
616 %select {
617 width: 100%;
618 -webkit-appearance: button; // hide default arrow in WebKit/Blink
619 -moz-appearance: none; // hide default arrow in Gecko
620
621 font-weight: 600;
622
623 background: white url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjE1cHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTUgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU2LjAwMDAwMCwgLTM4Ni4wMDAwMDApIiBmaWxsPSIjOThDNkRFIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iVGl0bGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI2LjAwMDAwMCwgMjE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1TZWxlY3QtQ29weSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iU2VsZWN0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMjcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1NC40ODEyLDE4IEwyNTYsMTkuNTE0IEwyNDguNSwyNyBMMjQxLDE5LjUxNCBMMjQyLjUxODgsMTggTDI0OC41LDIzLjk2NzIgTDI1NC40ODEyLDE4IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
624 background-position: right 16px top 16px;
625
626 &[multiple]] {
627 background: white;
628 }
629 }
630
631 .customize-control {
632
633 input[type=text]=text],
634 input[type=checkbox]=checkbox],
635 input[type=password]=password],
636 input[type=color]=color],
637 input[type=date]=date],
638 input[type=datetime]=datetime],
639 input[type=datetime-local]=datetime-local],
640 input[type=email]=email],
641 input[type=month]=month],
642 input[type=number]=number],
643 input[type=radio]=radio],
644 input[type=tel]=tel],
645 input[type=time]=time],
646 input[type=url]=url],
647 input[type=week]=week],
648 input[type=search]=search],
649 select,
650 textarea,
651 input[type="number"]="number""].range-value {
652 @extend %input;
653 }
654
655 input[type=text]=text],
656 textarea {
657 font-size: 13px;
658 }
659
660 input[type=text]=text] {
661
662 }
663
664 // Textarea
665 textarea {
666 height: auto;
667 }
668
669 // Checkbox
670 input[type=checkbox]=checkbox],
671 input[type=radio]=radio] {
672 width: $fields_height/2;
673 height: $fields_height/2;
674
675 &:checked {
676 background: #73C5EE;
677 border-color: #5AB9E8;
678
679 &:before {
680 color: white;
681 margin: -1px 0 0 -2px;
682 }
683 }
684 }
685
686 &.customize-control-checkbox,
687 &.customize-control-radio {
688
689 // Split into two columns only when
690 // there is more than one label
691 label:not(:only-of-type) {
692 margin-left: 30px;
693 padding-top: 0;
694 padding-bottom: 0;
695 display: inline-block;
696
697 width: calc(49% - 30px);
698
699 text-indent: -6px;
700
701 }
702
703 label {
704 color: $blue-dark;
705
706 }
707
708 // Select HTML Labels followed by a Checkbox or Radio field
709 .customize-control-html + & {
710 margin-top: -24px;
711 }
712
713 // Except de dividers titles
714 [id*="divider"]*="divider""] + & {
715 margin-top: 0;
716 }
717 }
718
719 // Radios
720 input[type=radio]=radio] {
721 border-radius: 50%;
722
723 &:checked:before {
724 content: none;
725 }
726 }
727
728 &.customize-control-radio {
729 label {
730 margin-top: $fields-spacing/2;
731 }
732 }
733
734 // Select
735 select {
736 @extend %select;
737 }
738
739
740 // Range Field
741 input[type="range"]="range""] {
742 width: 65%;
743 }
744
745 $input-size: 200px;
746 $input-height: 6px;
747 $thumb-height: 22px;
748
749 input[type="range"]="range""] {
750 position: relative;
751 -webkit-appearance: none;
752 width: $input-size;
753 height: $thumb-height;
754 overflow: hidden;
755 outline: none;
756 background: none;
757
758 &:before {
759 content: " ";
760 position: absolute;
761 top: 8px;
762 left: 0;
763 height: $input-height;
764 width: 100%;
765 background: #DFE8EF;
766 box-shadow: inset 0px 1px 3px 0px rgba(0,0,0,0.30);
767 border-radius: 10px;
768 }
769
770 &::-webkit-slider-thumb {
771 -webkit-appearance: none;
772 width: $thumb-height;
773 height: $thumb-height;
774 background: #27ae60;
775 position: relative;
776 z-index: 3;
777
778 background: #FFFFFF;
779 border: 2px solid #B8DAEB;
780 border-radius: 4px;
781
782 &:before {
783 content: "..";
784 position: absolute;
785 left: 5px;
786 top: -5px;
787 color: #B8DAEB;
788 font-size: 1em;
789 letter-spacing: 1px;
790 }
791
792 &:after {
793 content: " ";
794 width: $input-size;
795 height: $input-height;
796 position: absolute;
797 z-index: 1;
798 right: $thumb-height - 2px;
799 top: $input-height;
800 background: #73C5EE;
801 }
802 }
803 }
804
805
806 input[type="number"]="number""].range-value {
807 min-width: 40px;
808 max-width: 80px;
809 width: auto;
810 height: 30px;
811 top: -5px;
812 float: right;
813 padding: 4px 0px 5px 0px;
814 margin-left: 10px;
815 font-size: 13px;
816 line-height: 1;
817 text-align: center;
818 }
819
820 input[type=number]=number]::-webkit-inner-spin-button,
821 input[type=number]=number]::-webkit-outer-spin-button {
822 -webkit-appearance: none;
823 margin: 0;
824 }
825 }
826
827
828
829
830
831 //------------------------------------*\
832 // Color Picker
833 //------------------------------------*/
834
835 .customize-control-color {
836 display: block;
837
838 .customize-control-title {
839 float:left;
840 }
841 .customize-control-content {
842
843 }
844
845 .wp-picker-container {
846 position : relative;
847 float : right;
848 top : -3px;
849
850
851 .wp-picker-holder {
852 position: relative;
853 }
854
855 .iris-picker {
856 position : absolute;
857 top : 40px;
858 right : 0;
859 z-index : 1000;
860 width : $popup !important;
861 border-top : none;
862 border-color: #DFDFDE;
863 border-radius: 0 0 3px 3px;
864 border : none;
865 background : white;
866
867 .iris-picker-inner {
868
869 }
870 .iris-square {
871 width : 215px !important;
872 height : 173px !important;
873 margin-right : 0;
874 }
875 .iris-strip {
876 float : right;
877 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
878 .ui-slider-handle {
879 border-color : #aaa !important;
880 opacity : 1;
881 box-shadow: none;
882 }
883 }
884 .iris-palette {
885 width : 24px !important;
886 height : 24px !important;
887 border-radius: 50px;
888 box-shadow: rgba(0,0,0,0.4) 0 1px 1px inset;
889 }
890 }
891
892 .wp-picker-open+.wp-picker-input-wrap {
893 position : absolute;
894 z-index : 1000;
895 top : 35px;
896 right : 0;
897 width : $popup;
898 padding : 9px 12px;
899 background : white;
900 border : none;
901 border-radius: 3px 3px 0 0;
902 @extend %top-arrow;
903
904 input {
905
906 &.wp-color-picker {
907 float:left;
908 width: 100px;
909 font-size: 13px;
910 text-align: left;
911 margin: 0;
912 padding: 6px 12px;
913 height: auto;
914 }
915
916 &.button {
917 float:right;
918 padding: 4px 12px;
919 height: 30px;
920 }
921 }
922 }
923 }
924
925 .wp-color-result{
926 top : 0;
927 height : 30px;
928 width : 40px;
929 margin : 0;
930 padding : 0;
931
932 border-radius: $fields_border-radius;
933 background: #2ECC71;
934 border: 2px solid #B8DAEB;
935 box-shadow: none;
936
937 &:after {
938 display:none;
939 }
940 }
941 }
942
943
944
945
946
947 //------------------------------------*\
948 // CSS Editor Customizer
949 //------------------------------------*/
950
951 // Panel
952 #accordion-panel-live_css_edit_panel {
953
954 }
955
956 // Section
957 #accordion-section-live_css_edit_section {
958
959 // Add the default border to title
960 .customize-section-title {
961 margin-top: -13px;
962 border-bottom: 1px solid #ddd;
963 }
964 // Ace Editor
965 #css_editor {
966 top: 70px;
967 border-top: 10px solid white;
968 overflow: visible;
969
970 &:before {
971 content: "";
972 width: 48px;
973 height: 10px;
974 display: block;
975 background: #e8e8e8;
976 top: -10px;
977 position: absolute;
978 z-index: 10000000;
979 left: 0;
980 }
981 }
982
983 // Add Some Extra Spacing Around the Editor Content
984 .ace_scroller {
985 padding-left: 10px;
986 }
987 }
988
989 // Increase the Customizer width when Editor is opened
990 .wp-full-overlay.editor_opened {
991
992 margin-left: 500px;
993
994 #customize-controls {
995 width: 500px;
996 }
997
998 // Go back when the Customizer is collapsed
999 &.collapsed #customize-controls {
1000 width: 300px;
1001 }
1002 }
1003
1004
1005
1006
1007
1008 //------------------------------------*\
1009 // Media Uploader (Logo)
1010 //------------------------------------*/
1011
1012 .customize-control-media,
1013 .customize-control-site_icon,
1014 li#customize-control-site_logo {
1015 .current {
1016 margin-bottom: 10px;
1017 min-height: $fields_height;
1018 background: #F5FCFF;
1019 border: 2px solid $fields_border-color;
1020 border-radius: $fields_border-radius;
1021
1022 .container, span {
1023 border: none;
1024 }
1025 }
1026
1027
1028 .inner, .current span {
1029 font-size: 13px;
1030 color: #98C6DD;
1031 }
1032
1033 .inner {
1034 line-height: 1.4;
1035 }
1036
1037 .thumbnail-image {
1038 padding: 14px;
1039 text-align: center;
1040
1041 img {
1042 width: auto;
1043 }
1044 }
1045
1046 .actions {
1047 margin-bottom: 0;
1048 }
1049 }
1050
1051
1052
1053
1054
1055 //------------------------------------*\
1056 // TYPOGRAPHY
1057 //------------------------------------*/
1058
1059 .customize-control-typography, .customize-control-typography {
1060
1061 // Font, Weight and Subsets selectors
1062 select {
1063 margin-bottom: 10px;
1064 }
1065
1066 .description {
1067 margin-top: -3px;
1068 }
1069
1070 &:not(:first-child) .customize-control-title {
1071 // margin-top: 15px;
1072 }
1073
1074 ul li {
1075 width: 100%;
1076 margin: 0;
1077 // display: inline-table;
1078
1079 &:nth-child(2n+1) {
1080 // width: 45%;
1081 // margin-right: 5%;
1082 }
1083
1084 label {
1085 // width: 100%;
1086 // display: block;
1087
1088 // margin-top: 10px;
1089 // margin-bottom: 5px;
1090 }
1091
1092 select {
1093 // width: 100%;
1094 }
1095 }
1096
1097 .customify_typography_font_weight {
1098
1099 }
1100
1101 .customify_typography_font_subsets {
1102 // height: 28px;
1103 }
1104 }
1105
1106 .customize-control select[multiple]].customify_typography_font_subsets {
1107 // height: 48px;
1108 }
1109
1110
1111
1112
1113
1114 //------------------------------------*\
1115 // PRESETS
1116 //------------------------------------*/
1117
1118 .customize-control-title {
1119 // margin-bottom: 20px;
1120 }
1121
1122 .default-preset-button {
1123 background-color: #F5F6F6;
1124 float: right;
1125 padding: 1px 8px;
1126 border-radius: 3px;
1127 border: 1px solid #CBCBCB;
1128 margin-right: 4px;
1129 font-family: "Open Sans",sans-serif;
1130 font-size: 13px;
1131
1132 }
1133
1134 .customize-control-preset {
1135 .description {
1136 margin-right: 5px;
1137 font-style: normal;
1138 }
1139 }
1140
1141 .customify_preset {
1142 &.radio_buttons {
1143
1144 .customify_radio_button {
1145 border: none;
1146 display: inline-block;
1147 padding: 2px;
1148 margin: 3px;
1149 position: relative;
1150 overflow: hidden;
1151 height: auto;
1152
1153 input[type="radio"]="radio""] {
1154 opacity: 0;
1155 width: 100%;
1156 height: 100%;
1157 position: absolute;
1158 z-index: 9999;
1159
1160 &:checked{
1161
1162 &+label {
1163 background-color: #ebebeb;
1164 &:before {
1165 content: '>';
1166 color: inherit;
1167 }
1168 &:after {
1169 content: '<';
1170 color: inherit;
1171 }
1172 }
1173
1174 &:before {
1175 opacity: 0;
1176 }
1177 }
1178 }
1179
1180 label{
1181 position: relative;
1182 z-index: 999;
1183 border-left: 4px solid;
1184
1185 }
1186 }
1187
1188 }
1189
1190 .awesome_preset {
1191 width: 45%;
1192 // height: 122px;
1193 position: relative;
1194 display: inline-block;
1195 text-align: center;
1196 color: white;
1197
1198 margin-top: 5px;
1199 margin-bottom: 25px;
1200
1201 transition: all 0.2s;
1202
1203 &:hover {
1204 opacity: 0.9;
1205 }
1206
1207 &:before {
1208 content: '';
1209 position: absolute;
1210 top: 1px;
1211 left: 1px;
1212 right: 1px;
1213 bottom: 1px;
1214
1215 border: 1px solid #FFF;
1216 background: transparent;
1217 opacity: .5;
1218 border-radius: 4px;
1219 z-index: 5
1220 }
1221
1222 .preset-wrap {
1223 // height: 110px;
1224
1225 .preset-color {
1226 height: 128px;
1227 border-radius: 4px 4px 0 0;
1228 padding: 17px 0 27px;
1229
1230 .first-font {
1231 display: inline-block;
1232 width: 100%;
1233 font-size: 55px;
1234 line-height: 1;
1235 // padding-top: 23px;
1236 }
1237 .secondary-font {
1238 display: inline-block;
1239 width: 100%;
1240 font-size: 20px;
1241 line-height: 1;
1242 margin-top: 8px;
1243 }
1244 }
1245
1246 .preset-name {
1247 position: relative;
1248 font-size: 11px;
1249 text-transform: UPPERCASE;
1250 border-radius: 0 0 4px 4px;
1251 padding: 1px;
1252
1253 &:before {
1254 content: '';
1255 position: absolute;
1256 border-color: inherit;
1257 border: 10px solid;
1258 border-left-color: transparent;
1259 border-right-color: transparent;
1260 border-top: transparent;
1261 top: -10px;
1262 border-bottom-color: inherit;
1263 left: 40%;
1264
1265 }
1266 }
1267 }
1268
1269 &:nth-child(odd) {
1270 margin-right: 7%
1271 }
1272
1273 input[type=radio]=radio] {
1274 height: 100%;
1275 width: 100%;
1276 position: absolute;
1277 border: 0;
1278 box-shadow: none;
1279 color: #006505;
1280 background-color: transparent;
1281 border-radius: 0;
1282 margin: 0;
1283 display: inline-block;
1284 top:0;
1285 left:0;
1286 z-index:10;
1287
1288 &:checked {
1289
1290 &:before {
1291 position: absolute;
1292 height: 25px;
1293 width: 25px;
1294 top: -13px;
1295 right: -14px;
1296 background: #FFF;
1297 z-index: 1;
1298 }
1299
1300 &:after {
1301 -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
1302 filter: alpha(opacity=0);
1303 content: '';
1304 position: absolute;
1305 width: 26px;
1306 height: 26px;
1307 border-radius: 50%;
1308 top: -5px;
1309 right: -5px;
1310 z-index: 10;
1311
1312 background: #73C5EE url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjEzcHgiIGhlaWdodD0iOXB4IiB2aWV3Qm94PSIwIDAgMTMgOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4KICAgIDxkZWZzPjwvZGVmcz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJDdXN0b21pZnktQ29weSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgLTQwOC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgPGcgaWQ9IkhlYWRlciIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxLjAwMDAwMCwgNDcuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29udGVudCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCA3NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iRmllbGQtLS1DaGVja2JveC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNy4wMDAwMDAsIDI0OS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkNoZWNrYm94IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgMzAuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuMDM4NDk1LDE2IEwxNy4xMTYxMzc1LDguOTIxNDg3NiBMMTUuMTk0NjQ5OCw3IEwxMC4wMzg0OTUsMTIuMTU1MDY3NCBMNi45MjE0ODc2LDkuMDM4OTI5OTcgTDUsMTAuOTYwNDE3NiBMMTAuMDM4NDk1LDE2IFoiIGlkPSJQYWdlLTEiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;
1313 background-position: center center;
1314 }
1315 }
1316 }
1317
1318 }
1319 }
1320
1321 .customify_radio_image {
1322 display: inline-block;
1323 label {
1324 display: block;
1325 float: left;
1326 margin-right: 10px;
1327 position: relative;
1328
1329 input[type=radio]=radio] {
1330 position: absolute;
1331 top:0;bottom: 0;
1332 left: 0;right: 0;
1333 width: 100%;
1334 height: 100%;
1335
1336 visibility: hidden;
1337
1338 img {
1339 cursor:pointer;
1340 border:2px solid transparent;
1341 }
1342
1343 &:checked + img{
1344 border: 3px solid #73C5EE;
1345 }
1346 }
1347 }
1348 }
1349
1350 .customify_ace_editor {
1351 display: block;
1352 min-height: 200px;
1353 border: 1px solid #ddd;
1354 }
1355
1356 .customize-control-custom_background {
1357 .hide {
1358 display: none;
1359 }
1360
1361 .upload_button_div {
1362 margin: 10px 0;
1363
1364 & > * {
1365 margin-right: 10px;
1366 }
1367 }
1368
1369 .preview_screenshot {
1370 text-align: center;
1371 margin: 10px 0;
1372 img {
1373 border: 2px solid #ccc;
1374 }
1375 }
1376 }
1377
1378 #customify_import_demo_data_button {
1379 width: 70%;
1380 text-align: center;
1381 padding: 10px;
1382 display: inline-block;
1383 height: auto;
1384 margin: 0 15% 10% 15%;
1385 }
1386
1387 .import_step_note {
1388 margin: 5px;
1389 width: 100%;
1390 display: inline-block;
1391
1392
1393 &:before {
1394 content: "\1F449";
1395 }
1396
1397 &.success:before {
1398 content: "\1F44D";
1399 }
1400
1401 &.failed:before {
1402 content: "\274C";
1403 }
1404 }
1405
1406 @import 'theme';
1407 @import 'balloon';
1408
1409
1410
1411
1412
1413 //------------------------------------*\
1414 // FONT Field
1415 //------------------------------------*/
1416
1417 .font-options__wrapper {
1418
1419 .font-options__options-list {
1420 border-color: #B8DAEB;
1421 box-shadow: 0 10px 20px 0 rgba(0,0,0,0.15);
1422 }
1423
1424 .font-options__option {
1425 margin-bottom: 12px;
1426 label {
1427 display: block;
1428 margin-bottom: 6px;
1429 }
1430 }
1431
1432 [type=checkbox]=checkbox]:checked ~ .font-options__options-list {
1433 opacity: 1;
1434 display: block;
1435 }
1436 }
1437
1438 input.customify_font_tooltip {
1439 display: none;
1440 }
1441
1442 .font-options__option select,
1443 .font-options__option input,
1444 .select2-container {
1445 // width: 100% !important; // am pus important pentru ca exista un inline de 100px
1446 }
1447
1448 ul.font-options__options-list {
1449 .font-options__option {
1450
1451 }
1452
1453 .select2-container {
1454 width: 100% !important;
1455 .select2-selection--single {
1456 @extend %input;
1457 @extend %select;
1458 -webkit-appearance: initial;
1459
1460 .select2-selection__arrow {
1461 display: none;
1462 }
1463 }
1464 }
1465
1466 .select2-container--default
1467 .select2-selection--single
1468 .select2-selection__rendered {
1469 color: inherit;
1470 line-height: initial;
1471 }
1472
1473 }
1474
1475 //------------------------------------*\
1476 // SELECT2
1477 //------------------------------------*/
1478
1479
1480 .select2-container.select2-container--open {
1481 z-index: 99999999;
1482 }
1483