Skip to content

Commit dc48bdc

Browse files
committed
Updated to v4.6.0: added Add-On visual editor, various UI improvements.
1 parent 7ae55e1 commit dc48bdc

File tree

240 files changed

+39084
-2004
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+39084
-2004
lines changed

css/app.css

Lines changed: 220 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,32 @@
5050
overflow-y: auto;
5151
}
5252

53-
:disabled,
54-
[disabled="disabled"],
55-
[disabled="true"] {
56-
opacity: 0.7 !important;
53+
input:not([type=checkbox]):disabled,
54+
input:not([type=checkbox])[disabled="disabled"],
55+
input:not([type=checkbox])[disabled="true"],
56+
textarea:disabled,
57+
textarea[disabled="disabled"],
58+
textarea[disabled="true"],
59+
textarea:read-only {
60+
background-color: var(--bs-gray-200) !important;
61+
opacity: 0.87 !important;
62+
}
63+
64+
input:read-only {
65+
background-color: var(--bs-gray-200) !important;
5766
}
5867

5968
input[type=checkbox]:disabled,
60-
[disabled="true"] {
61-
opacity: 0.4 !important;
69+
input[type=checkbox][disabled="true"] {
70+
opacity: 0.5 !important;
6271
}
6372

6473
.text-primary-dashed,
6574
.text-primary-dashed * {
6675
color: var(--bs-primary) !important;
6776
text-decoration: underline dotted var(--bs-primary) !important;
6877
text-underline-offset: 20%;
69-
cursor: pointer !important;
78+
cursor: pointer !important;
7079
}
7180

7281
.text-size-2 {
@@ -159,18 +168,13 @@ textarea[readonly] {
159168
padding: 12px 12px 0px 12px;
160169
}
161170

162-
.app-sidebar .toggle-btn {
171+
.app-sidebar .btn-toggle {
163172
top: 10px;
164-
position: absolute;
165-
width: 32px;
166-
height: 32px;
167173
left: 16px;
168174
right: auto;
169-
font-weight: bold;
170-
z-index: 99;
171175
}
172176

173-
.app-sidebar.right .toggle-btn {
177+
.app-sidebar.right .btn-toggle {
174178
right: 4px;
175179
left: auto;
176180
}
@@ -184,6 +188,168 @@ textarea[readonly] {
184188
}
185189

186190

191+
/* Forms Styling ------------- */
192+
.form-control-width {
193+
width: 150px;
194+
}
195+
196+
.form-control-width-2 {
197+
width: 200px;
198+
}
199+
200+
.form-control-width-3 {
201+
width: 250px;
202+
}
203+
204+
.form-control-width-4 {
205+
width: 300px;
206+
}
207+
208+
209+
select.form-control,
210+
input.form-control {
211+
height: 38px;
212+
}
213+
214+
.form-control:disabled {
215+
opacity: 1 !important;
216+
}
217+
218+
.form-group {
219+
position: relative;
220+
}
221+
222+
.form-control-error {
223+
position: absolute;
224+
}
225+
226+
227+
228+
/* Buttons Styling ------------- */
229+
.btn-circle {
230+
width: 32px;
231+
height: 32px;
232+
text-align: center;
233+
padding: 6px 0;
234+
font-size: 12px;
235+
line-height: 1.428571429;
236+
border-radius: 15px;
237+
overflow: hidden;
238+
}
239+
240+
.btn-toggle {
241+
position: absolute;
242+
font-weight: bold;
243+
z-index: 99;
244+
font-size: 24px;
245+
line-height: 24px;
246+
}
247+
248+
.btn:disabled {
249+
opacity: 0.4 !important;
250+
}
251+
252+
.btn-sm.rounded-circle {
253+
width: 32px;
254+
height: 32px;
255+
}
256+
257+
258+
/* Tooltips Styling ------------- */
259+
.tooltip-inner {
260+
width: 100vw !important;
261+
text-align: left;
262+
padding: 12px;
263+
max-width: min(300px, 90vw) !important;
264+
}
265+
266+
.tooltip-object .tooltip-inner {
267+
max-width: min(300px, 90vw) !important;
268+
}
269+
270+
.tooltip-objectErrors .tooltip-inner {
271+
max-width: min(800px, 90vw) !important;
272+
}
273+
274+
.tooltip-mainStateAlertBox .tooltip-inner {
275+
max-width: min(1024px, 90vw) !important;
276+
}
277+
278+
/* Components Styling -----------*/
279+
.settings-form {
280+
height: calc(max(100vh - 456px, 220px));
281+
overflow-y: auto;
282+
width: 100%;
283+
overflow-x: hidden;
284+
/* padding: 0px 1rem 0 0; */
285+
}
286+
287+
.command-line-form {
288+
height: calc(max(100vh - 556px, 220px));
289+
overflow-y: auto;
290+
width: 100%;
291+
overflow-x: hidden;
292+
padding: 0px 1rem 0 0;
293+
294+
}
295+
296+
.auto-height-h500 {
297+
height: calc(max(100vh - 500px, 220px)) !important;
298+
}
299+
300+
.auto-height-h554 {
301+
height: calc(max(100vh - 554px, 220px)) !important;
302+
}
303+
304+
.auto-height-h557 {
305+
height: calc(max(100vh - 646px, 220px)) !important;
306+
}
307+
308+
.auto-height-h720 {
309+
height: calc(max(100vh - 670px, 220px)) !important;
310+
}
311+
312+
.auto-height-h750 {
313+
height: calc(max(100vh - 750px, 220px)) !important;
314+
}
315+
316+
.auto-height-h790 {
317+
height: calc(max(100vh - 790px, 220px)) !important;
318+
}
319+
320+
321+
.auto-height-h835 {
322+
height: calc(max(100vh - 730px, 220px)) !important;
323+
}
324+
325+
326+
/** Object Selector Styling ------------- */
327+
.object-selector-container {
328+
max-width: 500px;
329+
position: relative;
330+
transition: max-width 0.3s;
331+
}
332+
333+
.object-selector-container.collapsed {
334+
max-width: 0px;
335+
}
336+
337+
.object-selector-container.collapsed .object-selector {
338+
display: none;
339+
}
340+
341+
.object-selector-container .btn-toggle {
342+
position: absolute;
343+
top: -2px;
344+
right: -14px;
345+
z-index: 99;
346+
}
347+
348+
/** Object Editor Styling ------------- */
349+
.object-editor-container {
350+
background: var(--bs-card-bg);
351+
z-index: 2;
352+
}
187353

188354
/* uiMenu Directive Styling ------------- */
189355
.nav-link.dropdown-toggle:hover+.dropdown-menu,
@@ -354,50 +520,7 @@ ui-menu nav {
354520
color: var(--bs-primary);
355521
}
356522

357-
/* Forms Styling ------------- */
358-
.form-control-width {
359-
width: 150px;
360-
}
361-
362-
.form-control-width-2 {
363-
width: 200px;
364-
}
365-
366-
/* Buttons Styling ------------- */
367-
.btn-circle {
368-
width: 30px;
369-
height: 30px;
370-
text-align: center;
371-
padding: 6px 0;
372-
font-size: 12px;
373-
line-height: 1.428571429;
374-
border-radius: 15px;
375-
overflow: hidden;
376-
}
377-
378-
.btn:disabled {
379-
opacity: 0.4 !important;
380-
}
381-
382-
/* Tooltips Styling ------------- */
383-
.tooltip-inner {
384-
width: 100vw !important;
385-
text-align: left;
386-
padding: 12px;
387-
max-width: min(300px, 90vw) !important;
388-
}
389-
390-
.tooltip-object .tooltip-inner {
391-
max-width: min(300px, 90vw) !important;
392-
}
393-
394-
.tooltip-objectErrors .tooltip-inner {
395-
max-width: min(800px, 90vw) !important;
396-
}
397523

398-
.tooltip-mainStateAlertBox .tooltip-inner {
399-
max-width: min(1024px, 90vw) !important;
400-
}
401524

402525
/* uiTabs Directive Styling ------------- */
403526
ui-tabs .nav-pills {
@@ -444,7 +567,8 @@ ui-tabs .nav-pills .nav-item {
444567

445568
/* Object Editor Styling ------------- */
446569
.object-editor-tab-content {
447-
overflow-y: auto;
570+
/* overflow-y: auto;
571+
overflow-x: hidden; */
448572
max-height: 640px;
449573
min-height: 300px;
450574
margin: 8px;
@@ -522,4 +646,42 @@ ui-tabs .nav-pills .nav-item {
522646

523647
.table-active td {
524648
color: var(--bs-white) !important;
649+
}
650+
651+
/* uiJsonEditorModal Directive Styling ------------- */
652+
.je-ready .card-title {
653+
font-size: 20px;
654+
}
655+
656+
.je-ready .table-responsive th {
657+
font-size: 1rem;
658+
}
659+
660+
#editor_holder>.je-object__container>*:not(.card) {
661+
display: none !important;
662+
}
663+
664+
#editor_holder [data-schematype="array"]>p,
665+
#editor_holder [data-schematype="object"]>p {
666+
font-size: 86%;
667+
}
668+
669+
#editor_holder .btn-group>.btn {
670+
margin-left: 8px;
671+
border-radius: var(--bs-btn-border-radius) !important;
672+
flex: 0;
673+
}
674+
675+
#editor_holder label.required:after {
676+
content: "*";
677+
margin-right: 4px;
678+
color: var(--bs-danger);
679+
}
680+
681+
682+
/* uiContentDialog Directive Styling ------------- */
683+
.modal-content.full-width {
684+
width: calc(100vw - 100px);
685+
left: 50%;
686+
transform: translate(-50%);
525687
}

0 commit comments

Comments
 (0)