PluginProbe
Block Animations, Motion & Scroll Effects – Ghost Kit / 3.3.3
Block Animations, Motion & Scroll Effects – Ghost Kit v3.3.3
3.7.2 3.7.1 3.7.0 3.6.1 trunk 1.6.3 2.25.0 3.3.0 3.3.1 3.3.2 3.3.3 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.4.6 3.5.0 3.5.1 3.6.0
ghostkit / gutenberg / blocks / form / styles / editor.scss

editor.scss in Block Animations, Motion & Scroll Effects – Ghost Kit 3.3.3, at gutenberg/blocks/form/styles/editor.scss

90 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Editor Styles
3 */
4 @import "./variables";
5 @import "./style";
6
7 .ghostkit-form {
8 > .block-editor-inserter {
9 display: block;
10 margin-top: 20px;
11 }
12
13 // Reset field default styles.
14 &-field > .components-base-control,
15 &-field-row > div > .components-base-control {
16 font-family: inherit;
17 font-size: 1em;
18 }
19
20 &-field-description {
21 margin-bottom: 0;
22 }
23
24 &-field-label > .block-editor-rich-text {
25 display: inline-block;
26 }
27
28 // Disable pointer events.
29 &-field .components-text-control__input,
30 &-field .components-select-control__input,
31 &-field .components-textarea-control__input,
32 &-field &-field-checkbox-item,
33 &-field &-field-radio-item {
34 pointer-events: none;
35 }
36
37 // Fix for Select field width.
38 &-field .components-select-control__input {
39 max-width: none;
40 }
41
42 // Submit button.
43 &-submit-button > .block-editor-inner-blocks > .block-editor-block-list__layout {
44 display: flex;
45 justify-content: var(--gkt-button__align-items);
46
47 > .wp-block {
48 margin: 0;
49 }
50 }
51 }
52
53 // Options component.
54 .ghostkit-field-options-item {
55 display: flex;
56 align-items: center;
57 margin-bottom: 8px;
58
59 > [type="radio"]="radio""],
60 > [type="checkbox"]="checkbox""] {
61 margin-bottom: 0;
62 }
63
64 > .components-base-control {
65 flex: 1;
66 }
67
68 > .components-button {
69 height: 30px;
70 padding-top: 4px;
71 padding-right: 0;
72 padding-bottom: 4px;
73 margin-left: 3px;
74 }
75
76 .components-base-control__field {
77 margin-bottom: 0;
78 }
79
80 .components-text-control__input {
81 pointer-events: inherit;
82 }
83 }
84
85 .ghostkit-field-options > .components-button {
86 padding-top: 0;
87 padding-left: 16px;
88 margin-top: -4px;
89 }
90