@eveshipfit/ui-ingame 1.9.0 → 1.11.0

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/dist/style.css CHANGED
@@ -1,11 +1,12 @@
1
1
  .kwi1cG_dialog {
2
+ --dialog-unit: calc(1px * var(--esf-scale, 1));
2
3
  background: var(--esf-surface);
3
- border: 1px solid var(--esf-border);
4
+ border: var(--dialog-unit) solid var(--esf-border);
4
5
  border-radius: var(--esf-radius);
5
6
  color: var(--esf-text);
6
7
  font-family: var(--esf-font);
7
- font-size: var(--esf-font-size);
8
- max-width: min(640px, 90vw);
8
+ font-size: calc(var(--esf-font-size) * var(--esf-scale, 1));
9
+ max-width: min(calc(640 * var(--dialog-unit)), 90vw);
9
10
  padding: 0;
10
11
  }
11
12
 
@@ -15,9 +16,9 @@
15
16
 
16
17
  .kwi1cG_header {
17
18
  background: var(--esf-surface-raised);
18
- border-bottom: 1px solid var(--esf-border);
19
+ border-bottom: var(--dialog-unit) solid var(--esf-border);
20
+ padding: calc(6 * var(--dialog-unit)) calc(10 * var(--dialog-unit));
19
21
  align-items: center;
20
- padding: 6px 10px;
21
22
  display: flex;
22
23
  }
23
24
 
@@ -42,7 +43,7 @@
42
43
  }
43
44
 
44
45
  .kwi1cG_content {
45
- padding: 10px;
46
+ padding: calc(10 * var(--dialog-unit));
46
47
  }
47
48
  .cmKEiW_anchor {
48
49
  display: contents;
@@ -53,29 +54,35 @@
53
54
  }
54
55
 
55
56
  .cmKEiW_tooltip {
56
- --notch-size: 10px;
57
- --notch-reach: calc(var(--notch-size) * .71 + 1px);
57
+ --tooltip-unit: calc(1px * var(--esf-scale, 1));
58
+ --notch-size: calc(10 * var(--tooltip-unit));
59
+ --notch-reach: calc((var(--notch-size) + 2 * var(--tooltip-unit)) * .707 + var(--tooltip-unit));
58
60
  anchor-name: var(--tooltip-box);
59
61
  color: var(--esf-text);
60
62
  font-family: var(--esf-font);
61
- font-size: var(--esf-font-size);
63
+ font-size: calc(var(--esf-font-size) * var(--esf-scale, 1));
62
64
  margin: var(--notch-reach) 0;
65
+ max-width: calc(320 * var(--tooltip-unit));
63
66
  opacity: .9;
64
67
  pointer-events: none;
65
68
  position-anchor: var(--tooltip-anchor);
66
69
  position-area: top;
67
70
  position-try-fallbacks: flip-block;
71
+ white-space: normal;
68
72
  background: none;
69
73
  border: none;
70
- max-width: 320px;
71
74
  padding: 0;
72
75
  inset: auto;
73
76
  overflow: visible;
74
77
  }
75
78
 
79
+ .cmKEiW_tooltip[data-wide] {
80
+ max-width: 90vw;
81
+ }
82
+
76
83
  .cmKEiW_notch, .cmKEiW_label {
77
84
  background: var(--esf-bg);
78
- border: 1px solid var(--esf-border);
85
+ border: var(--tooltip-unit) solid var(--esf-border);
79
86
  }
80
87
 
81
88
  .cmKEiW_notch, .cmKEiW_label:after {
@@ -97,7 +104,7 @@
97
104
  }
98
105
 
99
106
  .cmKEiW_label {
100
- padding: 8px 14px;
107
+ padding: calc(8 * var(--tooltip-unit)) calc(14 * var(--tooltip-unit));
101
108
  display: block;
102
109
  position: relative;
103
110
  }
@@ -105,19 +112,19 @@
105
112
  .cmKEiW_label:after {
106
113
  background: var(--esf-bg);
107
114
  content: "";
108
- height: 1px;
109
- top: clamp(anchor(var(--tooltip-box) top), var(--edge), anchor(var(--tooltip-box) bottom) - 1px);
110
- width: calc(var(--notch-size) * 1.41 - 2px);
115
+ height: var(--tooltip-unit);
116
+ top: clamp(anchor(var(--tooltip-box) top), var(--edge), anchor(var(--tooltip-box) bottom) - var(--tooltip-unit));
117
+ width: calc(var(--notch-size) * 1.414);
111
118
  translate: -50%;
112
119
  }
113
120
 
114
121
  .cmKEiW_text {
115
- gap: 8px;
122
+ gap: calc(8 * var(--tooltip-unit));
116
123
  display: grid;
117
124
  }
118
125
 
119
126
  .cmKEiW_text + .cmKEiW_text {
120
- margin-top: 12px;
127
+ margin-top: calc(12 * var(--tooltip-unit));
121
128
  }
122
129
 
123
130
  .cmKEiW_title {
@@ -189,7 +196,7 @@
189
196
  padding-left: calc(21 * var(--tree-unit));
190
197
  }
191
198
 
192
- .ZoSRha_tree > li > .ZoSRha_head, .ZoSRha_tree > .ZoSRha_head {
199
+ .ZoSRha_tree > li > .ZoSRha_head {
193
200
  background: var(--esf-tree-header);
194
201
  }
195
202
 
@@ -620,9 +627,11 @@
620
627
  }
621
628
 
622
629
  .T6VD6G_action {
623
- height: calc(var(--action-size) * var(--wheel-unit));
624
- margin: calc(var(--action-size) / -2 * var(--wheel-unit));
625
- width: calc(var(--action-size) * var(--wheel-unit));
630
+ --size: round(down, calc(var(--action-size) * var(--wheel-unit)), 1px);
631
+ height: var(--size);
632
+ left: round(calc(var(--left) - var(--size) / 2), 1px);
633
+ top: round(calc(var(--top) - var(--size) / 2), 1px);
634
+ width: var(--size);
626
635
  position: absolute;
627
636
  }
628
637
 
@@ -637,7 +646,7 @@
637
646
  inset: 0;
638
647
  }
639
648
 
640
- ._-v7zG_icon, ._-v7zG_dot {
649
+ ._-v7zG_dot {
641
650
  height: calc(16 * var(--wheel-unit));
642
651
  pointer-events: none;
643
652
  width: calc(16 * var(--wheel-unit));
@@ -645,11 +654,24 @@
645
654
  transform: translate(-50%, -50%);
646
655
  }
647
656
 
657
+ ._-v7zG_icon {
658
+ height: calc(16 * var(--wheel-unit));
659
+ margin: calc(-8 * var(--wheel-unit));
660
+ width: calc(16 * var(--wheel-unit));
661
+ position: absolute;
662
+ }
663
+
648
664
  ._-v7zG_icon > img {
649
665
  width: 100%;
650
666
  height: 100%;
651
667
  display: block;
652
668
  }
669
+
670
+ ._-v7zG_title {
671
+ gap: calc(24px * var(--esf-scale, 1));
672
+ justify-content: space-between;
673
+ display: flex;
674
+ }
653
675
  .pLDZ2W_gauge {
654
676
  --colour: var(--esf-cpu);
655
677
  background: var(--colour);
@@ -890,6 +912,54 @@
890
912
  ._6LFjiq_cell[data-lit] {
891
913
  background: var(--lit);
892
914
  }
915
+ .BL_QfG_menu {
916
+ --menu-unit: calc(1px * var(--esf-scale, 1));
917
+ background: var(--esf-menu-bg);
918
+ border: var(--menu-unit) solid var(--esf-input-border);
919
+ color: var(--esf-text);
920
+ font-family: var(--esf-font);
921
+ font-size: calc(var(--esf-font-size) * var(--esf-scale, 1));
922
+ min-width: calc(160 * var(--menu-unit));
923
+ padding: calc(6 * var(--menu-unit)) 0;
924
+ outline: none;
925
+ margin: 0;
926
+ position: fixed;
927
+ inset: auto;
928
+ }
929
+
930
+ .BL_QfG_menu > button {
931
+ color: inherit;
932
+ cursor: pointer;
933
+ font: inherit;
934
+ align-items: center;
935
+ gap: calc(6 * var(--menu-unit));
936
+ padding: calc(4 * var(--menu-unit)) calc(16 * var(--menu-unit)) calc(4 * var(--menu-unit)) calc(8 * var(--menu-unit));
937
+ text-align: left;
938
+ white-space: nowrap;
939
+ background: none;
940
+ border: none;
941
+ width: 100%;
942
+ display: flex;
943
+ }
944
+
945
+ .BL_QfG_menu > button:hover, .BL_QfG_menu > button:focus-visible {
946
+ background: var(--esf-menu-hover);
947
+ outline: none;
948
+ }
949
+
950
+ .BL_QfG_icon {
951
+ height: calc(16 * var(--menu-unit));
952
+ width: calc(16 * var(--menu-unit));
953
+ flex: none;
954
+ place-items: center;
955
+ display: grid;
956
+ }
957
+
958
+ .BL_QfG_separator {
959
+ border: none;
960
+ border-top: var(--menu-unit) solid var(--esf-border);
961
+ margin: calc(4 * var(--menu-unit)) 0;
962
+ }
893
963
  .tsr2Sa_hint {
894
964
  height: var(--wheel-texture-size);
895
965
  left: calc(50% - var(--wheel-texture-size) / 2);
@@ -968,6 +1038,25 @@
968
1038
  display: block;
969
1039
  position: relative;
970
1040
  }
1041
+ ._1EVyAG_notice {
1042
+ height: var(--wheel-texture-size);
1043
+ left: calc(50% - var(--wheel-texture-size) / 2);
1044
+ pointer-events: none;
1045
+ top: calc(50% - var(--wheel-texture-size) / 2);
1046
+ width: var(--wheel-texture-size);
1047
+ position: absolute;
1048
+ overflow: visible;
1049
+ }
1050
+
1051
+ ._1EVyAG_text {
1052
+ fill: #d9d9d9;
1053
+ font-family: var(--esf-font);
1054
+ letter-spacing: .1em;
1055
+ paint-order: stroke;
1056
+ stroke: #0009;
1057
+ stroke-width: 3px;
1058
+ font-size: 13px;
1059
+ }
971
1060
  .BVBbxW_track {
972
1061
  fill: none;
973
1062
  pointer-events: none;
@@ -1062,7 +1151,7 @@
1062
1151
  }
1063
1152
 
1064
1153
  .BVBbxW_slot:has(.BVBbxW_press:hover) .BVBbxW_frame, .BVBbxW_slot:has(.BVBbxW_press:focus-visible) .BVBbxW_frame {
1065
- stroke: var(--esf-text-muted);
1154
+ fill: #1a2a2d;
1066
1155
  }
1067
1156
 
1068
1157
  .BVBbxW_number {
@@ -1091,21 +1180,28 @@
1091
1180
  opacity: 1;
1092
1181
  }
1093
1182
 
1183
+ .BVBbxW_slot > .BVBbxW_actions[inert] {
1184
+ opacity: 0;
1185
+ }
1186
+
1094
1187
  .BVBbxW_slot:hover :is(.BVBbxW_action, .BVBbxW_bridge), .BVBbxW_slot:has(:focus-visible) :is(.BVBbxW_action, .BVBbxW_bridge) {
1095
1188
  pointer-events: auto;
1096
1189
  }
1097
1190
 
1098
1191
  .BVBbxW_action {
1192
+ box-shadow: 0 0 0 calc(2 * var(--wheel-unit)) #0d1213;
1099
1193
  height: calc(var(--action-size) * var(--wheel-unit));
1100
1194
  left: calc(50% + var(--x) * var(--wheel-unit));
1101
1195
  margin: calc(var(--action-size) / -2 * var(--wheel-unit));
1102
1196
  top: calc(50% + var(--y) * var(--wheel-unit));
1103
1197
  width: calc(var(--action-size) * var(--wheel-unit));
1198
+ background: #0d1213;
1199
+ border-radius: 50%;
1104
1200
  position: absolute;
1105
1201
  }
1106
1202
 
1107
1203
  .BVBbxW_bridge {
1108
- height: calc((var(--tray-start) + var(--tray-length) - var(--slot-size) / 2) * var(--wheel-unit));
1204
+ height: calc((var(--actions-start) + var(--actions-length) - var(--slot-size) / 2) * var(--wheel-unit));
1109
1205
  left: calc(50% - var(--slot-size) / 2 * var(--wheel-unit));
1110
1206
  transform: rotate(var(--angle)) translateY(calc(var(--slot-size) / 2 * var(--wheel-unit)));
1111
1207
  transform-origin: 50% 0;
@@ -1113,28 +1209,15 @@
1113
1209
  position: absolute;
1114
1210
  top: 50%;
1115
1211
  }
1116
-
1117
- .BVBbxW_tray {
1118
- border-radius: calc(var(--tray-width) / 2 * var(--wheel-unit));
1119
- box-sizing: border-box;
1120
- height: calc(var(--tray-length) * var(--wheel-unit));
1121
- left: calc(50% - var(--tray-width) / 2 * var(--wheel-unit));
1122
- transform: rotate(var(--angle)) translateY(calc(var(--tray-start) * var(--wheel-unit)));
1123
- transform-origin: 50% 0;
1124
- width: calc(var(--tray-width) * var(--wheel-unit));
1125
- background: #0d1213f2;
1126
- border: 1px solid #3d5960;
1127
- position: absolute;
1128
- top: 50%;
1129
- }
1130
1212
  ._f5iUa_tooltip {
1131
- gap: 8px;
1213
+ --module-tooltip-unit: calc(1px * var(--esf-scale, 1));
1214
+ gap: calc(8 * var(--module-tooltip-unit));
1132
1215
  display: grid;
1133
1216
  }
1134
1217
 
1135
1218
  ._f5iUa_type, ._f5iUa_line, ._f5iUa_bonuses, ._f5iUa_bonus {
1136
1219
  align-items: center;
1137
- gap: 8px;
1220
+ gap: calc(8 * var(--module-tooltip-unit));
1138
1221
  display: flex;
1139
1222
  }
1140
1223
 
@@ -1143,35 +1226,41 @@
1143
1226
  }
1144
1227
 
1145
1228
  ._f5iUa_block {
1146
- gap: 4px;
1229
+ gap: calc(4 * var(--module-tooltip-unit));
1147
1230
  display: grid;
1148
1231
  }
1149
1232
 
1150
1233
  ._f5iUa_bonuses {
1151
- gap: 12px;
1234
+ gap: calc(12 * var(--module-tooltip-unit));
1152
1235
  }
1153
1236
 
1154
1237
  ._f5iUa_bonus {
1155
- gap: 4px;
1238
+ gap: calc(4 * var(--module-tooltip-unit));
1156
1239
  }
1157
1240
 
1158
- ._f5iUa_noIcon {
1241
+ ._f5iUa_icon, ._f5iUa_noIcon {
1242
+ height: calc(24 * var(--module-tooltip-unit));
1243
+ width: calc(24 * var(--module-tooltip-unit));
1159
1244
  flex: none;
1160
- width: 24px;
1161
- height: 24px;
1245
+ }
1246
+
1247
+ ._f5iUa_icon > span {
1248
+ width: 100%;
1249
+ height: 100%;
1250
+ display: block;
1162
1251
  }
1163
1252
 
1164
1253
  ._f5iUa_iconless {
1254
+ min-height: calc(24 * var(--module-tooltip-unit));
1255
+ padding-left: calc(32 * var(--module-tooltip-unit));
1165
1256
  align-items: center;
1166
- min-height: 24px;
1167
- padding-left: 32px;
1168
1257
  display: flex;
1169
1258
  }
1170
1259
 
1171
1260
  ._f5iUa_values {
1261
+ padding-left: calc(27 * var(--module-tooltip-unit));
1172
1262
  grid-auto-columns: 1fr;
1173
1263
  grid-auto-flow: column;
1174
- padding-left: 27px;
1175
1264
  display: grid;
1176
1265
  }
1177
1266
 
@@ -1198,11 +1287,11 @@
1198
1287
 
1199
1288
  ._f5iUa_info {
1200
1289
  background: var(--esf-button-active-edge);
1201
- height: 16px;
1290
+ height: calc(16 * var(--module-tooltip-unit));
1291
+ margin: calc(4 * var(--module-tooltip-unit));
1202
1292
  mask: var(--texture) center / 100% 100%;
1293
+ width: calc(16 * var(--module-tooltip-unit));
1203
1294
  flex: none;
1204
- width: 16px;
1205
- margin: 4px;
1206
1295
  }
1207
1296
  .GK_wGG_centre {
1208
1297
  inset: calc(86 * var(--wheel-unit));
@@ -1266,15 +1355,15 @@
1266
1355
  outline: var(--service-unit) solid var(--esf-text);
1267
1356
  }
1268
1357
 
1269
- .R9jwpW_slot[data-state="empty"] > .R9jwpW_body:before {
1358
+ .R9jwpW_slot[data-state="empty"] .R9jwpW_body:before {
1270
1359
  opacity: .4;
1271
1360
  }
1272
1361
 
1273
- .R9jwpW_slot[data-state="offline"] > .R9jwpW_body {
1362
+ .R9jwpW_slot[data-state="offline"] .R9jwpW_body {
1274
1363
  opacity: .3;
1275
1364
  }
1276
1365
 
1277
- .R9jwpW_slot[data-state="unavailable"] > .R9jwpW_body {
1366
+ .R9jwpW_slot[data-state="unavailable"] .R9jwpW_body {
1278
1367
  opacity: .1;
1279
1368
  }
1280
1369
 
@@ -1562,6 +1651,52 @@
1562
1651
  height: calc(16 * var(--info-unit));
1563
1652
  width: calc(16 * var(--info-unit));
1564
1653
  }
1654
+ .qMyuGa_bonuses {
1655
+ --unit: var(--tooltip-unit, 1px);
1656
+ color: var(--esf-text-muted);
1657
+ align-items: baseline;
1658
+ column-gap: calc(8 * var(--unit));
1659
+ max-height: min(calc(500 * var(--unit)), 60vh);
1660
+ row-gap: calc(4 * var(--unit));
1661
+ scrollbar-color: var(--esf-border) transparent;
1662
+ scrollbar-width: thin;
1663
+ grid-template-columns: auto 1fr;
1664
+ line-height: 1.3;
1665
+ display: grid;
1666
+ overflow-y: auto;
1667
+ }
1668
+
1669
+ .qMyuGa_name {
1670
+ color: var(--esf-text);
1671
+ grid-column: 1 / -1;
1672
+ }
1673
+
1674
+ .qMyuGa_header {
1675
+ color: var(--esf-bonus-header);
1676
+ margin-top: calc(6 * var(--unit));
1677
+ grid-column: 1 / -1;
1678
+ font-weight: 600;
1679
+ }
1680
+
1681
+ .qMyuGa_value {
1682
+ color: var(--esf-bonus-value);
1683
+ text-align: right;
1684
+ white-space: nowrap;
1685
+ font-weight: 600;
1686
+ }
1687
+
1688
+ .qMyuGa_bonuses [data-bold] {
1689
+ color: var(--esf-text);
1690
+ font-weight: 600;
1691
+ }
1692
+
1693
+ .qMyuGa_bonuses [data-italic] {
1694
+ font-style: italic;
1695
+ }
1696
+
1697
+ .qMyuGa_bonuses [data-underline] {
1698
+ text-decoration: underline;
1699
+ }
1565
1700
  .gVdevq_panel {
1566
1701
  background: var(--esf-menu-bg);
1567
1702
  border: var(--window-unit) solid var(--esf-input-border);
@@ -2176,7 +2311,7 @@
2176
2311
 
2177
2312
  .L9t91q_alertLine {
2178
2313
  align-items: center;
2179
- gap: 8px;
2314
+ gap: calc(8 * var(--window-unit));
2180
2315
  display: flex;
2181
2316
  }
2182
2317
 
@@ -2360,8 +2495,12 @@
2360
2495
 
2361
2496
  .L9t91q_statistics {
2362
2497
  left: calc(700 * var(--window-unit) + var(--browser-width));
2363
- width: calc(280 * var(--window-unit));
2364
2498
  transition: left .2s;
2499
+ right: 0;
2500
+ }
2501
+
2502
+ .L9t91q_statistics > .L9t91q_slide {
2503
+ width: calc(280 * var(--window-unit));
2365
2504
  }
2366
2505
 
2367
2506
  .L9t91q_slide {
@@ -2674,6 +2813,10 @@
2674
2813
  width: calc(16 * var(--browser-unit));
2675
2814
  }
2676
2815
 
2816
+ .xFSZwa_copy:disabled > img {
2817
+ opacity: .4;
2818
+ }
2819
+
2677
2820
  .xFSZwa_menu {
2678
2821
  background: var(--esf-menu-bg);
2679
2822
  border: var(--browser-unit) solid var(--esf-input-border);
@@ -2706,9 +2849,9 @@
2706
2849
  }
2707
2850
 
2708
2851
  .xFSZwa_form {
2852
+ gap: calc(8 * var(--browser-unit));
2853
+ width: min(calc(420 * var(--browser-unit)), 80vw);
2709
2854
  flex-direction: column;
2710
- gap: 8px;
2711
- width: min(420px, 80vw);
2712
2855
  display: flex;
2713
2856
  }
2714
2857
 
@@ -2718,8 +2861,9 @@
2718
2861
 
2719
2862
  .xFSZwa_form > input, .xFSZwa_form > textarea {
2720
2863
  background: var(--esf-input-bg);
2721
- border: 1px solid var(--esf-input-border);
2864
+ border: var(--browser-unit) solid var(--esf-input-border);
2722
2865
  color: var(--esf-text);
2866
+ font: inherit;
2723
2867
  }
2724
2868
 
2725
2869
  .xFSZwa_form > textarea {
@@ -2733,16 +2877,16 @@
2733
2877
  }
2734
2878
 
2735
2879
  .xFSZwa_confirm {
2736
- max-width: min(360px, 80vw);
2880
+ max-width: min(calc(360 * var(--browser-unit)), 80vw);
2737
2881
  }
2738
2882
 
2739
2883
  .xFSZwa_confirm > p {
2740
- margin: 0 0 12px;
2884
+ margin: 0 0 calc(12 * var(--browser-unit));
2741
2885
  }
2742
2886
 
2743
2887
  .xFSZwa_dialogButtons {
2888
+ gap: calc(8 * var(--browser-unit));
2744
2889
  justify-content: flex-end;
2745
- gap: 8px;
2746
2890
  display: flex;
2747
2891
  }
2748
2892
 
@@ -2827,6 +2971,47 @@
2827
2971
  width: calc(16 * var(--statistics-unit));
2828
2972
  }
2829
2973
 
2974
+ .lebA7G_priceList {
2975
+ --price-unit: calc(1px * var(--esf-scale, 1));
2976
+ column-gap: calc(12 * var(--price-unit));
2977
+ row-gap: calc(4 * var(--price-unit));
2978
+ white-space: nowrap;
2979
+ grid-template-columns: auto 1fr auto auto;
2980
+ display: grid;
2981
+ }
2982
+
2983
+ .lebA7G_priceTotal, .lebA7G_priceItem {
2984
+ grid-column: 1 / -1;
2985
+ grid-template-columns: subgrid;
2986
+ align-items: center;
2987
+ display: grid;
2988
+ }
2989
+
2990
+ .lebA7G_priceTotal {
2991
+ border-bottom: calc(1 * var(--price-unit)) solid var(--esf-border);
2992
+ padding-bottom: calc(6 * var(--price-unit));
2993
+ font-weight: 600;
2994
+ }
2995
+
2996
+ .lebA7G_priceTotal > :first-child {
2997
+ grid-column: 1 / -2;
2998
+ }
2999
+
3000
+ .lebA7G_priceIcon {
3001
+ height: calc(24 * var(--price-unit));
3002
+ width: calc(24 * var(--price-unit));
3003
+ }
3004
+
3005
+ .lebA7G_priceIcon > span {
3006
+ width: 100%;
3007
+ height: 100%;
3008
+ display: block;
3009
+ }
3010
+
3011
+ .lebA7G_priceTotal > :last-child, .lebA7G_priceItem > :nth-child(n+3) {
3012
+ text-align: right;
3013
+ }
3014
+
2830
3015
  .lebA7G_fighters {
2831
3016
  --fighters-unit: calc(1px * var(--esf-scale, 1));
2832
3017
  padding: calc(4 * var(--fighters-unit)) calc(10 * var(--fighters-unit)) calc(4 * var(--fighters-unit))
@@ -3069,9 +3254,9 @@
3069
3254
  }
3070
3255
 
3071
3256
  .lebA7G_profileForm {
3257
+ gap: calc(8 * var(--damage-profile-unit));
3258
+ width: min(calc(300 * var(--damage-profile-unit)), 80vw);
3072
3259
  flex-direction: column;
3073
- gap: 8px;
3074
- width: min(300px, 80vw);
3075
3260
  display: flex;
3076
3261
  }
3077
3262
 
@@ -3081,7 +3266,7 @@
3081
3266
 
3082
3267
  .lebA7G_profileForm input {
3083
3268
  background: var(--esf-input-bg);
3084
- border: 1px solid var(--esf-input-border);
3269
+ border: var(--damage-profile-unit) solid var(--esf-input-border);
3085
3270
  color: var(--esf-text);
3086
3271
  font: inherit;
3087
3272
  }
@@ -3092,22 +3277,22 @@
3092
3277
  }
3093
3278
 
3094
3279
  .lebA7G_amounts {
3095
- --share-unit: 1px;
3280
+ --share-unit: var(--damage-profile-unit);
3281
+ gap: calc(4 * var(--damage-profile-unit)) calc(8 * var(--damage-profile-unit));
3282
+ margin-top: calc(4 * var(--damage-profile-unit));
3096
3283
  grid-template-columns: repeat(4, 1fr);
3097
- gap: 4px 8px;
3098
- margin-top: 4px;
3099
3284
  display: grid;
3100
3285
  }
3101
3286
 
3102
3287
  .lebA7G_amount {
3103
3288
  align-items: center;
3104
- gap: 2px;
3289
+ gap: calc(2 * var(--damage-profile-unit));
3105
3290
  display: flex;
3106
3291
  }
3107
3292
 
3108
3293
  .lebA7G_amount > img {
3109
- width: 22px;
3110
- height: 22px;
3294
+ height: calc(22 * var(--damage-profile-unit));
3295
+ width: calc(22 * var(--damage-profile-unit));
3111
3296
  }
3112
3297
 
3113
3298
  .lebA7G_amount > input {
@@ -3116,21 +3301,21 @@
3116
3301
  }
3117
3302
 
3118
3303
  .lebA7G_dialogButtons {
3304
+ gap: calc(8 * var(--damage-profile-unit));
3305
+ margin-top: calc(4 * var(--damage-profile-unit));
3119
3306
  justify-content: flex-end;
3120
- gap: 8px;
3121
- margin-top: 4px;
3122
3307
  display: flex;
3123
3308
  }
3124
3309
 
3125
3310
  .lebA7G_action {
3126
3311
  background: var(--esf-button);
3127
- border: 1px solid var(--esf-button-edge);
3312
+ border: var(--damage-profile-unit) solid var(--esf-button-edge);
3128
3313
  color: var(--esf-text);
3129
3314
  cursor: pointer;
3130
3315
  font: inherit;
3131
- min-width: 80px;
3132
- height: 32px;
3133
- padding: 0 16px;
3316
+ height: calc(32 * var(--damage-profile-unit));
3317
+ min-width: calc(80 * var(--damage-profile-unit));
3318
+ padding: 0 calc(16 * var(--damage-profile-unit));
3134
3319
  }
3135
3320
 
3136
3321
  .lebA7G_action:hover:not(:disabled), .lebA7G_action:focus-visible {
package/dist/theme.css CHANGED
@@ -29,7 +29,9 @@
29
29
  --esf-history-current: #bfbfbf;
30
30
  --esf-button-active: #366370;
31
31
  --esf-button-active-edge: #57a6be;
32
- --esf-stats-header: #161718;
32
+ --esf-stats-header: var(--esf-tree-header);
33
+ --esf-bonus-header: #5499c3;
34
+ --esf-bonus-value: #d0efff;
33
35
  --esf-good: #8cc068;
34
36
  --esf-bad: #fb444a;
35
37
  --esf-damage-em: #1e71a1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eveshipfit/ui-ingame",
3
- "version": "1.9.0",
3
+ "version": "1.11.0",
4
4
  "description": "EVE Online ship fitting UI that looks like the in-game one",
5
5
  "license": "MIT",
6
6
  "author": "EVEShipFit Team <info@eveship.fit>",
@@ -27,24 +27,24 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@eveshipfit/react-hooks": "2.3.1"
30
+ "@eveshipfit/fitting": "2.5.0",
31
+ "@eveshipfit/react-hooks": "2.5.0"
31
32
  },
32
33
  "devDependencies": {
33
- "@babel/core": "^7.29.0",
34
- "@eveshipfit/images": "^3.3561556.0",
34
+ "@babel/core": "^8.0.9",
35
+ "@eveshipfit/images": "^3.3654997.0",
35
36
  "@rolldown/plugin-babel": "^0.2.4",
36
- "@storybook/react-vite": "^10.6.0",
37
- "@tsdown/css": "^0.23.0",
37
+ "@storybook/react-vite": "^10.6.5",
38
+ "@tsdown/css": "^0.23.3",
38
39
  "@types/react": "^19.3.0",
39
40
  "@types/react-dom": "^19.3.0",
40
41
  "babel-plugin-react-compiler": "^1.0.0",
41
- "react": "^19.3.0",
42
- "react-dom": "^19.3.0",
43
- "storybook": "^10.6.0",
44
- "tsdown": "^0.23.0",
45
- "vite": "^8.3.0",
46
- "@eveshipfit/fitting": "2.4.0",
47
- "@eveshipfit/sde-loader": "3.0.0"
42
+ "react": "^19.3.1",
43
+ "react-dom": "^19.3.1",
44
+ "storybook": "^10.6.5",
45
+ "tsdown": "^0.23.3",
46
+ "vite": "^8.3.5",
47
+ "@eveshipfit/sde-loader": "4.0.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@eveshipfit/images": "^3.3561556.0",