pinokiod 1.0.53 → 1.0.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -1174,7 +1174,12 @@ class Server {
1174
1174
  }
1175
1175
  }
1176
1176
  }
1177
- config.menu[i].target = "@" + (config.menu[i].id || config.menu[i].src)
1177
+ console.log("menu item", config.menu[i])
1178
+ if (config.menu[i].popout) {
1179
+ config.menu[i].target = "_blank"
1180
+ } else {
1181
+ config.menu[i].target = "@" + (config.menu[i].id || config.menu[i].src)
1182
+ }
1178
1183
  }
1179
1184
 
1180
1185
 
@@ -1037,8 +1037,8 @@ body.dark .btn {
1037
1037
  background: rgba(0,0,0,0.8);
1038
1038
  }
1039
1039
  body.dark .swal2-popup {
1040
- color: var(--dark-btn-bg);
1041
- background: var(--dark-btn-color);
1040
+ background: var(--dark-btn-bg);
1041
+ color: var(--dark-btn-color);
1042
1042
  }
1043
1043
  .swal2-popup {
1044
1044
  border-radius: 0 !important;
@@ -1059,7 +1059,7 @@ body.dark .swal2-popup {
1059
1059
  }
1060
1060
  .swal2-html-container {
1061
1061
  display: block !important;
1062
- margin: 10px !important;
1062
+ margin: 0px 20px !important;
1063
1063
  }
1064
1064
  .swal2-html-container .desc:empty {
1065
1065
  display: none;
@@ -1119,7 +1119,7 @@ body.dark .swal2-popup {
1119
1119
  width: 100% !important;
1120
1120
  justify-content: flex-end !important;
1121
1121
  margin: 0 !important;
1122
- padding: 10px 20px !important;
1122
+ padding: 20px !important;
1123
1123
  /*
1124
1124
  background: rgba(0,0,200,0.04);
1125
1125
  */
@@ -1147,9 +1147,11 @@ body.dark .swal2-popup {
1147
1147
  box-sizing: border-box;
1148
1148
  }
1149
1149
  body.dark .swal2-modal input {
1150
+ /*
1150
1151
  background: var(--dark-btn-bg);
1152
+ */
1151
1153
  color: var(--dark-btn-color);
1152
- border: none;
1154
+ border: 2px solid rgba(255,255,255,0.1);
1153
1155
  }
1154
1156
  .swal2-modal input {
1155
1157
  /*
@@ -1166,11 +1168,18 @@ body.dark .swal2-modal input {
1166
1168
  border-radius: 2px !important;
1167
1169
  }
1168
1170
  body.dark .swal2-styled.swal2-confirm{
1171
+ background: rgba(255,255,255,0.9) !important;
1172
+ color: black;
1173
+ /*
1169
1174
  background: var(--dark-btn-bg);
1170
1175
  color: var(--dark-btn-color);
1176
+ */
1171
1177
  }
1172
1178
  .swal2-styled.swal2-confirm{
1173
- background: black !important;
1179
+ background: rgba(0,0,0,0.8) !important;
1180
+ margin: 0;
1181
+ font-weight: bold;
1182
+ border: none;
1174
1183
  }
1175
1184
  .swal2-input {
1176
1185
  margin: 0 !important;