@bpmn-io/form-js-playground 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,190 @@
1
+ .fjs-pgl-root {
2
+ --color-light-gray: #EEE;
3
+ --color-default-gray: #AAA;
4
+ --color-dark-gray: #999;
5
+ --font-family: 'IBM Plex Sans', sans-serif;
6
+ }
7
+
8
+ .fjs-pgl-root {
9
+ width: 100%;
10
+ height: 100%;
11
+
12
+ position: relative;
13
+
14
+ font-family: var(--font-family);
15
+ }
16
+
17
+ .fjs-pgl-main {
18
+ width: 100%;
19
+ height: 100%;
20
+
21
+ display: grid;
22
+ grid-template-columns: 65% 35%;
23
+ grid-template-rows: 70% 30%;
24
+ }
25
+
26
+ /**
27
+ * Section
28
+ */
29
+ .fjs-pgl-section {
30
+ display: flex;
31
+ flex-direction: column;
32
+ justify-content: stretch;
33
+ }
34
+
35
+ .fjs-pgl-section:nth-child(1),
36
+ .fjs-pgl-section:nth-child(2) {
37
+ border-bottom: double 3px var(--color-dark-gray);
38
+ }
39
+
40
+ .fjs-pgl-section:nth-child(1),
41
+ .fjs-pgl-section:nth-child(3) {
42
+ border-right: double 3px var(--color-dark-gray);
43
+ }
44
+
45
+ .fjs-pgl-section .header {
46
+ background: var(--color-light-gray);
47
+ font-size: 1rem;
48
+ margin: 0;
49
+ line-height: 2em;
50
+ padding: 0 .5em;
51
+ border-bottom: solid 1px var(--color-default-gray);
52
+ }
53
+
54
+ .fjs-pgl-section .header-items {
55
+ float: right;
56
+ }
57
+
58
+ .fjs-pgl-section .body {
59
+ flex: 1;
60
+ overflow: hidden;
61
+ }
62
+
63
+ .fjs-pgl-modal {
64
+ z-index: 5;
65
+ }
66
+
67
+ .fjs-pgl-modal .fjs-pgl-modal-backdrop {
68
+ background: rgba(0 0 0 / .5);
69
+ position: absolute;
70
+ top: 0;
71
+ left: 0;
72
+ bottom: 0;
73
+ right: 0;
74
+ z-index: 5;
75
+ }
76
+
77
+ .fjs-pgl-modal-content {
78
+ position: absolute;
79
+ top: 50%;
80
+ left: 50%;
81
+ max-width: 100%;
82
+ width: 500px;
83
+ overflow-y: auto;
84
+ max-height: 80%;
85
+ transform: translate(-40%, -50%);
86
+ z-index: 5;
87
+
88
+ font-size: 14px;
89
+
90
+ padding: 20px;
91
+
92
+ background: white;
93
+ }
94
+
95
+ .fjs-pgl-modal-content textarea {
96
+ width: 100%;
97
+ height: 300px;
98
+ overflow: auto;
99
+ }
100
+
101
+ .fjs-pgl-modal-footer {
102
+ margin-top: 20px;
103
+
104
+ text-align: right;
105
+ }
106
+
107
+ .fjs-pgl-form-container {
108
+ height: 100%;
109
+ height: 100%;
110
+ overflow: hidden;
111
+ }
112
+
113
+ .fjs-pgl-text-container {
114
+ height: 100%;
115
+ width: 100%;
116
+ box-sizing: border-box;
117
+ border: none;
118
+ border-radius: 0;
119
+ }
120
+
121
+ .fjs-pgl-text-container > .cm-editor {
122
+ font-size: .9em;
123
+ height: 100%;
124
+ }
125
+
126
+ .fjs-pgl-form-container > .fjs-container {
127
+ overflow: auto;
128
+ }
129
+
130
+ .fjs-pgl-button {
131
+
132
+ color: var(--color-text);
133
+ background-color: #fff;
134
+
135
+ border-width: 1px;
136
+ border-style: solid;
137
+ border-radius: 3px;
138
+ border-color: var(--color-lighter-gray);
139
+
140
+ font-family: var(--font-family);
141
+ }
142
+
143
+ .fjs-pgl-button-default {
144
+ padding: 7px 10px;
145
+ }
146
+
147
+ .fjs-pgl-button:hover {
148
+ background-color: var(--color-light-gray);
149
+ }
150
+
151
+ .fjs-pgl-button + .fjs-pgl-button {
152
+ margin-left: 1em;
153
+ }
154
+
155
+ .fjs-pgl-parent {
156
+ width: 100%;
157
+ height: 100%;
158
+ }/**
159
+ * file-drop.css
160
+ */
161
+ .drop-overlay {
162
+ position: fixed;
163
+ top: 0;
164
+ left: 0;
165
+ bottom: 0;
166
+ right: 0;
167
+
168
+ padding: 50px;
169
+
170
+ background: rgba(255, 255, 255, .9);
171
+
172
+ z-index: 1000;
173
+ }
174
+
175
+ .drop-overlay .box {
176
+ text-align: center;
177
+ border: dashed 4px #CCC;
178
+ height: 100%;
179
+ width: 100%;
180
+ display: table;
181
+ }
182
+
183
+ .drop-overlay .label {
184
+ font-size: 26px;
185
+ color: #888;
186
+ margin: auto;
187
+
188
+ display: table-cell;
189
+ vertical-align: middle;
190
+ }