Merge pull request #19382 from totten/master-maxfile
[civicrm-core.git] / ext / afform / admin / ang / afGuiEditor.css
... / ...
CommitLineData
1#afGuiEditor #afGuiEditor-palette {
2 margin-right: 5px;
3}
4
5#afGuiEditor #afGuiEditor-canvas {
6 margin-left: 5px;
7}
8
9#afGuiEditor .panel-body {
10 padding: 5px 12px;
11 position: relative;
12}
13
14#afGuiEditor fieldset legend {
15 padding-top: 5px;
16 font-size: 16px;
17 margin-bottom: 5px !important;
18}
19
20#afGuiEditor-palette fieldset legend {
21 height: 30px;
22}
23
24#afGuiEditor hr {
25 margin-top: 15px;
26 margin-bottom: 10px;
27}
28
29#afGuiEditor #afGuiEditor-palette-tabs li {
30 top: 1px;
31}
32
33#afGuiEditor #afGuiEditor-palette-tabs li > a {
34 padding: 10px 15px;
35 font-size: 12px;
36}
37
38#afGuiEditor .af-gui-columns {
39 position: relative;
40}
41#afGuiEditor .af-gui-columns > * {
42 min-width: 200px;
43}
44
45#afGuiEditor .af-gui-remove-entity {
46 position: absolute;
47 right: 3px;
48 top: 3px;
49}
50
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
66#afGuiEditor-palette-config .af-gui-entity-values .form-inline {
67 margin-bottom: 10px;
68}
69
70#afGuiEditor-palette-config .form-inline label {
71 min-width: 110px;
72}
73
74#afGuiEditor-palette-config .af-gui-entity-palette [type=search] {
75 width: 120px;
76 padding: 3px 3px 3px 5px;
77 height: 25px;
78 font-weight: normal;
79 position: relative;
80 top: -3px;
81 font-size: 12px;
82}
83
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
97#afGuiEditor .af-gui-bar {
98 height: 22px;
99 width: 100%;
100 opacity: 0;
101 transition: opacity 1s 2s;
102 position:relative;
103 font-family: "Courier New", Courier, monospace;
104 font-size: 12px;
105}
106#afGuiEditor [ui-sortable] .af-gui-bar {
107 cursor: move;
108 background-color: #f2f2f2;
109 position: absolute;
110 top: 0;
111 left: 0;
112 padding-left: 15px;
113}
114#afGuiEditor-canvas:hover .af-gui-bar {
115 opacity: 1;
116 transition: opacity .2s;
117}
118
119#afGuiEditor .af-gui-bar .btn.active {
120 background-color: #b3b3b3;
121}
122
123#afGuiEditor .af-gui-element {
124 position: relative;
125 padding: 0 3px 3px;
126 display: block;
127}
128
129#afGuiEditor .af-gui-container {
130 border: 2px dashed transparent;
131 position: relative;
132 padding: 22px 3px 3px;
133 min-height: 40px;
134 display: block;
135}
136
137#afGuiEditor af-gui-markup,
138#afGuiEditor af-gui-field,
139#afGuiEditor af-gui-edit-options {
140 display: block;
141}
142
143#afGuiEditor .af-gui-container-type-fieldset {
144 box-shadow: 0 0 5px #bbbbbb;
145}
146
147#afGuiEditor .af-gui-container:hover {
148 border: 2px dashed #757575;
149}
150
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
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;
179 opacity: 1;
180 transition: opacity 0s;
181}
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 {
184 color: white;
185}
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}
191
192#afGuiEditor [ui-sortable] {
193 min-height: 25px;
194}
195
196#afGuiEditor .af-gui-entity-palette-select-list {
197 max-height: 400px;
198 overflow-y: auto;
199}
200
201#afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div {
202 cursor: move;
203 padding-left: 10px;
204 position: relative;
205}
206#afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div.disabled {
207 cursor: auto;
208}
209#afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div:not(.disabled):hover {
210 background-color: #efefef;
211}
212/* grip handle */
213#afGuiEditor [ui-sortable] .af-gui-bar:before,
214#afGuiEditor .af-gui-entity-palette-select-list [ui-sortable] > div:not(.disabled):hover:before,
215#afGuiEditor af-gui-edit-options.af-gui-content-editing-area [ui-sortable] li:before {
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}
226#afGuiEditor .af-gui-add-element-button {
227 background-color: transparent;
228}
229#afGuiEditor .af-gui-add-element-button span {
230 display: inline-block;
231 width: 18px;
232 height: 18px;
233 color: #0071bd;
234}
235
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}
261
262#afGuiEditor .af-gui-button {
263 padding-left: 15px;
264}
265
266#afGuiEditor .af-gui-button > .btn.disabled {
267 cursor: default !important;
268 color: white !important;
269}
270#afGuiEditor .af-gui-button > .btn.disabled .crm-editable-enabled:hover:not(:focus) {
271 border-color: #f4f4f4 !important;
272}
273
274#afGuiEditor .af-gui-button > .btn-default.disabled {
275 background-color: lightgrey !important;
276}
277
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
291#afGuiEditor .dropdown-menu li {
292 cursor: default;
293}
294
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;
306 cursor: pointer;
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
315#afGuiEditor li .af-gui-field-select-in-dropdown input[type=color] {
316 width: 30px;
317 padding: 2px 4px;
318}
319
320#afGuiEditor li .af-gui-field-select-in-dropdown input[type=number] {
321 width: 50px;
322 padding-right: 0;
323}
324
325/* For editing field placeholder text */
326#afGuiEditor .af-gui-field-input input[type=text].form-control {
327 color: #9a9a9a;
328}
329
330#afGuiEditor .af-gui-field-input-type-number input[type=text].form-control {
331 background-image: url('../images/number.png');
332 background-repeat: no-repeat;
333 background-position: center right 6px;
334}
335
336#afGuiEditor .af-gui-field-input input.crm-form-date {
337 width: 140px;
338 margin-right: -2px;
339}
340#afGuiEditor .af-gui-field-input input.crm-form-time {
341 width: 80px;
342}
343
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;
350}
351#afGuiEditor .af-gui-field-input-type-select .input-group-btn {
352 position: initial;
353}
354#afGuiEditor .af-gui-field-input-type-chainselect .input-group .dropdown-toggle,
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}
365
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}
401
402#afGuiEditor.af-gui-editing-content {
403 pointer-events: none;
404 cursor: default;
405}
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 > * {
410 opacity: .5;
411}
412#afGuiEditor.af-gui-editing-content .af-gui-container {
413 border: 2px solid transparent;
414}
415#afGuiEditor.af-gui-editing-content .af-gui-bar {
416 visibility: hidden;
417}
418#afGuiEditor.af-gui-editing-content .af-gui-bar:before {
419 background: none;
420}
421
422#afGuiEditor .af-gui-content-editing-area {
423 pointer-events: auto;
424 cursor: auto;
425 padding-top: 35px;
426 position: relative;
427}
428
429#afGuiEditor af-gui-edit-options.af-gui-content-editing-area {
430 border: 2px solid #0071bd;
431}
432
433#afGuiEditor .af-gui-content-editing-area .af-gui-edit-options-bar {
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}
444#afGuiEditor .af-gui-edit-options-bar .btn-group-sm {
445 position: absolute;
446 top: 0;
447 right: 0;
448}
449#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] {
450 padding: 5px 20px 0;
451}
452#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li {
453 list-style: none;
454 padding-left: 15px;
455 position: relative;
456 background-color:#e7ecf1;
457 cursor: move;
458}
459#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li:nth-child(even) {
460 background-color:#f2f2f2;
461}
462#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li > div {
463 width: calc(100% - 30px);
464 display: inline-block;
465}
466#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul.af-gui-edit-options-deleted li > div {
467 text-decoration: line-through;
468}
469#afGuiEditor af-gui-edit-options.af-gui-content-editing-area ul[ui-sortable] li .btn-xs {
470 border: 0 none;
471}
472#afGuiEditor af-gui-edit-options.af-gui-content-editing-area h5 {
473 margin-left: 20px;
474}
475
476#afGuiEditor .af-gui-dropzone {
477 background-color: #e9eeff;
478 border: 2px solid #0071bd;
479 min-height: 30px;
480}