PluginProbe
The Innovative Form Builder – IvyForms / 0.8
The Innovative Form Builder – IvyForms v0.8
1.4.1 1.4 trunk 0.1.2 0.2 0.2.1 0.3 0.3.1 0.4 0.5 0.6 0.6.1 0.6.1-backup 0.6.1.1 0.7 0.8 0.8.1 0.8.2 0.9 0.9.1 1.0 1.1 1.1.1 1.2 1.3
ivyforms / backend / src / Services / Integrations / Gutenberg / assets / build / index.css

index.css in The Innovative Form Builder – IvyForms 0.8, at backend/src/Services/Integrations/Gutenberg/assets/build/index.css

120 lines 2.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * IvyForms Gutenberg Block Editor Styles
3 */
4 .ivyforms-block-placeholder {
5 padding: 2rem;
6 text-align: center;
7 }
8 .ivyforms-block-placeholder .components-placeholder__label {
9 color: #06A192;
10 }
11 /* Block wrapper styles */
12 .ivyforms-block-wrapper {
13 min-height: 50px;
14 }
15
16 .ivyforms-gutenberg-block-preview {
17 padding: 1rem;
18 background: #f8f9fa;
19 border: 2px solid #e0e0e0;
20 border-radius: 4px;
21 position: relative;
22 transition: all 0.2s ease;
23 }
24
25 /* Overlay to prevent form interaction while allowing block selection */
26 .ivyforms-block-overlay {
27 background: rgba(255, 255, 255, 0.01);
28 cursor: pointer;
29 }
30
31 .ivyforms-block-overlay:hover {
32 background: rgba(0, 124, 186, 0.05);
33 }
34
35 .ivyforms-no-form-selected,
36 .ivyforms-form-not-found {
37 padding: 2rem;
38 text-align: center;
39 background: #FFE3CC;
40 border: 1px solid #FB923C;
41 border-radius: 4px;
42 color: #212832;
43 }
44 .ivyforms-gutenberg-block {
45 margin: 1rem 0;
46 }
47 /* Block editor specific styles */
48 .wp-block-ivyforms-gutenberg-block {
49 margin: 1.5rem 0;
50 }
51 .block-editor-block-list__block.wp-block-ivyforms-gutenberg-block {
52 max-width: 100%;
53 }
54
55 /* Toolbar button styles */
56 .block-editor-block-toolbar .components-toolbar-group .components-button.has-icon {
57 min-width: 36px;
58 }
59
60 /* Editor preview specific styles for Vue-rendered forms */
61 .ivyforms-block-editor-preview {
62 position: relative;
63 min-height: 100px;
64 }
65
66 /* Make the form non-interactive in the editor but still visible */
67 .ivyforms-block-editor-preview .ivyforms-frontend {
68 pointer-events: none; /* Prevent form interaction in editor */
69 user-select: none;
70 }
71
72 /* Allow the block to be selected */
73 .ivyforms-block-editor-preview .ivyforms-frontend::after {
74 content: '';
75 position: absolute;
76 top: 0;
77 left: 0;
78 right: 0;
79 bottom: 0;
80 background: transparent;
81 pointer-events: auto;
82 z-index: 1;
83 }
84
85 /* Style the editor preview container */
86 .ivyforms-block-editor-preview .ivyforms {
87 border: 1px solid #e0e0e0;
88 border-radius: 4px;
89 background: #fff;
90 }
91
92 /* Reduce skeleton visibility in editor */
93 .ivyforms-block-editor-preview .ivyforms-skeleton {
94 opacity: 0.5;
95 }
96
97 /* Ensure form elements are visible but not clickable */
98 .ivyforms-block-editor-preview input,
99 .ivyforms-block-editor-preview select,
100 .ivyforms-block-editor-preview textarea,
101 .ivyforms-block-editor-preview button {
102 pointer-events: none !important;
103 }
104
105 /* Add a subtle indicator that this is a preview */
106 .ivyforms-block-editor-preview::before {
107 content: 'Preview';
108 position: absolute;
109 top: 8px;
110 right: 8px;
111 background: rgba(0, 0, 0, 0.6);
112 color: white;
113 padding: 2px 8px;
114 border-radius: 3px;
115 font-size: 11px;
116 font-weight: 500;
117 z-index: 10;
118 pointer-events: none;
119 }
120