pixl-xyapp 2.1.4 → 2.1.5

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.
package/css/base.css CHANGED
@@ -283,6 +283,7 @@ div.section_title {
283
283
  margin-left: 20px;
284
284
  margin-right: 15px;
285
285
  margin-top: 10px;
286
+ padding-right: 15px;
286
287
  height: 30px;
287
288
  line-height: 30px;
288
289
  font-size: 13px;
@@ -295,9 +296,9 @@ div.section_title {
295
296
  -moz-user-select: none;
296
297
  -webkit-user-select: none;
297
298
 
298
- /* overflow: hidden;
299
+ overflow: hidden;
299
300
  text-overflow: ellipsis;
300
- white-space: nowrap; */
301
+ white-space: nowrap;
301
302
  }
302
303
  div.section_title:hover {
303
304
  color: var(--theme-color);
@@ -312,6 +313,7 @@ div.section_title > i {
312
313
  div.section_title > i.icon:before {
313
314
  transform-origin: center center;
314
315
  transform: scale(1.3);
316
+ padding-left: 2px;
315
317
  padding-right: 2px;
316
318
  }
317
319
  div.section_title > i.ctrl {
@@ -1573,6 +1575,10 @@ fieldset.info_fieldset > .tool_desc {
1573
1575
  color: var(--label-color);
1574
1576
  }
1575
1577
 
1578
+ body.dark fieldset.info_fieldset {
1579
+ border: 1px solid rgb(60, 65, 70);
1580
+ }
1581
+
1576
1582
  .checker {
1577
1583
  position: relative;
1578
1584
  left: -12px;
package/js/base.js CHANGED
@@ -230,6 +230,7 @@ var app = {
230
230
 
231
231
  // strip html to prevent script injection
232
232
  msg = strip_html(msg);
233
+ Debug.trace('notification', `${type}: ${msg}`);
233
234
 
234
235
  this.toast({ type, icon, msg, lifetime, loc });
235
236
  },
package/js/dialog.js CHANGED
@@ -34,7 +34,7 @@ var Dialog = {
34
34
  var $overlay = $('<div id="dialog_overlay"></div>').css('opacity', 0);
35
35
  $('body').append($overlay);
36
36
 
37
- $overlay.fadeTo( 500, 0.75 ).on('mouseup', function() {
37
+ $overlay.fadeTo( 500, 0.75 ).on('click', function() {
38
38
  if (!Dialog.clickBlock) {
39
39
  if (Dialog.active == 'confirmation') Dialog.confirm_click(false);
40
40
  else Dialog.hide();
@@ -212,8 +212,8 @@ var Dialog = {
212
212
  }
213
213
 
214
214
  var buttons_html = "";
215
- buttons_html += '<div id="btn_dialog_cancel" class="button" onMouseUp="Dialog.confirm_click(false)"><i class="mdi mdi-close-circle-outline">&nbsp;</i>Cancel</div>';
216
- buttons_html += '<div id="btn_dialog_confirm" class="button delete" onMouseUp="Dialog.confirm_click(true)">'+ok_btn_label+'</div>';
215
+ buttons_html += '<div id="btn_dialog_cancel" class="button" onClick="Dialog.confirm_click(false)"><i class="mdi mdi-close-circle-outline">&nbsp;</i>Cancel</div>';
216
+ buttons_html += '<div id="btn_dialog_confirm" class="button delete" onClick="Dialog.confirm_click(true)">'+ok_btn_label+'</div>';
217
217
 
218
218
  this.showSimpleDialog( '<span class="danger">' + title + '</span>', inner_html, buttons_html );
219
219
 
@@ -266,6 +266,7 @@ var CodeEditor = {
266
266
 
267
267
  active: false,
268
268
  onHide: null,
269
+ onDragDrop: null,
269
270
 
270
271
  show: function(html) {
271
272
  // show dialog, auto-size and center
@@ -291,7 +292,7 @@ var CodeEditor = {
291
292
  var $overlay = $('<div id="ceditor_overlay"></div>').css('opacity', 0);
292
293
  $('body').append($overlay);
293
294
 
294
- $overlay.fadeTo( 500, 0.75 ).on('mouseup', function() {
295
+ $overlay.fadeTo( 500, 0.75 ).on('click', function() {
295
296
  CodeEditor.hide();
296
297
  });
297
298
 
@@ -350,6 +351,8 @@ var CodeEditor = {
350
351
  this.onHide = null;
351
352
  callback();
352
353
  }
354
+
355
+ this.onDragDrop = null;
353
356
  }
354
357
  },
355
358
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixl-xyapp",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "A theme for xyOps.",
5
5
  "author": "Joseph Huckaby <jhuckaby@pixlcore.com>",
6
6
  "homepage": "https://github.com/pixlcore/pixl-xyapp",