mantenimento-app 2.4.6 → 2.4.7

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.
@@ -88,7 +88,7 @@
88
88
  ]
89
89
  }
90
90
  </script>
91
- <link rel="stylesheet" href="styles.css?v=2.4.6" />
91
+ <link rel="stylesheet" href="styles.css?v=2.4.7" />
92
92
  </head>
93
93
  <body>
94
94
  <div class="wrap">
@@ -630,7 +630,7 @@
630
630
  <script src="supabase.min.js"></script>
631
631
  <script src="fabric.min.js"></script>
632
632
  <script src="html2pdf.bundle.min.js"></script>
633
- <script src="app.js?v=2.4.6"></script>
633
+ <script src="app.js?v=2.4.7"></script>
634
634
  </body>
635
635
  </html>
636
636
 
@@ -1036,7 +1036,7 @@
1036
1036
  border-radius: 14px;
1037
1037
  padding: 12px;
1038
1038
  background: linear-gradient(135deg, #ffffff 0%, #f5fbf9 100%);
1039
- min-height: 62px;
1039
+ min-height: 74px;
1040
1040
  display: grid;
1041
1041
  align-content: center;
1042
1042
  gap: 4px;
@@ -1091,16 +1091,16 @@
1091
1091
  }
1092
1092
 
1093
1093
  .mortgage-split-name {
1094
- font-size: 0.73rem;
1094
+ font-size: 0.92rem;
1095
1095
  font-weight: 800;
1096
1096
  color: #1a3a36;
1097
1097
  overflow-wrap: anywhere;
1098
- letter-spacing: 0.3px;
1098
+ letter-spacing: 0.2px;
1099
1099
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
1100
1100
  }
1101
1101
 
1102
1102
  .mortgage-split-amount {
1103
- font-size: 0.95rem;
1103
+ font-size: 1.28rem;
1104
1104
  font-weight: 900;
1105
1105
  color: #0b4440;
1106
1106
  letter-spacing: 0.3px;
@@ -1126,30 +1126,34 @@
1126
1126
 
1127
1127
  .mortgage-split-range-controls {
1128
1128
  display: grid;
1129
- grid-template-columns: 34px minmax(0, 1fr) 34px;
1130
- gap: 7px;
1129
+ grid-template-columns: 42px minmax(0, 1fr) 42px;
1130
+ gap: 8px;
1131
1131
  align-items: center;
1132
1132
  }
1133
1133
 
1134
1134
  .mortgage-split-nudge {
1135
- height: 32px;
1136
- width: 32px;
1135
+ height: 38px;
1136
+ width: 38px;
1137
+ padding: 0;
1138
+ display: inline-flex;
1139
+ align-items: center;
1140
+ justify-content: center;
1137
1141
  border-radius: 50%;
1138
- border: 1.5px solid rgba(27, 141, 127, 0.24);
1139
- background: linear-gradient(180deg, #ffffff, #edf8f5);
1140
- color: #11655b;
1141
- font-size: 13px;
1142
+ border: 1.5px solid rgba(27, 141, 127, 0.3);
1143
+ background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ecfaf6 44%, #dff4ef 100%);
1144
+ color: #0f6056;
1145
+ font-size: 17px;
1142
1146
  font-weight: 900;
1143
1147
  line-height: 1;
1144
1148
  cursor: pointer;
1145
- box-shadow: 0 2px 8px rgba(17, 93, 84, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85);
1149
+ box-shadow: 0 4px 10px rgba(17, 93, 84, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
1146
1150
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
1147
1151
  }
1148
1152
 
1149
1153
  .mortgage-split-nudge:hover {
1150
- transform: translateY(-1px) scale(1.04);
1151
- border-color: rgba(27, 141, 127, 0.38);
1152
- box-shadow: 0 4px 12px rgba(17, 93, 84, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
1154
+ transform: translateY(-1px) scale(1.06);
1155
+ border-color: rgba(27, 141, 127, 0.44);
1156
+ box-shadow: 0 7px 16px rgba(17, 93, 84, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.92);
1153
1157
  }
1154
1158
 
1155
1159
  .mortgage-split-nudge:active {
@@ -1230,13 +1234,13 @@
1230
1234
  top: 2px;
1231
1235
  left: var(--split-left);
1232
1236
  transform: translateX(-50%);
1233
- font-size: 0.73rem;
1237
+ font-size: 0.92rem;
1234
1238
  font-weight: 900;
1235
1239
  color: #0f544d;
1236
1240
  background: linear-gradient(135deg, #ffffff, #f5fbf9);
1237
1241
  border: 1.5px solid rgba(27, 141, 127, 0.2);
1238
1242
  border-radius: 999px;
1239
- padding: 2px 9px;
1243
+ padding: 4px 11px;
1240
1244
  white-space: nowrap;
1241
1245
  box-shadow: 0 2px 6px rgba(27, 141, 127, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.6);
1242
1246
  transition: all 0.2s ease;
@@ -1256,17 +1260,23 @@
1256
1260
 
1257
1261
  #primaCasaMutuoSplitInfo {
1258
1262
  margin-top: 7px;
1259
- font-size: 0.79rem;
1263
+ font-size: 0.95rem;
1260
1264
  font-weight: 700;
1261
1265
  color: #174e47;
1262
1266
  background: linear-gradient(90deg, rgba(22, 163, 150, 0.12), rgba(216, 154, 53, 0.12));
1263
1267
  border: 1px solid rgba(22, 163, 150, 0.14);
1264
1268
  border-radius: 999px;
1265
- padding: 4px 10px;
1269
+ padding: 7px 12px;
1266
1270
  display: inline-flex;
1267
1271
  align-items: center;
1268
1272
  gap: 4px;
1269
1273
  }
1274
+
1275
+ .first-home-split-field > .label-row {
1276
+ font-size: 1.1rem;
1277
+ font-weight: 800;
1278
+ color: #114b44;
1279
+ }
1270
1280
 
1271
1281
  .label-row {
1272
1282
  display: inline-flex;
@@ -2743,7 +2753,7 @@
2743
2753
  padding: 7px;
2744
2754
  }
2745
2755
 
2746
- .kpi-item strong { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
2756
+ .kpi-item:not(.kpi-item--longtext) strong { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
2747
2757
 
2748
2758
  .result-pill {
2749
2759
  border-radius: 14px;
@@ -3539,13 +3549,13 @@
3539
3549
  }
3540
3550
 
3541
3551
  .mortgage-split-range-controls {
3542
- grid-template-columns: 30px minmax(0, 1fr) 30px;
3552
+ grid-template-columns: 34px minmax(0, 1fr) 34px;
3543
3553
  }
3544
3554
 
3545
3555
  .mortgage-split-nudge {
3546
- height: 28px;
3547
- width: 28px;
3548
- font-size: 12px;
3556
+ height: 32px;
3557
+ width: 32px;
3558
+ font-size: 14px;
3549
3559
  }
3550
3560
  .spieg-grid {
3551
3561
  grid-template-columns: 1fr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mantenimento-app",
3
- "version": "2.4.6",
3
+ "version": "2.4.7",
4
4
  "description": "Frontend + backend architecture for the mantenimento calculator",
5
5
  "type": "commonjs",
6
6
  "main": "backend/calculate-model.js",