Commit | Line | Data |
---|---|---|
a064e90d | 1 | #afGuiEditor #afGuiEditor-palette { |
c820e08c | 2 | margin-right: 5px; |
f6c0358e CW |
3 | } |
4 | ||
a064e90d | 5 | #afGuiEditor #afGuiEditor-canvas { |
c820e08c CW |
6 | margin-left: 5px; |
7 | } | |
8 | ||
9651d93c CW |
9 | #afGuiEditor .panel-body { |
10 | padding: 5px 12px; | |
11 | position: relative; | |
12 | } | |
13 | ||
14 | #afGuiEditor fieldset legend { | |
3fc5bbff | 15 | padding-top: 5px; |
9651d93c CW |
16 | font-size: 16px; |
17 | margin-bottom: 5px !important; | |
18 | } | |
19 | ||
54dbfd05 CW |
20 | #afGuiEditor-palette fieldset legend { |
21 | height: 30px; | |
22 | } | |
23 | ||
9651d93c CW |
24 | #afGuiEditor hr { |
25 | margin-top: 15px; | |
26 | margin-bottom: 10px; | |
3fc5bbff CW |
27 | } |
28 | ||
a064e90d CW |
29 | #afGuiEditor #afGuiEditor-palette-tabs li { |
30 | top: 1px; | |
31 | } | |
32 | ||
33 | #afGuiEditor #afGuiEditor-palette-tabs li > a { | |
c820e08c CW |
34 | padding: 10px 15px; |
35 | font-size: 12px; | |
36 | } | |
37 | ||
9651d93c | 38 | #afGuiEditor .af-gui-columns { |
9651d93c | 39 | position: relative; |
9651d93c CW |
40 | } |
41 | #afGuiEditor .af-gui-columns > * { | |
9651d93c CW |
42 | min-width: 200px; |
43 | } | |
44 | ||
45 | #afGuiEditor .af-gui-remove-entity { | |
46 | position: absolute; | |
47 | right: 3px; | |
48 | top: 3px; | |
c820e08c CW |
49 | } |
50 | ||
a064e90d CW |
51 | #afGuiEditor .crm-editable-enabled, |
52 | #afGuiEditor-palette-tabs > li > a > span { | |
53 | display: inline-block; | |
54 | padding: 0 4px !important; | |
55 | border: 2px solid transparent !important; | |
56 | } | |
57 | #afGuiEditor .crm-editable-enabled:hover:not(:focus) { | |
58 | border: 2px dashed grey !important; | |
59 | } | |
60 | #afGuiEditor .crm-editable-enabled:before, | |
61 | #afGuiEditor .crm-editable-enabled:after { | |
62 | content: ''; | |
63 | display: none; | |
64 | } | |
65 | ||
edac0d6e | 66 | #afGuiEditor-palette-config .af-gui-entity-values .form-inline { |
a064e90d CW |
67 | margin-bottom: 10px; |
68 | } | |
69 | ||
70 | #afGuiEditor-palette-config .form-inline label { | |
71 | min-width: 110px; | |
f6c0358e | 72 | } |
f3cd3852 | 73 | |
e1aca853 CW |
74 | #afGuiEditor-palette-config .af-gui-entity-palette [type=search] { |
75 | width: 120px; | |
76 | padding: 3px 3px 3px 5px; | |
54dbfd05 | 77 | height: 25px; |
e1aca853 CW |
78 | font-weight: normal; |
79 | position: relative; | |
80 | top: -3px; | |
81 | font-size: 12px; | |
82 | } | |
83 | ||
edac0d6e CW |
84 | #afGuiEditor input[type=search]::placeholder { |
85 | font-family: FontAwesome; | |
86 | text-align: right; | |
87 | } | |
88 | #afGuiEditor input[type=search]:-ms-input-placeholder { | |
89 | font-family: FontAwesome; | |
90 | text-align: right; | |
91 | } | |
92 | #afGuiEditor input[type=search]::-ms-input-placeholder { | |
93 | font-family: FontAwesome; | |
94 | text-align: right; | |
95 | } | |
96 | ||
f3cd3852 | 97 | #afGuiEditor .af-gui-bar { |
3fc5bbff CW |
98 | height: 22px; |
99 | width: 100%; | |
100 | opacity: 0; | |
101 | transition: opacity 1s 2s; | |
102 | position:relative; | |
4bd44053 CW |
103 | font-family: "Courier New", Courier, monospace; |
104 | font-size: 12px; | |
3fc5bbff CW |
105 | } |
106 | #afGuiEditor [ui-sortable] .af-gui-bar { | |
f3cd3852 | 107 | cursor: move; |
4bd44053 | 108 | background-color: #f2f2f2; |
f3cd3852 CW |
109 | position: absolute; |
110 | top: 0; | |
111 | left: 0; | |
cd5ae5b9 | 112 | padding-left: 15px; |
f3cd3852 | 113 | } |
f3cd3852 | 114 | #afGuiEditor-canvas:hover .af-gui-bar { |
cd5ae5b9 CW |
115 | opacity: 1; |
116 | transition: opacity .2s; | |
117 | } | |
118 | ||
119 | #afGuiEditor .af-gui-bar .btn.active { | |
120 | background-color: #b3b3b3; | |
f3cd3852 CW |
121 | } |
122 | ||
e72f4d81 | 123 | #afGuiEditor .af-gui-element { |
f3cd3852 | 124 | position: relative; |
4bd44053 | 125 | padding: 0 3px 3px; |
ab3c1d83 | 126 | display: block; |
e72f4d81 CW |
127 | } |
128 | ||
6fb9e8d2 | 129 | #afGuiEditor .af-gui-container { |
f3cd3852 | 130 | border: 2px dashed transparent; |
b4def6e9 CW |
131 | position: relative; |
132 | padding: 22px 3px 3px; | |
4bd44053 | 133 | min-height: 40px; |
ab3c1d83 CW |
134 | display: block; |
135 | } | |
136 | ||
137 | #afGuiEditor af-gui-markup, | |
b15070eb CW |
138 | #afGuiEditor af-gui-field, |
139 | #afGuiEditor af-gui-edit-options { | |
ab3c1d83 | 140 | display: block; |
4bd44053 CW |
141 | } |
142 | ||
6fb9e8d2 | 143 | #afGuiEditor .af-gui-container-type-fieldset { |
4bd44053 | 144 | box-shadow: 0 0 5px #bbbbbb; |
f3cd3852 CW |
145 | } |
146 | ||
6fb9e8d2 | 147 | #afGuiEditor .af-gui-container:hover { |
e72f4d81 CW |
148 | border: 2px dashed #757575; |
149 | } | |
150 | ||
192695ae CW |
151 | #afGuiEditor .af-gui-markup { |
152 | padding: 22px 3px 3px; | |
153 | position: relative; | |
154 | } | |
155 | ||
156 | #afGuiEditor div.af-gui-markup-content { | |
157 | display: block; | |
158 | position: relative; | |
159 | padding: 0 !important; | |
160 | } | |
161 | ||
162 | #afGuiEditor .af-gui-markup-content-overlay { | |
163 | position: absolute; | |
164 | top: 0; | |
165 | left: 0; | |
166 | width: 100%; | |
167 | height: 100%; | |
168 | } | |
169 | ||
170 | #afGuiEditor .af-gui-markup-content:hover .af-gui-markup-content-overlay { | |
171 | background-color: rgba(255, 255, 255, .2); | |
172 | } | |
173 | ||
f3cd3852 CW |
174 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected { |
175 | border: 2px dashed #0071bd; | |
176 | } | |
177 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar { | |
178 | background-color: #0071bd; | |
5f535e6c CW |
179 | opacity: 1; |
180 | transition: opacity 0s; | |
181 | } | |
70a14f69 CW |
182 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar > .form-inline > button > span, |
183 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar > .form-inline > span { | |
f3cd3852 CW |
184 | color: white; |
185 | } | |
70a14f69 CW |
186 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar > .form-inline > button:hover > span, |
187 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar > .open > button > span, | |
188 | #afGuiEditor #afGuiEditor-canvas .af-entity-selected > .af-gui-bar > .form-inline > button:focus > span { | |
189 | color: #0071bd; | |
190 | } | |
f3cd3852 | 191 | |
65c9e7ae CW |
192 | #afGuiEditor [ui-sortable] { |
193 | min-height: 25px; | |
194 | } | |
195 | ||
e1aca853 CW |
196 | #afGuiEditor .af-gui-entity-palette-select-list { |
197 | max-height: 400px; | |
65c9e7ae CW |
198 | overflow-y: auto; |
199 | } | |
200 | ||
e1aca853 | 201 | #afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div { |
65c9e7ae | 202 | cursor: move; |
e1aca853 | 203 | padding-left: 10px; |
65c9e7ae CW |
204 | position: relative; |
205 | } | |
e1aca853 | 206 | #afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div.disabled { |
65c9e7ae CW |
207 | cursor: auto; |
208 | } | |
e1aca853 | 209 | #afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div:not(.disabled):hover { |
65c9e7ae CW |
210 | background-color: #efefef; |
211 | } | |
212 | /* grip handle */ | |
3fc5bbff | 213 | #afGuiEditor [ui-sortable] .af-gui-bar:before, |
e1aca853 | 214 | #afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div:not(.disabled):hover:before, |
b15070eb | 215 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area [ui-sortable] li:before { |
65c9e7ae CW |
216 | background-size: cover; |
217 | background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSIjODg4Ij48L3JlY3Q+Cjwvc3ZnPg=="); | |
218 | width: 10px; | |
219 | height: 15px; | |
220 | content: ' '; | |
221 | display: block; | |
222 | position: absolute; | |
223 | left: 4px; | |
224 | top: 5px; | |
225 | } | |
70a14f69 CW |
226 | #afGuiEditor .af-gui-add-element-button { |
227 | background-color: transparent; | |
228 | } | |
6fb9e8d2 | 229 | #afGuiEditor .af-gui-add-element-button span { |
5f535e6c | 230 | display: inline-block; |
3fc5bbff CW |
231 | width: 18px; |
232 | height: 18px; | |
3fc5bbff | 233 | color: #0071bd; |
5f535e6c | 234 | } |
5f535e6c | 235 | |
5eaf91d9 CW |
236 | #afGuiEditor .af-gui-layout-icon { |
237 | width: 12px; | |
238 | height: 11px; | |
239 | display: block; | |
240 | background-image: url('../images/icons.png'); | |
241 | background-repeat: no-repeat; | |
242 | margin: 4px 1px; | |
243 | } | |
244 | #afGuiEditor .af-gui-layout-icon.af-layout-cols { | |
245 | background-position: -12px 0; | |
246 | } | |
247 | #afGuiEditor .af-gui-layout-icon.af-layout-rows { | |
248 | background-position: -24px 0; | |
249 | } | |
250 | ||
251 | #afGuiEditor .af-gui-layout.af-layout-cols { | |
252 | display: flex; | |
253 | } | |
254 | #afGuiEditor .af-gui-layout.af-layout-cols > div { | |
255 | flex: 1; | |
256 | } | |
257 | #afGuiEditor .af-gui-layout.af-layout-inline > div { | |
258 | display: inline-block; | |
259 | width: 300px; | |
260 | } | |
28b4ace4 | 261 | |
4bd44053 CW |
262 | #afGuiEditor .af-gui-button { |
263 | padding-left: 15px; | |
264 | } | |
265 | ||
9651d93c CW |
266 | #afGuiEditor .af-gui-button > .btn.disabled { |
267 | cursor: default !important; | |
268 | color: white !important; | |
269 | } | |
4bd44053 CW |
270 | #afGuiEditor .af-gui-button > .btn.disabled .crm-editable-enabled:hover:not(:focus) { |
271 | border-color: #f4f4f4 !important; | |
272 | } | |
9651d93c CW |
273 | |
274 | #afGuiEditor .af-gui-button > .btn-default.disabled { | |
275 | background-color: lightgrey !important; | |
276 | } | |
277 | ||
4bd44053 CW |
278 | #afGuiEditor .af-gui-node-title { |
279 | margin-left: 5px; | |
280 | margin-right: 20px; | |
281 | position: relative; | |
282 | } | |
283 | ||
284 | #afGuiEditor .af-gui-field-required:after { | |
285 | content: '*'; | |
286 | color: #cf3458; | |
287 | position: relative; | |
288 | left: -4px; | |
289 | } | |
290 | ||
9c572641 | 291 | #afGuiEditor .dropdown-menu li { |
4bd44053 CW |
292 | cursor: default; |
293 | } | |
294 | ||
9c572641 CW |
295 | #afGuiEditor .dropdown-menu li .af-gui-field-select-in-dropdown { |
296 | padding: 2px 19px 2px 21px; | |
297 | clear: both; | |
298 | font-weight: 400; | |
299 | line-height: 1.5384615385; | |
300 | color: #4d4d69; | |
301 | white-space: nowrap; | |
302 | } | |
303 | ||
304 | #afGuiEditor .dropdown-menu li > * > label { | |
305 | font-weight: normal; | |
e1aca853 | 306 | cursor: pointer; |
9c572641 CW |
307 | } |
308 | ||
309 | #afGuiEditor .dropdown-menu li .af-gui-field-select-in-dropdown > select { | |
310 | max-width: 120px; | |
311 | padding-left: 5px; | |
312 | padding-right: 5px; | |
313 | } | |
314 | ||
51ec7d5a CW |
315 | #afGuiEditor li .af-gui-field-select-in-dropdown input[type=color] { |
316 | width: 30px; | |
317 | padding: 2px 4px; | |
318 | } | |
319 | ||
e1aca853 CW |
320 | #afGuiEditor li .af-gui-field-select-in-dropdown input[type=number] { |
321 | width: 50px; | |
322 | padding-right: 0; | |
323 | } | |
324 | ||
9c572641 | 325 | /* For editing field placeholder text */ |
b4def6e9 | 326 | #afGuiEditor .af-gui-field-input input[type=text].form-control { |
4bd44053 CW |
327 | color: #9a9a9a; |
328 | } | |
329 | ||
b22ac9e5 | 330 | #afGuiEditor .af-gui-field-input-type-number input[type=text].form-control { |
4bd44053 CW |
331 | background-image: url('../images/number.png'); |
332 | background-repeat: no-repeat; | |
333 | background-position: center right 6px; | |
334 | } | |
335 | ||
b4def6e9 | 336 | #afGuiEditor .af-gui-field-input input.crm-form-date { |
4bd44053 CW |
337 | width: 140px; |
338 | margin-right: -2px; | |
339 | } | |
b4def6e9 | 340 | #afGuiEditor .af-gui-field-input input.crm-form-time { |
4bd44053 CW |
341 | width: 80px; |
342 | } | |
343 | ||
b4def6e9 CW |
344 | #afGuiEditor .af-gui-field-input-type-radio label.radio { |
345 | font-weight: normal; | |
346 | margin-right: 10px; | |
347 | } | |
348 | #afGuiEditor .af-gui-field-input-type-radio label.radio input[type=radio] { | |
349 | margin: 0; | |
b4def6e9 | 350 | } |
22946dcf CW |
351 | #afGuiEditor .af-gui-field-input-type-select .input-group-btn { |
352 | position: initial; | |
353 | } | |
21dff704 | 354 | #afGuiEditor .af-gui-field-input-type-chainselect .input-group .dropdown-toggle, |
22946dcf CW |
355 | #afGuiEditor .af-gui-field-input-type-select .input-group .dropdown-toggle { |
356 | padding: 3px 11px; | |
357 | } | |
358 | #afGuiEditor .af-gui-field-input-type-select .input-group .dropdown-menu { | |
359 | width: 100%; | |
360 | right: 0; | |
361 | } | |
362 | #afGuiEditor .af-gui-field-input-type-select .input-group .dropdown-menu a { | |
363 | cursor: default; | |
364 | } | |
b4def6e9 | 365 | |
4bd44053 CW |
366 | #afGuiEditor .af-gui-text-h1 { |
367 | font-weight: bolder; | |
368 | font-size: 16px; | |
369 | } | |
370 | ||
371 | #afGuiEditor .af-gui-text-h2 { | |
372 | font-weight: bold; | |
373 | font-size: 15px; | |
374 | } | |
375 | ||
376 | #afGuiEditor .af-gui-text-legend, | |
377 | #afGuiEditor .af-gui-text-h3 { | |
378 | font-weight: bold; | |
379 | font-size: 14px; | |
380 | } | |
381 | ||
382 | #afGuiEditor .af-gui-text-legend { | |
383 | text-decoration: underline; | |
384 | } | |
385 | ||
386 | #afGuiEditor .af-gui-text-h4 { | |
387 | font-weight: bold; | |
388 | } | |
389 | ||
390 | #afGuiEditor .af-gui-text-h5 { | |
391 | font-weight: 600; | |
392 | } | |
393 | ||
394 | #afGuiEditor .af-gui-text-h6 { | |
395 | font-weight: 500; | |
396 | } | |
397 | ||
398 | #afGuiEditor .af-gui-field-help { | |
399 | font-style: italic; | |
400 | } | |
b4def6e9 | 401 | |
192695ae | 402 | #afGuiEditor.af-gui-editing-content { |
b4def6e9 CW |
403 | pointer-events: none; |
404 | cursor: default; | |
405 | } | |
192695ae CW |
406 | #afGuiEditor.af-gui-editing-content .panel-heading, |
407 | #afGuiEditor.af-gui-editing-content .af-gui-element, | |
408 | #afGuiEditor.af-gui-editing-content .af-gui-markup-content, | |
409 | .af-gui-editing-content #afGuiEditor-palette .panel-body > * { | |
b4def6e9 CW |
410 | opacity: .5; |
411 | } | |
6fb9e8d2 | 412 | #afGuiEditor.af-gui-editing-content .af-gui-container { |
b4def6e9 CW |
413 | border: 2px solid transparent; |
414 | } | |
192695ae | 415 | #afGuiEditor.af-gui-editing-content .af-gui-bar { |
b4def6e9 CW |
416 | visibility: hidden; |
417 | } | |
192695ae | 418 | #afGuiEditor.af-gui-editing-content .af-gui-bar:before { |
b4def6e9 CW |
419 | background: none; |
420 | } | |
421 | ||
192695ae | 422 | #afGuiEditor .af-gui-content-editing-area { |
b4def6e9 CW |
423 | pointer-events: auto; |
424 | cursor: auto; | |
425 | padding-top: 35px; | |
426 | position: relative; | |
427 | } | |
428 | ||
b15070eb | 429 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area { |
192695ae CW |
430 | border: 2px solid #0071bd; |
431 | } | |
432 | ||
433 | #afGuiEditor .af-gui-content-editing-area .af-gui-edit-options-bar { | |
b4def6e9 CW |
434 | height: 30px; |
435 | font-family: "Courier New", Courier, monospace; | |
436 | font-size: 12px; | |
437 | width: 100%; | |
438 | background-color: #f2f2f2; | |
439 | position: absolute; | |
440 | top: 0; | |
441 | left: 0; | |
442 | padding-left: 15px; | |
443 | } | |
e1aca853 CW |
444 | #afGuiEditor .af-gui-edit-options-bar .btn-group-sm { |
445 | position: absolute; | |
446 | top: 0; | |
447 | right: 0; | |
448 | } | |
b15070eb | 449 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] { |
b4def6e9 CW |
450 | padding: 5px 20px 0; |
451 | } | |
b15070eb | 452 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li { |
b4def6e9 CW |
453 | list-style: none; |
454 | padding-left: 15px; | |
455 | position: relative; | |
456 | background-color:#e7ecf1; | |
457 | cursor: move; | |
458 | } | |
b15070eb | 459 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li:nth-child(even) { |
b4def6e9 CW |
460 | background-color:#f2f2f2; |
461 | } | |
b15070eb | 462 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li > div { |
b4def6e9 CW |
463 | width: calc(100% - 30px); |
464 | display: inline-block; | |
465 | } | |
b15070eb | 466 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul.af-gui-edit-options-deleted li > div { |
b4def6e9 CW |
467 | text-decoration: line-through; |
468 | } | |
b15070eb | 469 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li .btn-xs { |
b4def6e9 CW |
470 | border: 0 none; |
471 | } | |
b15070eb | 472 | #afGuiEditor af-gui-edit-options.af-gui-content-editing-area h5 { |
b4def6e9 CW |
473 | margin-left: 20px; |
474 | } | |
e9dc7ca5 CW |
475 | |
476 | #afGuiEditor .af-gui-dropzone { | |
477 | background-color: #e9eeff; | |
478 | border: 2px solid #0071bd; | |
479 | min-height: 30px; | |
480 | } |