PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.4
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.4
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / modules / gutenberg / src / editor.scss

editor.scss in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.4, at modules/gutenberg/src/editor.scss

738 lines 15.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * #.# Common SCSS
3 *
4 * Can include things like variables and mixins
5 * that are used across the project.
6 */
7
8 /* ------------------------------------------------------------------------------------------------*/
9
10 @import "styles/variables";
11
12 /* Gutenberg Reset CSS */
13 .block-editor-block-inspector {
14 .uagb-inspector-tab {
15 .components-notice.is-warning {
16 margin-top: 20px;
17 margin-bottom: 20px;
18 }
19
20 .components-panel__body {
21 > .components-base-control {
22 margin-bottom: $spectra-control-vertical-gap;
23
24 .components-base-control,
25 .components-base-control__field {
26 padding-top: 0;
27 margin-bottom: 0;
28 }
29 }
30
31 > .components-base-control:last-child {
32 margin-bottom: 0;
33 }
34
35 /* Gutenberg DatePicker CSS */
36 .components-datetime {
37 .components-datetime__buttons {
38 margin: 10px 0 10px 0;
39
40 /* Unset box-shadow */
41 .components-button:focus:not( :disabled ) {
42 box-shadow: unset;
43 }
44 }
45 }
46
47 /* Gutenberg Toggle Help CSS*/
48 .components-base-control__help {
49 margin-top: 10px;
50 }
51
52 /* Add a border top and bottom of responsive condition */
53 &:last-child {
54 border-bottom: 1px solid #e0e0e0;
55 }
56 }
57 }
58 }
59
60 /* Gutenberg Editor border hover */
61 .edit-post-visual-editor .editor-styles-wrapper > .block-editor-block-list__layout {
62 .block-editor-block-list__block:hover::after,
63 .block-editor-block-list__block:not( [contenteditable] ):focus::after {
64 box-shadow: 0 0 0 1.5px $spectra-color-primary;
65 border-radius: 2px;
66 }
67
68 .block-editor-block-list__block:not( [contenteditable] ):focus {
69 z-index: 1;
70 }
71
72 .block-editor-block-list__block:hover {
73 z-index: 1;
74 }
75 }
76
77 .block-editor-block-list__layout .block-editor-block-list__block.is-selected {
78 // Added CSS for better clarity to the users to indicates which block is selected & being edited.
79 box-shadow: 0 0 0 1.5px $spectra-color-primary;
80 border-radius: 2px;
81 }
82
83 /* UAG Help Notice CSS*/
84 .uagb-inspector-tab .uag-control-help-notice {
85 margin-top: 10px;
86 font-size: 12px;
87 font-style: normal;
88 color: rgb( 117, 117, 117 );
89 }
90
91 /* UAG Control Label CSS*/
92 .uag-control-label,
93 .uagb-inspector-tab .components-base-control__label,
94 .uagb-inspector-tab .components-panel__body label,
95 .uagb-extention-tab label {
96 color: $spectra-color-body;
97 font-size: $spectra-font-size-label;
98 line-height: $spectra-line-height-label;
99 margin-bottom: $spectra-control-label-bottom-margin;
100 }
101
102 .uagb-inspector-tab label.components-toggle-control__label {
103 margin-bottom: 0;
104 }
105
106 /* Editor panel sidebar - scrollbar design CSS start */
107
108 .interface-interface-skeleton__sidebar::-webkit-scrollbar {
109 width: 5px;
110 }
111
112 .interface-interface-skeleton__sidebar::-webkit-scrollbar-thumb {
113 box-shadow: inset 0 0 6px rgba( 0, 0, 0, 0.3 );
114 border-radius: 100px;
115 }
116
117 /* Editor panel sidebar - scrollbar design CSS end */
118
119 /* Panel Body CSS*/
120 .uagb-inspector-tab,
121 [data-uagb-tab]] {
122 .components-panel__body-title .components-button {
123 font-size: $spectra-font-size-button;
124 }
125 }
126
127 /* GB Select Control CSS*/
128 .uagb-inspector-tab .components-select-control {
129 height: auto;
130 }
131
132 /* Tabs Pabel CSS for .uagb-size-type-field-tabs START*/
133 .uagb-size-type-field-tabs .components-tab-panel__tabs {
134 display: block;
135 border-bottom: 0;
136 text-align: right;
137 padding-right: 28px;
138 margin-right: 45px;
139 margin-bottom: -20px;
140 z-index: unset;
141
142 button span.dashicon.dashicons {
143 font-size: 15px;
144 }
145
146 button.active-tab svg,
147 button.active-tab svg:focus {
148 color: $spectra-color-primary;
149 }
150 }
151
152 .uagb-size-type-field-tabs .components-tab-panel__tabs button svg,
153 .uagb-size-type-field-tabs .uag-responsive-label-wrap svg {
154 width: auto;
155 height: 10px;
156 }
157
158 .uagb-size-type-field-tabs .components-tab-panel__tabs button {
159 border: 0;
160 border-bottom: 0;
161 padding: 4px;
162 margin-bottom: 0;
163 outline: 0;
164 font-size: 8px;
165 background: transparent;
166 color: #999;
167 display: inline-block;
168 height: 16px;
169 width: 22px;
170 margin-right: 3px;
171 }
172
173 .uagb-size-type-field-tabs .components-tab-panel__tabs button.active-tab,
174 .uagb-size-type-field-tabs .components-tab-panel__tabs button.active-tab:focus {
175 box-shadow: none;
176 color: $spectra-color-primary;
177 border-radius: 100%;
178 padding: 0;
179 margin: 0;
180 line-height: 0;
181 }
182
183 .uagb-control__actions .uagb-size-type-field-tabs {
184 margin: 0;
185 }
186
187 /* Tabs Pabel CSS for .uagb-size-type-field-tabs END*/
188
189 /* ------------------------------------------------------------------------------------------------*/
190
191 .uagb-inspect-tabs .components-tab-panel__tabs button {
192 padding: 10px;
193 background: transparent;
194 color: #333;
195 outline: none;
196 border-top: none;
197 border-left: none;
198 border-right: none;
199 border-bottom: 3px solid #eee;
200 cursor: pointer;
201 -webkit-transition: all 0.2s;
202 -o-transition: all 0.2s;
203 transition: all 0.2s;
204 }
205
206 hr.uagb-editor__separator {
207 border-bottom: 1px solid #e2e4e7;
208 }
209
210 .uagb-inspect-tabs > .components-tab-panel__tabs button.active-tab,
211 .uagb-inspect-tabs > .components-tab-panel__tabs button:focus {
212 border-bottom: 3px solid #333;
213 outline: none;
214 font-weight: 500;
215 }
216
217 .uagb-inspect-tab-title {
218 margin-top: 20px;
219 }
220
221 .uagb-inspect-tabs-col-2 > .components-tab-panel__tabs button,
222 .uagb-inspect-tabs.uagb-inspect-tabs-col-2 > .components-tab-panel__tabs button {
223 width: 50%;
224 }
225
226 .DayPickerNavigation,
227 .DayPicker_weekHeader,
228 .components-button-group .components-button.is-primary,
229 .components-button-group .components-button:focus,
230 .components-toolbar .components-button,
231 .components-toolbar .components-button::before {
232 z-index: unset;
233 }
234
235 .uagb-inspect-tabs .components-tab-panel__tabs {
236 margin-bottom: 15px;
237 }
238
239 .uagb-inspect-tabs-col-3 > .components-tab-panel__tabs button {
240 width: 33.33%;
241 }
242
243 .uagb-settings-notice {
244 color: #478a3b;
245 background-color: #e5fce3;
246 padding: 15px;
247 border-left: 5px solid #c3f9c5;
248 font-size: 12px;
249 line-height: 1.5;
250 text-align: left;
251 }
252
253 .uagb-note,
254 .components-base-control__help {
255 color: #a4afb7;
256 font-size: 12px;
257 font-style: italic;
258 }
259
260 .components-range-control.uagb-margin-control .components-base-control__label {
261 width: 30px;
262 }
263
264 .uagb-icons-list .uagb-widget-icon {
265 -js-display: flex;
266 display: -webkit-box;
267 display: -webkit-flex;
268 display: -moz-box;
269 display: -ms-flexbox;
270 display: flex;
271 justify-content: center;
272 align-items: center;
273 float: left;
274 padding: 1em;
275 margin: 0;
276 border: 1px solid #f1f1f1;
277 cursor: pointer;
278 text-align: center;
279 font-size: 16px;
280 line-height: 16px;
281 -webkit-box-align: center;
282 -webkit-align-items: center;
283 -moz-box-align: center;
284 -ms-flex-align: center;
285 -webkit-box-pack: center;
286 -webkit-justify-content: center;
287 -moz-box-pack: center;
288 -ms-flex-pack: center;
289 }
290
291 .uagb-icons-list {
292 display: inline-block;
293 max-height: 200px;
294 padding: 0;
295 margin: 1em 0 0 0;
296 overflow: auto;
297 }
298
299 .uagb-widget-icon svg {
300 width: 20px;
301 height: 20px;
302 }
303
304 .uagb-icon-picker-wrap {
305 position: relative;
306 vertical-align: middle;
307 width: 100%;
308 margin: 8px 0;
309 }
310
311 .uagb-icon-picker-wrap .search-icon {
312 width: 100%;
313 background-color: #fff;
314 border: 1px solid #e0e0e0;
315 }
316
317 .components-button-group.uagb-size-type-field {
318 display: flex;
319 justify-content: flex-end;
320 margin: 0;
321 text-align: right;
322 margin-bottom: -18px;
323 }
324
325 .edit-post-sidebar h2.uagb-size-type-field-title {
326 font-size: 14px;
327 margin-bottom: 0;
328 color: #555d66;
329 margin-top: 30px;
330 }
331
332 .uagb-size-type-field button.components-button.uagb-size-btn {
333 background: transparent;
334 color: #777;
335 border: 0;
336 -webkit-box-shadow: none;
337 box-shadow: none;
338 text-shadow: none;
339 height: 18px;
340 line-height: 18px;
341 padding: 0 3px;
342 }
343
344 .uagb-size-type-field button.components-button.uagb-size-btn:first-child {
345 padding-left: 0;
346 }
347
348 .uagb-size-type-field button.components-button.uagb-size-btn:last-child {
349 padding-right: 0;
350 }
351
352 .uagb-size-type-field button.components-button.uagb-size-btn.is-primary,
353 .uagb-size-type-field button.components-button.uagb-size-btn.is-primary:focus:not( :disabled ):not( [aria-disabled="true"] ) {
354 box-shadow: none;
355 background: transparent;
356 border: none;
357 outline: none;
358 color: $spectra-color-heading;
359 text-decoration: underline;
360 -webkit-box-shadow: none;
361 }
362
363 .components-button-group .components-button.is-button {
364 position: relative;
365 z-index: 1;
366 }
367
368 .uagb-size-type-field button.components-button.uagb-size-btn:hover,
369 .uagb-size-type-field button.components-button.uagb-size-btn:hover:focus:not( :disabled ):not( [aria-disabled="true"] ) {
370 color: $spectra-color-heading;
371 background: transparent;
372 -webkit-box-shadow: none;
373 box-shadow: none;
374 border: none;
375 outline: none;
376 }
377
378 .uagb-size-type-field__common-tabs .components-tab-panel__tabs {
379 display: block;
380 margin-bottom: -34px;
381 }
382
383 .uag-box-shadow-option-actions {
384 margin-top: 1.5em;
385 margin-bottom: 2em;
386 }
387
388 .uagb__url-panel-body .block-editor-url-input input {
389 width: 100%;
390 }
391
392 /*
393 Fonticon picker css
394 */
395
396 /**
397 * #.# Editor Styles
398 *
399 * CSS for just Backend enqueued after style.scss
400 * which makes it higher in priority.
401 */
402
403 .uagb-setting-label .component-color-indicator {
404 vertical-align: middle;
405 background-color: transparent;
406 }
407
408 [class^="fipicon-"]^="fipicon-""] {
409 speak: none;
410 font-style: normal;
411 font-weight: 400;
412 font-variant: normal;
413 line-height: 1;
414 -webkit-font-smoothing: antialiased;
415 -moz-osx-font-smoothing: grayscale;
416 display: flex;
417 }
418
419 i.fipicon-angle-down::before {
420 font-family: dashicons, serif;
421 content: "\f140";
422 }
423
424 i.fipicon-angle-up::before {
425 font-family: dashicons, serif;
426 content: "\f142";
427 }
428
429 i.fipicon-angle-right::before {
430 font-family: dashicons, serif;
431 content: "\f345";
432 }
433
434 i.fipicon-angle-left::before {
435 font-family: dashicons, serif;
436 content: "\f341";
437 }
438
439 label.wp-block-uagb-blockquote__via-label svg {
440 fill: #6c7781;
441 vertical-align: middle;
442 }
443
444 .slick-arrow svg {
445 vertical-align: middle;
446 }
447
448 // Select control text going out of screen.
449
450 .uagb-inspector-tab .components-select-control .components-input-control__container .components-select-control__input {
451 text-transform: capitalize;
452 line-height: 30px;
453 }
454
455 .components-panel__body.uagb-repeater-panel {
456 max-width: 100%;
457 margin: 0 auto;
458 margin-bottom: 1em;
459 border: 1px solid #e2e4e7;
460 background: #fff;
461 margin-top: 1em;
462 }
463
464 .edit-post-settings-sidebar__panel-block .components-panel__body.uagb-repeater-panel:last-child {
465 margin-bottom: 1em;
466 }
467
468 .uagb-inline-margin .uagb-margin-control label.components-base-control__label {
469 display: inline-block;
470 }
471
472 .uagb-inline-margin .components-button-group.uagb-size-type-field {
473 display: inline-block;
474 float: right;
475 }
476
477 .uagb-forms-button-group {
478 margin-bottom: 15px;
479 }
480
481 .uag-typography-range-options + .components-base-control {
482 .components-base-control__field .css-unzpkb-Flex-Root {
483 position: inherit;
484 }
485 }
486
487 .uag-typography-range-options + .components-button-group.uagb-size-type-field {
488 margin-bottom: -33px;
489 }
490
491 /* Common uagb reset CSS start here */
492 button.components-button.uagb-reset.is-secondary.is-small:not( :disabled ) {
493 color: $spectra-color-primary;
494 }
495
496 .uagb-reset .dashicons-image-rotate {
497 width: 10px;
498 height: 10px;
499 font-size: 10px;
500 }
501
502 button.components-button.uagb-reset.is-secondary.is-small {
503 box-shadow: unset;
504 background: 0 0;
505 color: $spectra-color-icon-disabled;
506 }
507
508 /* Common uagb reset CSS end here */
509
510 /* Common CSS for border start here */
511 .uagb-border-width {
512 margin-bottom: -15px;
513 }
514
515 .uagb-border-wrap {
516 display: flex;
517 margin-bottom: 5px;
518 }
519
520 .uagb-border-radius {
521 margin-bottom: -20px;
522 }
523
524 label.uagb-border-label {
525 margin-right: 130px;
526 }
527
528 /* Common CSS for border ens here */
529
530 button.components-button.uagb-review-select-btn.is-secondary {
531 margin-bottom: 10px;
532 }
533
534 .components-panel__body .uagb-control__label {
535 margin-bottom: 0;
536 }
537
538 .uagb-components-base-control {
539 margin-bottom: 18px;
540 }
541
542 .uag-typography-range-options .components-base-control .components-flex.components-select-control {
543 position: unset;
544 }
545
546 .uag-typography-option-actions .uagb-typography-control-btn.components-button:focus:not( :disabled ) {
547 box-shadow: unset;
548 outline: none;
549 color: $spectra-color-secondary;
550 }
551
552 .uagb-inspector-tab .components-panel__body.is-opened > .components-panel__body-title {
553 margin-bottom: 16px;
554 }
555
556 .uagb-inspector-tab > .components-base-control,
557 .uagb-inspector-tab > h2 {
558 padding: 0 10px;
559 margin: -10px;
560 margin-bottom: 16px;
561 }
562
563 .uagb-inspector-tab .components-panel__body > .components-panel__body-title {
564 .components-button.components-panel__body-toggle:focus {
565 box-shadow: none;
566 }
567 }
568
569 .uag-responsive-common-button {
570 box-shadow: none;
571 color: $spectra-color-body;
572 border-radius: 100%;
573 border: 0;
574 border-bottom: 0;
575 outline: 0;
576 font-size: 10px;
577 display: inline-block;
578 height: 16px;
579 width: 22px;
580 cursor: pointer;
581 font-weight: 500;
582 padding: 4px;
583 margin: 0;
584 line-height: 0;
585 margin-left: 10px;
586
587 svg {
588 color: $spectra-color-body;
589 }
590 }
591
592 .components-panel__body.is-opened .uagb-range-control-responsive {
593 display: flex;
594 align-items: center;
595 padding: 0;
596 margin: 0;
597 margin-left: 5px;
598 }
599
600 .components-panel__body .components-base-control {
601 .uagb-control__header .uagb-range-control-responsive .uagb-responsive-tabs {
602 margin: 0;
603 padding: 4px;
604 line-height: 0;
605 box-shadow: none;
606 border: none;
607
608 &:hover {
609 color: #1e1e1e;
610 }
611 }
612 }
613
614 .uagb-inspector-tab .components-base-control .components-range-control__wrapper {
615 margin-left: 5px;
616 }
617
618 .components-range-control__slider {
619 align-items: center;
620 -webkit-appearance: none;
621 -moz-appearance: none;
622 appearance: none;
623 }
624
625 .uagb-inspector-tab span[CLASS*="-ThumbWrapper"]*="-ThumbWrapper""] {
626 left: 0%;
627 height: 17px;
628 width: 17px;
629 margin-left: 0;
630 margin-top: 6px;
631 }
632
633 .interface-interface-skeleton__sidebar {
634 margin-bottom: 10px;
635
636 .components-panel[data-uagb-tab="advance"]="advance""] .block-editor-block-inspector__advanced.uagb-extention-tab {
637 border: none;
638 border-bottom: 1px solid #e0e0e0;
639 }
640 }
641
642 /* Block icons white when block is selected in list view. */
643 .block-editor-list-view-leaf.is-selected .block-editor-list-view-block-contents svg.uagb-editor-icons {
644 > path {
645 stroke: #fff;
646 }
647 }
648
649 /* Block icons white when toggle is set to select from tools. */
650 .block-editor-block-list__block-selection-button .block-editor-block-icon.has-colors svg.uagb-editor-icons {
651 > path {
652 stroke: #fff;
653 }
654 }
655
656 /* Block icons turn to secondary color when they are a parent block. */
657 .block-editor-block-parent-selector .block-editor-block-icon svg.uagb-editor-icons {
658 > path {
659 stroke: $spectra-color-heading;
660 }
661 }
662
663 /* Block Editor Block Icons Color*/
664 .block-editor-block-icon.has-colors svg.uagb-editor-icons {
665 stroke: $spectra-color-secondary;
666
667 path {
668 stroke: $spectra-color-secondary;
669 }
670 }
671
672 /* Breadcrumbs css */
673 .block-editor .interface-interface-skeleton__footer {
674 padding: 5px;
675 border-top: 1px solid #e9e9e9;
676
677 .block-editor-block-breadcrumb {
678 li {
679 color: $spectra-color-secondary;
680 font-weight: 600;
681 font-size: 14px;
682
683 button {
684 color: $spectra-color-secondary;
685 font-weight: 600;
686 }
687
688 svg {
689 width: 25px;
690 height: 25px;
691 }
692
693 .block-editor-block-breadcrumb__button::before {
694 box-shadow: none;
695 }
696
697 .block-editor-block-breadcrumb__button:active:not( :disabled ) {
698 background: transparent;
699 }
700 }
701 }
702 }
703
704 /* Gradient Picker CSS */
705 .uagb-gradient-picker {
706 // This helps to fix alignment of gradient control input fields.
707 .components-flex.components-custom-gradient-picker__ui-line {
708 align-items: baseline;
709 }
710
711 .components-angle-picker-control {
712 margin-bottom: 0;
713 }
714
715 label {
716 text-transform: capitalize;
717 font-weight: 400;
718 }
719 }
720
721 /* Toggle Control */
722 .uagb-inspector-tab {
723 .components-toggle-control .components-base-control__field {
724 display: flex;
725 flex-direction: row-reverse;
726 justify-content: space-between;
727 align-items: center;
728 }
729 }
730
731 @import "styles/gutenberg-override";
732 @import "styles/control-responsive";
733 @import "styles/control-header";
734 @import "styles/control-popup";
735 @import "styles/control-media-picker";
736 @import "styles/spectra-change-indicators";
737 @import "styles/spectra-legacy";
738