pixl-xyapp 2.1.2 → 2.1.4
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 +34 -3
- package/js/base.js +2 -0
- package/js/select.js +9 -0
- package/js/tools.js +1 -1
- package/package.json +1 -1
package/css/base.css
CHANGED
|
@@ -1084,8 +1084,10 @@ body.dark .button.primary {
|
|
|
1084
1084
|
color: var(--label-color);
|
|
1085
1085
|
}
|
|
1086
1086
|
.form_row > div.fr_caption a {
|
|
1087
|
+
color: var(--blue);
|
|
1088
|
+
}
|
|
1089
|
+
.form_row > div.fr_caption a:hover {
|
|
1087
1090
|
color: var(--theme-color);
|
|
1088
|
-
font-weight: bold;
|
|
1089
1091
|
}
|
|
1090
1092
|
|
|
1091
1093
|
/* Form Elements */
|
|
@@ -1121,6 +1123,10 @@ body.dark .button.primary {
|
|
|
1121
1123
|
border: 1px solid red;
|
|
1122
1124
|
}
|
|
1123
1125
|
|
|
1126
|
+
.form_row input[type="date"]::-webkit-calendar-picker-indicator {
|
|
1127
|
+
opacity: 0.4;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1124
1130
|
.form_row input[type="color"] {
|
|
1125
1131
|
cursor: default;
|
|
1126
1132
|
}
|
|
@@ -1134,13 +1140,13 @@ body.dark .button.primary {
|
|
|
1134
1140
|
-webkit-appearance: none;
|
|
1135
1141
|
appearance: none;
|
|
1136
1142
|
line-height: 20px;
|
|
1137
|
-
padding
|
|
1143
|
+
padding: 7px;
|
|
1138
1144
|
border: 1px solid var(--border-color);
|
|
1139
1145
|
font-size: 13px;
|
|
1140
1146
|
tab-size: 4;
|
|
1141
1147
|
color: var(--body-text-color);
|
|
1142
1148
|
transition: 0.2s ease border-color;
|
|
1143
|
-
resize:
|
|
1149
|
+
resize: none;
|
|
1144
1150
|
}
|
|
1145
1151
|
.form_row textarea:focus {
|
|
1146
1152
|
/* color: var(--theme-color); */
|
|
@@ -1238,6 +1244,9 @@ body.dark .dialog_content .form_row select {
|
|
|
1238
1244
|
body.dark .multiselect.multi {
|
|
1239
1245
|
background: var(--box-background-color);
|
|
1240
1246
|
}
|
|
1247
|
+
body.dark .multiselect.text {
|
|
1248
|
+
background: var(--box-background-color);
|
|
1249
|
+
}
|
|
1241
1250
|
|
|
1242
1251
|
.multiselect .select_chevron {
|
|
1243
1252
|
top: 50%;
|
|
@@ -1542,6 +1551,28 @@ div.info_caption {
|
|
|
1542
1551
|
color: var(--label-color);
|
|
1543
1552
|
}
|
|
1544
1553
|
|
|
1554
|
+
fieldset.info_fieldset {
|
|
1555
|
+
background: transparent;
|
|
1556
|
+
border: 1px solid var(--border-color);
|
|
1557
|
+
padding: 15px;
|
|
1558
|
+
margin-top: 12px;
|
|
1559
|
+
margin-left: 0;
|
|
1560
|
+
margin-right: 0;
|
|
1561
|
+
}
|
|
1562
|
+
fieldset.info_fieldset > legend {
|
|
1563
|
+
padding-left: 5px;
|
|
1564
|
+
padding-right: 5px;
|
|
1565
|
+
font-size: 11px;
|
|
1566
|
+
text-transform: uppercase;
|
|
1567
|
+
color: var(--label-color);
|
|
1568
|
+
cursor: default;
|
|
1569
|
+
}
|
|
1570
|
+
fieldset.info_fieldset > .tool_desc {
|
|
1571
|
+
margin-top: 4px;
|
|
1572
|
+
font-size: 11px;
|
|
1573
|
+
color: var(--label-color);
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1545
1576
|
.checker {
|
|
1546
1577
|
position: relative;
|
|
1547
1578
|
left: -12px;
|
package/js/base.js
CHANGED
|
@@ -13,6 +13,8 @@ var app = {
|
|
|
13
13
|
prefs: {},
|
|
14
14
|
lastClick: {},
|
|
15
15
|
|
|
16
|
+
MATCH_BAD_KEY: /^(constructor|__defineGetter__|__defineSetter__|hasOwnProperty|__lookupGetter__|__lookupSetter__|isPrototypeOf|propertyIsEnumerable|toString|valueOf|__proto__|toLocaleString|0)$/,
|
|
17
|
+
|
|
16
18
|
init: function() {
|
|
17
19
|
// override this in your app.js
|
|
18
20
|
},
|
package/js/select.js
CHANGED
|
@@ -47,6 +47,9 @@ var SingleSelect = {
|
|
|
47
47
|
// also trigger a redraw if the underlying hidden select changes
|
|
48
48
|
$this.on('change', redraw);
|
|
49
49
|
|
|
50
|
+
// also expose redraw as a custom event that can be triggered
|
|
51
|
+
$this.on('redraw', redraw);
|
|
52
|
+
|
|
50
53
|
$ms.on('mouseup', function() {
|
|
51
54
|
// create popover dialog for selecting and filtering
|
|
52
55
|
var html = '';
|
|
@@ -343,6 +346,9 @@ var MultiSelect = {
|
|
|
343
346
|
// also trigger a redraw if the underlying hidden select changes
|
|
344
347
|
$this.on('change', redraw);
|
|
345
348
|
|
|
349
|
+
// also expose redraw as a custom event that can be triggered
|
|
350
|
+
$this.on('redraw', redraw);
|
|
351
|
+
|
|
346
352
|
$ms.on('mouseup', function() {
|
|
347
353
|
// create popover dialog for selecting and filtering
|
|
348
354
|
var html = '';
|
|
@@ -717,6 +723,9 @@ var TextSelect = {
|
|
|
717
723
|
// also trigger a redraw if the underlying hidden select changes
|
|
718
724
|
$this.on('change', redraw);
|
|
719
725
|
|
|
726
|
+
// also expose redraw as a custom event that can be triggered
|
|
727
|
+
$this.on('redraw', redraw);
|
|
728
|
+
|
|
720
729
|
$ms.on('mouseup', function() {
|
|
721
730
|
// create popover dialog for adding new items
|
|
722
731
|
var html = '';
|
package/js/tools.js
CHANGED