@primestyleai/tryon 4.7.0 → 4.7.1
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/react/index.js +88 -88
- package/dist/react/styles.d.ts +1 -1
- package/package.json +3 -5
package/dist/react/index.js
CHANGED
|
@@ -384,7 +384,7 @@ const STYLES = `
|
|
|
384
384
|
transition: all 0.25s ease; font-family: inherit; white-space: nowrap;
|
|
385
385
|
}
|
|
386
386
|
.ps-tryon-lang-trigger:hover, .ps-tryon-lang-trigger.ps-active {
|
|
387
|
-
border-color: var(--ps-accent); color: var(--ps-accent); background: rgba(
|
|
387
|
+
border-color: var(--ps-accent); color: var(--ps-accent); background: rgba(33,84,239,0.06);
|
|
388
388
|
}
|
|
389
389
|
.ps-tryon-lang-trigger svg { stroke: currentColor; fill: none; flex-shrink: 0; }
|
|
390
390
|
.ps-tryon-lang-current {
|
|
@@ -422,7 +422,7 @@ const STYLES = `
|
|
|
422
422
|
font-family: inherit; text-align: left;
|
|
423
423
|
}
|
|
424
424
|
.ps-tryon-lang-item:hover { background: rgba(0,0,0,0.04); color: var(--ps-text-primary); }
|
|
425
|
-
.ps-tryon-lang-item.ps-selected { background: rgba(
|
|
425
|
+
.ps-tryon-lang-item.ps-selected { background: rgba(33,84,239,0.1); color: var(--ps-accent); }
|
|
426
426
|
.ps-tryon-lang-name {
|
|
427
427
|
flex: 1; font-size: 0.73vw; font-weight: 500;
|
|
428
428
|
}
|
|
@@ -466,7 +466,7 @@ const STYLES = `
|
|
|
466
466
|
.ps-tryon-feature-title { font-size: 0.85vw; font-weight: 600; color: var(--ps-text-primary); margin-bottom: 2px; }
|
|
467
467
|
.ps-tryon-feature-desc { font-size: 0.7vw; color: var(--ps-text-secondary); }
|
|
468
468
|
.ps-tryon-cta {
|
|
469
|
-
width: 100%; padding: 1vw; background: var(--ps-accent); color: #
|
|
469
|
+
width: 100%; padding: 1vw; background: var(--ps-accent); color: #fff; border: none;
|
|
470
470
|
border-radius: 0.8vw; font-size: 1vw; font-weight: 700; cursor: pointer;
|
|
471
471
|
display: flex; align-items: center; justify-content: center; gap: 0.5vw; transition: all 0.2s;
|
|
472
472
|
font-family: var(--ps-modal-font, system-ui, sans-serif);
|
|
@@ -477,18 +477,18 @@ const STYLES = `
|
|
|
477
477
|
|
|
478
478
|
/* Upload */
|
|
479
479
|
.ps-tryon-upload {
|
|
480
|
-
border: 2px dashed var(--ps-upload-border,
|
|
480
|
+
border: 2px dashed var(--ps-upload-border, var(--ps-border-color)); border-radius: 0.63vw;
|
|
481
481
|
padding: 2.08vw 1.25vw; text-align: center; cursor: pointer; transition: all 0.2s;
|
|
482
482
|
background: var(--ps-upload-bg, transparent); display: flex; flex-direction: column; align-items: center;
|
|
483
483
|
}
|
|
484
|
-
.ps-tryon-upload:hover, .ps-tryon-drag-over { border-color: var(--ps-accent); background: rgba(
|
|
484
|
+
.ps-tryon-upload:hover, .ps-tryon-drag-over { border-color: var(--ps-accent); background: rgba(33,84,239,0.05); }
|
|
485
485
|
.ps-tryon-upload svg { color: var(--ps-upload-icon-color, var(--ps-accent)); margin-bottom: 0.63vw; }
|
|
486
|
-
.ps-tryon-upload-text { font-size: 0.73vw; color: var(--ps-upload-color,
|
|
486
|
+
.ps-tryon-upload-text { font-size: 0.73vw; color: var(--ps-upload-color, var(--ps-text-primary)); margin: 0 0 0.21vw; }
|
|
487
487
|
.ps-tryon-upload-hint { font-size: 0.63vw; color: var(--ps-text-secondary); margin: 0; }
|
|
488
488
|
.ps-tryon-preview {
|
|
489
489
|
position: relative; margin-bottom: 0.21vw;
|
|
490
490
|
height: 20vw; border-radius: 0.63vw;
|
|
491
|
-
overflow: hidden; background:
|
|
491
|
+
overflow: hidden; background: var(--ps-bg-tertiary);
|
|
492
492
|
}
|
|
493
493
|
.ps-tryon-preview-blur {
|
|
494
494
|
position: absolute; inset: -20px; background-size: cover; background-position: center;
|
|
@@ -706,7 +706,7 @@ const STYLES = `
|
|
|
706
706
|
margin-bottom: 0.6vw;
|
|
707
707
|
}
|
|
708
708
|
.ps-tryon-v2-title {
|
|
709
|
-
font-size: 1.2vw; font-weight: 300; color:
|
|
709
|
+
font-size: 1.2vw; font-weight: 300; color: var(--ps-text-primary);
|
|
710
710
|
letter-spacing: 0.2em; text-transform: uppercase; margin: 0;
|
|
711
711
|
font-family: inherit;
|
|
712
712
|
}
|
|
@@ -725,7 +725,7 @@ const STYLES = `
|
|
|
725
725
|
transition: all 0.25s;
|
|
726
726
|
}
|
|
727
727
|
.ps-tryon-v2-unit.ps-on {
|
|
728
|
-
background: rgba(
|
|
728
|
+
background: rgba(33,84,239,0.15); color: var(--ps-accent);
|
|
729
729
|
}
|
|
730
730
|
|
|
731
731
|
/* Body type card selector */
|
|
@@ -744,10 +744,10 @@ const STYLES = `
|
|
|
744
744
|
cursor: pointer; font-family: inherit; transition: all 0.2s;
|
|
745
745
|
}
|
|
746
746
|
.ps-tryon-bodytype-card:hover {
|
|
747
|
-
border-color: var(--ps-accent); background: rgba(
|
|
747
|
+
border-color: var(--ps-accent); background: rgba(33,84,239,0.06);
|
|
748
748
|
}
|
|
749
749
|
.ps-tryon-bodytype-card.ps-active {
|
|
750
|
-
border-color: var(--ps-accent); background: rgba(
|
|
750
|
+
border-color: var(--ps-accent); background: rgba(33,84,239,0.12);
|
|
751
751
|
color: var(--ps-accent);
|
|
752
752
|
}
|
|
753
753
|
.ps-tryon-bodytype-label {
|
|
@@ -757,7 +757,7 @@ const STYLES = `
|
|
|
757
757
|
/* Separator */
|
|
758
758
|
.ps-tryon-v2-sep {
|
|
759
759
|
height: 1px;
|
|
760
|
-
background: linear-gradient(90deg, transparent, rgba(
|
|
760
|
+
background: linear-gradient(90deg, transparent, rgba(33,84,239,0.2), transparent);
|
|
761
761
|
margin-bottom: 0.8vw;
|
|
762
762
|
}
|
|
763
763
|
|
|
@@ -770,7 +770,7 @@ const STYLES = `
|
|
|
770
770
|
appearance: none; -webkit-appearance: none;
|
|
771
771
|
transition: border-color 0.2s;
|
|
772
772
|
}
|
|
773
|
-
.ps-tryon-v2-profile:focus { border-color: rgba(
|
|
773
|
+
.ps-tryon-v2-profile:focus { border-color: rgba(33,84,239,0.3); }
|
|
774
774
|
|
|
775
775
|
/* Fields container — scrollable */
|
|
776
776
|
.ps-tryon-v2-fields {
|
|
@@ -803,7 +803,7 @@ const STYLES = `
|
|
|
803
803
|
flex: 1; border: none;
|
|
804
804
|
border-bottom: 1.5px solid rgba(0,0,0,0.1);
|
|
805
805
|
background: none; padding: 0.25vw 0;
|
|
806
|
-
font-size: 1vw; font-weight: 400; color:
|
|
806
|
+
font-size: 1vw; font-weight: 400; color: var(--ps-text-primary);
|
|
807
807
|
font-family: inherit; outline: none;
|
|
808
808
|
-moz-appearance: textfield;
|
|
809
809
|
transition: border-color 0.3s;
|
|
@@ -830,7 +830,7 @@ const STYLES = `
|
|
|
830
830
|
}
|
|
831
831
|
.ps-tryon-v2-cta:hover {
|
|
832
832
|
background: var(--ps-accent-light);
|
|
833
|
-
box-shadow: 0 0.3vw 1.5vw rgba(
|
|
833
|
+
box-shadow: 0 0.3vw 1.5vw rgba(33,84,239,0.25);
|
|
834
834
|
transform: translateY(-1px);
|
|
835
835
|
}
|
|
836
836
|
.ps-tryon-v2-cta svg { width: 0.8vw; height: 0.8vw; stroke: currentColor; }
|
|
@@ -880,13 +880,13 @@ const STYLES = `
|
|
|
880
880
|
.ps-tryon-sr-card-row:nth-child(4) { animation-delay: 0.18s; }
|
|
881
881
|
.ps-tryon-sr-card-row:hover {
|
|
882
882
|
border-color: var(--ps-accent);
|
|
883
|
-
background: rgba(
|
|
883
|
+
background: rgba(33,84,239,0.04);
|
|
884
884
|
transform: translateX(0.15vw);
|
|
885
885
|
}
|
|
886
886
|
.ps-tryon-sr-card-icon {
|
|
887
887
|
width: 2vw; height: 2vw; flex-shrink: 0;
|
|
888
888
|
display: flex; align-items: center; justify-content: center;
|
|
889
|
-
background: rgba(
|
|
889
|
+
background: rgba(33,84,239,0.06); border: 1px solid rgba(33,84,239,0.1);
|
|
890
890
|
border-radius: 50%; color: var(--ps-accent);
|
|
891
891
|
}
|
|
892
892
|
.ps-tryon-sr-card-icon svg { stroke: currentColor; }
|
|
@@ -927,7 +927,7 @@ const STYLES = `
|
|
|
927
927
|
.ps-tryon-sr-card-v2.ps-full { flex: 1 1 100%; max-width: 100%; min-height: 5vw; padding: 0.8vw; }
|
|
928
928
|
.ps-tryon-sr-card-v2:hover {
|
|
929
929
|
border-color: var(--ps-accent);
|
|
930
|
-
background: rgba(
|
|
930
|
+
background: rgba(33,84,239,0.06);
|
|
931
931
|
transform: translateY(-2px);
|
|
932
932
|
box-shadow: 0 0.4vw 1.5vw rgba(0,0,0,0.3);
|
|
933
933
|
}
|
|
@@ -939,7 +939,7 @@ const STYLES = `
|
|
|
939
939
|
text-transform: uppercase; letter-spacing: 0.1em;
|
|
940
940
|
}
|
|
941
941
|
.ps-tryon-sr-card-v2-value {
|
|
942
|
-
font-size: 2.2vw; font-weight: 200; color:
|
|
942
|
+
font-size: 2.2vw; font-weight: 200; color: var(--ps-text-primary);
|
|
943
943
|
line-height: 1; letter-spacing: -0.02em;
|
|
944
944
|
}
|
|
945
945
|
.ps-tryon-sr-card-v2.ps-full .ps-tryon-sr-card-v2-value { font-size: 1.8vw; }
|
|
@@ -947,7 +947,7 @@ const STYLES = `
|
|
|
947
947
|
font-size: 0.5vw; font-weight: 600; color: var(--ps-accent);
|
|
948
948
|
text-transform: uppercase; letter-spacing: 0.1em;
|
|
949
949
|
margin-top: 0.15vw;
|
|
950
|
-
border: 1px solid rgba(
|
|
950
|
+
border: 1px solid rgba(33,84,239,0.25); border-radius: 2vw;
|
|
951
951
|
padding: 0.1vw 0.5vw;
|
|
952
952
|
}
|
|
953
953
|
.ps-tryon-sr-card-v2-img { display: none; }
|
|
@@ -962,7 +962,7 @@ const STYLES = `
|
|
|
962
962
|
position: relative; overflow: hidden;
|
|
963
963
|
}
|
|
964
964
|
.ps-tryon-guide-drop-v2:hover, .ps-tryon-guide-drop-v2.ps-drag {
|
|
965
|
-
border-color: var(--ps-accent); background: rgba(
|
|
965
|
+
border-color: var(--ps-accent); background: rgba(33,84,239,0.04);
|
|
966
966
|
}
|
|
967
967
|
.ps-tryon-guide-drop-v2.ps-has { border-style: solid; border-color: rgba(0,0,0,0.06); cursor: default; }
|
|
968
968
|
.ps-tryon-guide-drop-v2 svg { color: rgba(0,0,0,0.2); }
|
|
@@ -975,7 +975,7 @@ const STYLES = `
|
|
|
975
975
|
position: absolute; top: 0.4vw; right: 0.4vw;
|
|
976
976
|
width: 1.4vw; height: 1.4vw; border-radius: 50%;
|
|
977
977
|
background: rgba(0,0,0,0.7); border: 1px solid rgba(0,0,0,0.08);
|
|
978
|
-
color:
|
|
978
|
+
color: var(--ps-text-muted); font-size: 0.6vw; cursor: pointer;
|
|
979
979
|
display: flex; align-items: center; justify-content: center;
|
|
980
980
|
transition: background 0.2s;
|
|
981
981
|
}
|
|
@@ -1033,7 +1033,7 @@ const STYLES = `
|
|
|
1033
1033
|
margin-top: 0.5vw; flex-shrink: 0;
|
|
1034
1034
|
}
|
|
1035
1035
|
.ps-tryon-v2-alt button {
|
|
1036
|
-
background: none; border: none; color: rgba(
|
|
1036
|
+
background: none; border: none; color: rgba(33,84,239,0.5);
|
|
1037
1037
|
font-size: 0.58vw; font-weight: 500; cursor: pointer;
|
|
1038
1038
|
font-family: inherit; letter-spacing: 0.04em;
|
|
1039
1039
|
transition: color 0.2s; padding: 0;
|
|
@@ -1066,7 +1066,7 @@ const STYLES = `
|
|
|
1066
1066
|
font-family: inherit; transition: all 0.25s; letter-spacing: 0.06em; text-transform: uppercase;
|
|
1067
1067
|
}
|
|
1068
1068
|
.ps-tryon-sf-unit-tab:hover { color: rgba(0,0,0,0.5); }
|
|
1069
|
-
.ps-tryon-sf-unit-tab.ps-active { color: var(--ps-accent); background: rgba(
|
|
1069
|
+
.ps-tryon-sf-unit-tab.ps-active { color: var(--ps-accent); background: rgba(33,84,239,0.08); }
|
|
1070
1070
|
|
|
1071
1071
|
.ps-tryon-sf-profile-bar { margin-bottom: 0.7vw; }
|
|
1072
1072
|
.ps-tryon-sf-profile-select {
|
|
@@ -1180,7 +1180,7 @@ const STYLES = `
|
|
|
1180
1180
|
/* Mode switch — below button */
|
|
1181
1181
|
.ps-tryon-sf-mode-switch { margin-top: 0.5vw; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.25vw; }
|
|
1182
1182
|
.ps-tryon-sf-switch-btn {
|
|
1183
|
-
background: none; border: none; color: rgba(
|
|
1183
|
+
background: none; border: none; color: rgba(33,84,239,0.7); font-size: 0.65vw;
|
|
1184
1184
|
font-weight: 500; cursor: pointer; font-family: inherit;
|
|
1185
1185
|
display: inline-flex; align-items: center; gap: 0.2vw;
|
|
1186
1186
|
transition: color 0.25s; padding: 0.15vw 0; letter-spacing: 0.03em;
|
|
@@ -1199,7 +1199,7 @@ const STYLES = `
|
|
|
1199
1199
|
padding: 0.4vw 0.8vw; border-radius: 0.45vw; transition: all 0.2s;
|
|
1200
1200
|
}
|
|
1201
1201
|
.ps-tryon-sf-measure-overlay:hover { border-color: var(--ps-accent); color: var(--ps-text-primary); }
|
|
1202
|
-
.ps-tryon-sf-measure-overlay.ps-active { border-color: var(--ps-accent); color: var(--ps-accent); background: rgba(
|
|
1202
|
+
.ps-tryon-sf-measure-overlay.ps-active { border-color: var(--ps-accent); color: var(--ps-accent); background: rgba(33,84,239,0.15); }
|
|
1203
1203
|
.ps-tryon-sf-measure-overlay svg { stroke: currentColor; }
|
|
1204
1204
|
|
|
1205
1205
|
/* Estimation review view */
|
|
@@ -1211,7 +1211,7 @@ const STYLES = `
|
|
|
1211
1211
|
}
|
|
1212
1212
|
.ps-tryon-sf-estimated-badge {
|
|
1213
1213
|
display: inline-block; font-size: 0.45vw; padding: 0.08vw 0.25vw;
|
|
1214
|
-
border-radius: 0.2vw; background: rgba(
|
|
1214
|
+
border-radius: 0.2vw; background: rgba(33,84,239,0.15); color: var(--ps-accent);
|
|
1215
1215
|
letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; width: fit-content;
|
|
1216
1216
|
}
|
|
1217
1217
|
.ps-tryon-sf-edit-icon {
|
|
@@ -1254,7 +1254,7 @@ const STYLES = `
|
|
|
1254
1254
|
font-weight: 600; cursor: pointer; font-family: inherit;
|
|
1255
1255
|
flex-shrink: 0; letter-spacing: 0.06em; text-transform: uppercase;
|
|
1256
1256
|
transition: background 0.2s ease, opacity 0.2s ease;
|
|
1257
|
-
box-shadow: 0 0.2vw 1vw rgba(
|
|
1257
|
+
box-shadow: 0 0.2vw 1vw rgba(33,84,239,0.15);
|
|
1258
1258
|
display: inline-flex; align-items: center; gap: 0.35vw;
|
|
1259
1259
|
}
|
|
1260
1260
|
.ps-tryon-sf-next:hover { background: var(--ps-accent-hover); }
|
|
@@ -1282,7 +1282,7 @@ const STYLES = `
|
|
|
1282
1282
|
padding: 0.3vw 1.4vw; cursor: pointer; font-family: inherit; transition: all 0.15s;
|
|
1283
1283
|
}
|
|
1284
1284
|
.ps-hpk-toggle button.ps-on {
|
|
1285
|
-
background: var(--ps-accent); color: #
|
|
1285
|
+
background: var(--ps-accent); color: #fff; border-radius: 2vw;
|
|
1286
1286
|
}
|
|
1287
1287
|
|
|
1288
1288
|
/* Main visual area */
|
|
@@ -1344,16 +1344,16 @@ const STYLES = `
|
|
|
1344
1344
|
/* Horizontal indicator line — spans full width */
|
|
1345
1345
|
.ps-hpk-line {
|
|
1346
1346
|
position: absolute; left: 0; right: 0; height: 2px;
|
|
1347
|
-
background: rgba(
|
|
1347
|
+
background: rgba(33,84,239,0.5); z-index: 3;
|
|
1348
1348
|
transform: translateY(50%); pointer-events: none;
|
|
1349
|
-
box-shadow: 0 0 8px rgba(
|
|
1349
|
+
box-shadow: 0 0 8px rgba(33,84,239,0.3);
|
|
1350
1350
|
}
|
|
1351
1351
|
.ps-hpk-line::before {
|
|
1352
1352
|
content: ''; position: absolute; left: 50%; top: 50%;
|
|
1353
1353
|
transform: translate(-50%, -50%);
|
|
1354
1354
|
width: 10px; height: 10px; border-radius: 50%;
|
|
1355
1355
|
border: 2px solid var(--ps-accent); background: var(--ps-bg-secondary);
|
|
1356
|
-
box-shadow: 0 0 8px rgba(
|
|
1356
|
+
box-shadow: 0 0 8px rgba(33,84,239,0.6);
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
1359
|
/* ══════════ Weight Picker ══════════ */
|
|
@@ -1398,7 +1398,7 @@ const STYLES = `
|
|
|
1398
1398
|
.ps-wpk-ind-dot {
|
|
1399
1399
|
width: 10px; height: 10px; border-radius: 50%;
|
|
1400
1400
|
background: var(--ps-accent); border: 2px solid #fff; flex-shrink: 0;
|
|
1401
|
-
box-shadow: 0 0 8px rgba(
|
|
1401
|
+
box-shadow: 0 0 8px rgba(33,84,239,0.7);
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
.ps-wpk-labels {
|
|
@@ -1480,7 +1480,7 @@ const STYLES = `
|
|
|
1480
1480
|
padding: 0.31vw 0.73vw; background: transparent; border: none; color: var(--ps-text-secondary);
|
|
1481
1481
|
font-size: 0.63vw; font-weight: 600; cursor: pointer; transition: all 0.2s; font-family: inherit;
|
|
1482
1482
|
}
|
|
1483
|
-
.ps-tryon-unit-btn.ps-active { background: var(--ps-accent); color: #
|
|
1483
|
+
.ps-tryon-unit-btn.ps-active { background: var(--ps-accent); color: #fff; }
|
|
1484
1484
|
|
|
1485
1485
|
/* Unit tabs (cm / inches) */
|
|
1486
1486
|
.ps-tryon-unit-tabs {
|
|
@@ -1496,7 +1496,7 @@ const STYLES = `
|
|
|
1496
1496
|
.ps-tryon-unit-tab:first-child { border-right: 1px solid var(--ps-border-color); }
|
|
1497
1497
|
.ps-tryon-unit-tab:hover { color: var(--ps-text-secondary); background: rgba(0,0,0,0.02); }
|
|
1498
1498
|
.ps-tryon-unit-tab.ps-active {
|
|
1499
|
-
background: var(--ps-accent); color: #
|
|
1499
|
+
background: var(--ps-accent); color: #fff;
|
|
1500
1500
|
}
|
|
1501
1501
|
.ps-tryon-section-label { font-size: 0.57vw; font-weight: 700; color: var(--ps-accent); text-transform: uppercase; letter-spacing: 0.08em; margin: 0.21vw 0 0.1vw; }
|
|
1502
1502
|
.ps-tryon-optional-section { border-top: 1px solid var(--ps-border-color); padding-top: 0.52vw; margin-top: 0.31vw; }
|
|
@@ -1537,13 +1537,13 @@ const STYLES = `
|
|
|
1537
1537
|
}
|
|
1538
1538
|
.ps-tryon-scan-overlay {
|
|
1539
1539
|
position: absolute; inset: 0;
|
|
1540
|
-
background: linear-gradient(180deg, rgba(
|
|
1540
|
+
background: linear-gradient(180deg, rgba(33,84,239,0.05) 0%, transparent 40%, transparent 60%, rgba(33,84,239,0.05) 100%);
|
|
1541
1541
|
pointer-events: none;
|
|
1542
1542
|
}
|
|
1543
1543
|
.ps-tryon-scan-line {
|
|
1544
1544
|
position: absolute; left: 0; right: 0; height: 3px;
|
|
1545
1545
|
background: linear-gradient(90deg, transparent, #bb945c 20%, var(--ps-accent-light) 50%, #bb945c 80%, transparent);
|
|
1546
|
-
box-shadow: 0 0 0.78vw rgba(
|
|
1546
|
+
box-shadow: 0 0 0.78vw rgba(33,84,239,0.6), 0 0 2.08vw rgba(33,84,239,0.2);
|
|
1547
1547
|
animation: ps-scan 2.5s ease-in-out infinite;
|
|
1548
1548
|
pointer-events: none; z-index: 2;
|
|
1549
1549
|
}
|
|
@@ -1671,7 +1671,7 @@ const STYLES = `
|
|
|
1671
1671
|
flex: 1; padding: 0.63vw; font-family: var(--ps-modal-font, system-ui, sans-serif);
|
|
1672
1672
|
font-size: 0.68vw; font-weight: 600; border-radius: 0.52vw; cursor: pointer; transition: all 0.2s; border: none;
|
|
1673
1673
|
}
|
|
1674
|
-
.ps-tryon-btn-download { background: var(--ps-accent); color: #
|
|
1674
|
+
.ps-tryon-btn-download { background: var(--ps-accent); color: #fff; }
|
|
1675
1675
|
.ps-tryon-btn-download:hover { opacity: 0.9; }
|
|
1676
1676
|
.ps-tryon-btn-retry { background: rgba(0,0,0,0.06); color: var(--ps-text-primary); border: 1px solid var(--ps-border-color) !important; }
|
|
1677
1677
|
.ps-tryon-btn-retry:hover { background: rgba(0,0,0,0.08); }
|
|
@@ -1704,7 +1704,7 @@ const STYLES = `
|
|
|
1704
1704
|
}
|
|
1705
1705
|
.ps-tryon-sr-chart-btn {
|
|
1706
1706
|
position: absolute; bottom: 1vw; left: 1vw;
|
|
1707
|
-
background: rgba(255,255,255,0.95); color:
|
|
1707
|
+
background: rgba(255,255,255,0.95); color: var(--ps-text-primary); border: none;
|
|
1708
1708
|
padding: 0.4vw 0.8vw; border-radius: 0.3vw; font-size: 0.7vw; font-weight: 600;
|
|
1709
1709
|
cursor: pointer; font-family: inherit; transition: all 0.2s;
|
|
1710
1710
|
}
|
|
@@ -1742,7 +1742,7 @@ const STYLES = `
|
|
|
1742
1742
|
.ps-tryon-sr-size-changed {
|
|
1743
1743
|
display: inline-flex; align-items: center; gap: 0.3vw;
|
|
1744
1744
|
padding: 0.3vw 0.6vw; border-radius: 0.3vw;
|
|
1745
|
-
background: rgba(
|
|
1745
|
+
background: rgba(33,84,239,0.08); border: 1px solid rgba(33,84,239,0.2);
|
|
1746
1746
|
font-size: 0.7vw; color: var(--ps-accent-light);
|
|
1747
1747
|
}
|
|
1748
1748
|
.ps-tryon-sr-size-changed svg { stroke: var(--ps-accent); }
|
|
@@ -1830,7 +1830,7 @@ const STYLES = `
|
|
|
1830
1830
|
gap: 0.4vw; cursor: pointer; transition: all 0.2s; min-height: 8vw;
|
|
1831
1831
|
}
|
|
1832
1832
|
.ps-tryon-upload-modal-dropzone:hover { border-color: var(--ps-accent); }
|
|
1833
|
-
.ps-tryon-upload-modal-dropzone.ps-drag-over { border-color: var(--ps-accent); background: rgba(
|
|
1833
|
+
.ps-tryon-upload-modal-dropzone.ps-drag-over { border-color: var(--ps-accent); background: rgba(33,84,239,0.06); }
|
|
1834
1834
|
.ps-tryon-upload-modal-dropzone svg { color: var(--ps-text-muted); }
|
|
1835
1835
|
.ps-tryon-upload-modal-dropzone p {
|
|
1836
1836
|
font-size: 0.75vw; color: #ccc; margin: 0; font-weight: 500;
|
|
@@ -1914,7 +1914,7 @@ const STYLES = `
|
|
|
1914
1914
|
cursor: pointer; transition: all 0.2s; text-align: center;
|
|
1915
1915
|
}
|
|
1916
1916
|
.ps-tryon-guide-dropzone:hover, .ps-tryon-guide-dropzone.ps-drag {
|
|
1917
|
-
border-color: var(--ps-accent); background: rgba(
|
|
1917
|
+
border-color: var(--ps-accent); background: rgba(33,84,239,0.05);
|
|
1918
1918
|
}
|
|
1919
1919
|
.ps-tryon-guide-dropzone svg { color: #555; stroke: #555; }
|
|
1920
1920
|
.ps-tryon-guide-dropzone-text { margin: 0; font-size: 0.9vw; color: var(--ps-text-primary); font-weight: 600; }
|
|
@@ -2009,7 +2009,7 @@ const STYLES = `
|
|
|
2009
2009
|
.ps-tryon-chart-section-rec strong {
|
|
2010
2010
|
color: var(--ps-accent); font-weight: 700; font-size: 0.7vw;
|
|
2011
2011
|
}
|
|
2012
|
-
.ps-active-row td { color: var(--ps-text-primary) !important; background: rgba(
|
|
2012
|
+
.ps-active-row td { color: var(--ps-text-primary) !important; background: rgba(33,84,239,0.1); }
|
|
2013
2013
|
.ps-active-row .ps-size-col { color: var(--ps-accent) !important; font-weight: 700; }
|
|
2014
2014
|
|
|
2015
2015
|
.ps-tryon-sr-chart-table-wrap { overflow-x: auto; max-height: 14vw; overflow-y: auto; }
|
|
@@ -2019,7 +2019,7 @@ const STYLES = `
|
|
|
2019
2019
|
border-bottom: 1px solid var(--ps-border-color); position: sticky; top: 0; background: #111211;
|
|
2020
2020
|
}
|
|
2021
2021
|
.ps-tryon-sr-chart-table td { padding: 0.3vw 0.5vw; color: var(--ps-text-secondary); border-bottom: 1px solid #1a1a1a; }
|
|
2022
|
-
.ps-tryon-sr-chart-active td { color: var(--ps-text-primary); background: rgba(
|
|
2022
|
+
.ps-tryon-sr-chart-active td { color: var(--ps-text-primary); background: rgba(33,84,239,0.08); }
|
|
2023
2023
|
|
|
2024
2024
|
/* Size chips */
|
|
2025
2025
|
.ps-tryon-sr-chips { display: flex; flex-wrap: wrap; gap: 0.4vw; justify-content: center; margin-top: 3.5vh; }
|
|
@@ -2084,7 +2084,7 @@ const STYLES = `
|
|
|
2084
2084
|
.ps-tryon-sec-bigcard:hover {
|
|
2085
2085
|
border-color: var(--ps-accent);
|
|
2086
2086
|
transform: translateY(-0.2vw) scale(1.015);
|
|
2087
|
-
box-shadow: 0 0.8vw 2.5vw rgba(0,0,0,0.5), 0 0 0 1px rgba(
|
|
2087
|
+
box-shadow: 0 0.8vw 2.5vw rgba(0,0,0,0.5), 0 0 0 1px rgba(33,84,239,0.1);
|
|
2088
2088
|
}
|
|
2089
2089
|
.ps-tryon-sec-bigcard:not(.ps-has-img) {
|
|
2090
2090
|
align-items: center; justify-content: center;
|
|
@@ -2121,12 +2121,12 @@ const STYLES = `
|
|
|
2121
2121
|
.ps-tryon-sec-bigcard-icon {
|
|
2122
2122
|
width: 2.8vw; height: 2.8vw;
|
|
2123
2123
|
display: flex; align-items: center; justify-content: center;
|
|
2124
|
-
background: rgba(
|
|
2124
|
+
background: rgba(33,84,239,0.06); border: 1px solid rgba(33,84,239,0.12);
|
|
2125
2125
|
border-radius: 50%;
|
|
2126
2126
|
color: var(--ps-accent); transition: all 0.3s;
|
|
2127
2127
|
}
|
|
2128
2128
|
.ps-tryon-sec-bigcard:hover .ps-tryon-sec-bigcard-icon {
|
|
2129
|
-
background: rgba(
|
|
2129
|
+
background: rgba(33,84,239,0.12); border-color: rgba(33,84,239,0.25);
|
|
2130
2130
|
transform: scale(1.06);
|
|
2131
2131
|
}
|
|
2132
2132
|
.ps-tryon-sec-bigcard-icon svg { stroke: currentColor; }
|
|
@@ -2137,14 +2137,14 @@ const STYLES = `
|
|
|
2137
2137
|
text-shadow: 0 1px 6px rgba(0,0,0,0.8);
|
|
2138
2138
|
}
|
|
2139
2139
|
.ps-tryon-sec-bigcard-size {
|
|
2140
|
-
font-size: 2.2vw; font-weight: 200; color:
|
|
2140
|
+
font-size: 2.2vw; font-weight: 200; color: var(--ps-text-primary);
|
|
2141
2141
|
text-shadow: 0 2px 8px rgba(0,0,0,0.5);
|
|
2142
2142
|
line-height: 1; letter-spacing: -0.02em;
|
|
2143
2143
|
}
|
|
2144
2144
|
.ps-tryon-sec-bigcard-badge {
|
|
2145
2145
|
font-size: 0.45vw; font-weight: 600; text-transform: uppercase;
|
|
2146
2146
|
color: var(--ps-accent); background: none;
|
|
2147
|
-
border: 1px solid rgba(
|
|
2147
|
+
border: 1px solid rgba(33,84,239,0.3);
|
|
2148
2148
|
padding: 0.12vw 0.45vw; border-radius: 2vw; letter-spacing: 0.08em;
|
|
2149
2149
|
}
|
|
2150
2150
|
.ps-tryon-sec-bigcard-fit {
|
|
@@ -2180,7 +2180,7 @@ const STYLES = `
|
|
|
2180
2180
|
.ps-tryon-sec-detail-icon {
|
|
2181
2181
|
width: 1.8vw; height: 1.8vw;
|
|
2182
2182
|
display: flex; align-items: center; justify-content: center;
|
|
2183
|
-
background: rgba(
|
|
2183
|
+
background: rgba(33,84,239,0.08); border: 1px solid rgba(33,84,239,0.12);
|
|
2184
2184
|
border-radius: 50%; color: var(--ps-accent);
|
|
2185
2185
|
}
|
|
2186
2186
|
.ps-tryon-sec-detail-icon svg { stroke: currentColor; }
|
|
@@ -2308,7 +2308,7 @@ const STYLES = `
|
|
|
2308
2308
|
}
|
|
2309
2309
|
.ps-tryon-sr-cta:hover {
|
|
2310
2310
|
background: var(--ps-accent-light);
|
|
2311
|
-
box-shadow: 0 0.3vw 1.5vw rgba(
|
|
2311
|
+
box-shadow: 0 0.3vw 1.5vw rgba(33,84,239,0.25);
|
|
2312
2312
|
transform: translateY(-1px);
|
|
2313
2313
|
}
|
|
2314
2314
|
|
|
@@ -2319,7 +2319,7 @@ const STYLES = `
|
|
|
2319
2319
|
width: 0.25vw; height: 0.25vw; border-radius: 50%; background: var(--ps-accent);
|
|
2320
2320
|
}
|
|
2321
2321
|
.ps-tryon-sr-chip.ps-active .ps-tryon-sr-rec-dot { background: #fff; }
|
|
2322
|
-
.ps-tryon-sr-chip.ps-recommended { border-color: rgba(
|
|
2322
|
+
.ps-tryon-sr-chip.ps-recommended { border-color: rgba(33,84,239,0.4); }
|
|
2323
2323
|
|
|
2324
2324
|
/* ── Full Size Chart Overlay ── */
|
|
2325
2325
|
.ps-tryon-fc-overlay {
|
|
@@ -2383,10 +2383,10 @@ const STYLES = `
|
|
|
2383
2383
|
color: var(--ps-text-secondary); border-bottom: 1px solid #1e1e1e;
|
|
2384
2384
|
}
|
|
2385
2385
|
.ps-tryon-fc-table td:first-child { text-align: left; font-weight: 600; color: #ccc; }
|
|
2386
|
-
.ps-tryon-fc-rec-row td { color: var(--ps-text-primary); font-weight: 600; background: rgba(
|
|
2386
|
+
.ps-tryon-fc-rec-row td { color: var(--ps-text-primary); font-weight: 600; background: rgba(33,84,239,0.05); }
|
|
2387
2387
|
.ps-tryon-fc-rec-pill {
|
|
2388
2388
|
display: inline-flex; align-items: center; justify-content: center;
|
|
2389
|
-
background: #fff; color:
|
|
2389
|
+
background: #fff; color: var(--ps-text-primary); padding: 0.15vw 0.5vw;
|
|
2390
2390
|
border-radius: 1vw; font-weight: 800; font-size: 0.7vw;
|
|
2391
2391
|
}
|
|
2392
2392
|
|
|
@@ -2404,13 +2404,13 @@ const STYLES = `
|
|
|
2404
2404
|
}
|
|
2405
2405
|
.ps-tryon-save-row input:focus { border-color: var(--ps-accent); }
|
|
2406
2406
|
.ps-tryon-save-row button {
|
|
2407
|
-
padding: 0.52vw 1.04vw; background: var(--ps-accent); color: #
|
|
2407
|
+
padding: 0.52vw 1.04vw; background: var(--ps-accent); color: #fff; border: none; border-radius: 0.52vw;
|
|
2408
2408
|
font-size: 0.68vw; font-weight: 600; cursor: pointer; transition: opacity 0.2s; font-family: inherit;
|
|
2409
2409
|
}
|
|
2410
2410
|
.ps-tryon-save-row button:hover { opacity: 0.9; }
|
|
2411
2411
|
.ps-tryon-save-btn-group { display: flex; gap: 0.31vw; }
|
|
2412
2412
|
.ps-tryon-save-new-btn { background: transparent !important; border: 1.5px solid var(--ps-accent) !important; color: var(--ps-accent) !important; }
|
|
2413
|
-
.ps-tryon-save-new-btn:hover { background: rgba(
|
|
2413
|
+
.ps-tryon-save-new-btn:hover { background: rgba(33,84,239,0.1) !important; }
|
|
2414
2414
|
.ps-tryon-save-done { font-size: 0.63vw; color: #4ade80; margin-top: 0.52vw; display: flex; align-items: center; gap: 0.31vw; justify-content: center; }
|
|
2415
2415
|
.ps-tryon-save-done svg { stroke: currentColor; }
|
|
2416
2416
|
|
|
@@ -2446,7 +2446,7 @@ const STYLES = `
|
|
|
2446
2446
|
color: var(--ps-accent); font-size: 1vw; font-weight: 600; cursor: pointer;
|
|
2447
2447
|
font-family: inherit; transition: all 0.2s; flex-shrink: 0; line-height: 1;
|
|
2448
2448
|
}
|
|
2449
|
-
.ps-tryon-drawer-add-btn:hover { border-color: var(--ps-accent); background: rgba(
|
|
2449
|
+
.ps-tryon-drawer-add-btn:hover { border-color: var(--ps-accent); background: rgba(33,84,239,0.1); }
|
|
2450
2450
|
.ps-tryon-drawer-list { display: flex; flex-direction: column; gap: 0.52vw; max-width: 100%; overflow-x: hidden; }
|
|
2451
2451
|
.ps-tryon-drawer-empty { text-align: center; padding: 1.67vw 0.83vw; color: var(--ps-text-muted); font-size: 0.73vw; }
|
|
2452
2452
|
|
|
@@ -2459,7 +2459,7 @@ const STYLES = `
|
|
|
2459
2459
|
.ps-tryon-profile-avatar {
|
|
2460
2460
|
width: 2.08vw; height: 2.08vw; border-radius: 50%;
|
|
2461
2461
|
display: flex; align-items: center; justify-content: center;
|
|
2462
|
-
background: rgba(
|
|
2462
|
+
background: rgba(33,84,239,0.1); flex-shrink: 0;
|
|
2463
2463
|
}
|
|
2464
2464
|
.ps-tryon-profile-avatar svg { stroke: var(--ps-accent); fill: none; }
|
|
2465
2465
|
.ps-tryon-profile-info { flex: 1; min-width: 0; }
|
|
@@ -2473,7 +2473,7 @@ const STYLES = `
|
|
|
2473
2473
|
display: flex; gap: 0.73vw; padding: 0.73vw;
|
|
2474
2474
|
border: 1px solid var(--ps-border-color); border-radius: 0.63vw; align-items: flex-start; transition: all 0.2s;
|
|
2475
2475
|
}
|
|
2476
|
-
.ps-tryon-history-item:hover { border-color: var(--ps-accent); box-shadow: 0 0.21vw 0.63vw rgba(
|
|
2476
|
+
.ps-tryon-history-item:hover { border-color: var(--ps-accent); box-shadow: 0 0.21vw 0.63vw rgba(33,84,239,0.06); }
|
|
2477
2477
|
.ps-tryon-history-images { display: flex; gap: 0.42vw; flex-shrink: 0; }
|
|
2478
2478
|
.ps-tryon-history-thumb { width: 3.33vw; height: 4.17vw; border-radius: 0.52vw; object-fit: contain; background: var(--ps-modal-bg, #FFFFFF); flex-shrink: 0; }
|
|
2479
2479
|
.ps-tryon-history-info { flex: 1; min-width: 0; }
|
|
@@ -2485,7 +2485,7 @@ const STYLES = `
|
|
|
2485
2485
|
flex-shrink: 0; width: 2.08vw; height: 2.08vw; border-radius: 50%;
|
|
2486
2486
|
display: flex; align-items: center; justify-content: center;
|
|
2487
2487
|
background: linear-gradient(135deg, var(--ps-accent), var(--ps-accent-light));
|
|
2488
|
-
color:
|
|
2488
|
+
color: var(--ps-text-primary); font-size: 0.68vw; font-weight: 700;
|
|
2489
2489
|
}
|
|
2490
2490
|
.ps-tryon-history-result-img { width: 3.33vw; height: 4.17vw; border-radius: 0.52vw; object-fit: contain; background: var(--ps-modal-bg, #FFFFFF); flex-shrink: 0; border: 2px solid var(--ps-accent); }
|
|
2491
2491
|
.ps-tryon-history-delete {
|
|
@@ -2497,12 +2497,12 @@ const STYLES = `
|
|
|
2497
2497
|
.ps-tryon-history-clickable { cursor: pointer; }
|
|
2498
2498
|
.ps-tryon-history-sections { display: flex; flex-wrap: wrap; gap: 0.3vw; margin-top: 0.31vw; }
|
|
2499
2499
|
.ps-tryon-history-section-chip {
|
|
2500
|
-
font-size: 0.55vw; font-weight: 600; color: var(--ps-text-primary); background: rgba(
|
|
2501
|
-
border: 1px solid rgba(
|
|
2500
|
+
font-size: 0.55vw; font-weight: 600; color: var(--ps-text-primary); background: rgba(33,84,239,0.18);
|
|
2501
|
+
border: 1px solid rgba(33,84,239,0.3); border-radius: 0.3vw; padding: 0.15vw 0.4vw;
|
|
2502
2502
|
}
|
|
2503
2503
|
.ps-tryon-history-tryon-badge {
|
|
2504
2504
|
display: inline-block; font-size: 0.5vw; font-weight: 600; color: var(--ps-accent);
|
|
2505
|
-
background: rgba(
|
|
2505
|
+
background: rgba(33,84,239,0.12); border: 1px solid rgba(33,84,239,0.25);
|
|
2506
2506
|
border-radius: 0.25vw; padding: 0.1vw 0.35vw; margin-top: 0.25vw;
|
|
2507
2507
|
}
|
|
2508
2508
|
|
|
@@ -2523,8 +2523,8 @@ const STYLES = `
|
|
|
2523
2523
|
font-family: inherit; text-align: left; transition: all 0.2s;
|
|
2524
2524
|
flex: 1;
|
|
2525
2525
|
}
|
|
2526
|
-
.ps-tryon-quiz-option:hover { border-color: var(--ps-accent); background: rgba(
|
|
2527
|
-
.ps-tryon-quiz-option.ps-active { border-color: var(--ps-accent); background: rgba(
|
|
2526
|
+
.ps-tryon-quiz-option:hover { border-color: var(--ps-accent); background: rgba(33,84,239,0.06); }
|
|
2527
|
+
.ps-tryon-quiz-option.ps-active { border-color: var(--ps-accent); background: rgba(33,84,239,0.12); }
|
|
2528
2528
|
.ps-tryon-quiz-option-label { font-size: 0.8vw; font-weight: 600; }
|
|
2529
2529
|
.ps-tryon-quiz-option-desc { font-size: 0.6vw; color: var(--ps-text-secondary); }
|
|
2530
2530
|
|
|
@@ -2541,7 +2541,7 @@ const STYLES = `
|
|
|
2541
2541
|
color: var(--ps-text-muted); font-size: 0.62vw; font-weight: 600; cursor: pointer;
|
|
2542
2542
|
font-family: inherit; transition: all 0.15s; white-space: nowrap; line-height: 1.2;
|
|
2543
2543
|
}
|
|
2544
|
-
.ps-tryon-pe-pill-btn.ps-active { background: var(--ps-accent); color: #
|
|
2544
|
+
.ps-tryon-pe-pill-btn.ps-active { background: var(--ps-accent); color: #fff; }
|
|
2545
2545
|
.ps-tryon-pe-pill-btn:not(.ps-active):hover { color: var(--ps-text-secondary); background: rgba(0,0,0,0.03); }
|
|
2546
2546
|
.ps-tryon-pe-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1vw 1.6vw; width: 100%; box-sizing: border-box; }
|
|
2547
2547
|
.ps-tryon-pe-fields .ps-tryon-sf-float-field {
|
|
@@ -2564,7 +2564,7 @@ const STYLES = `
|
|
|
2564
2564
|
.ps-tryon-pe-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.8vw; margin-top: 1.2vw; }
|
|
2565
2565
|
.ps-tryon-pe-actions .ps-tryon-est-back { font-size: 0.65vw; }
|
|
2566
2566
|
.ps-tryon-pe-save {
|
|
2567
|
-
padding: 0.45vw 1.2vw; background: var(--ps-accent); color: #
|
|
2567
|
+
padding: 0.45vw 1.2vw; background: var(--ps-accent); color: #fff; border: none;
|
|
2568
2568
|
border-radius: 0.4vw; font-size: 0.65vw; font-weight: 600; cursor: pointer;
|
|
2569
2569
|
font-family: inherit; letter-spacing: 0.06em; text-transform: uppercase;
|
|
2570
2570
|
display: inline-flex; align-items: center; gap: 0.3vw;
|
|
@@ -2577,7 +2577,7 @@ const STYLES = `
|
|
|
2577
2577
|
font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s;
|
|
2578
2578
|
display: flex; align-items: center; justify-content: center; gap: 0.3vw;
|
|
2579
2579
|
}
|
|
2580
|
-
.ps-tryon-drawer-create:hover { border-color: var(--ps-accent); background: rgba(
|
|
2580
|
+
.ps-tryon-drawer-create:hover { border-color: var(--ps-accent); background: rgba(33,84,239,0.06); }
|
|
2581
2581
|
.ps-tryon-drawer-clear {
|
|
2582
2582
|
background: none; border: none; color: var(--ps-text-muted); font-size: 0.6vw;
|
|
2583
2583
|
font-weight: 500; cursor: pointer; font-family: inherit; padding: 0.3vw 0;
|
|
@@ -2720,7 +2720,7 @@ const STYLES = `
|
|
|
2720
2720
|
.ps-bp-wrapper { display: flex; flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
|
|
2721
2721
|
.ps-bp-shapes-header { flex-shrink: 0; margin-bottom: 0.6vw; text-align: left; }
|
|
2722
2722
|
.ps-bp-shapes-header .ps-bp-title { font-size: 1vw; font-weight: 600; }
|
|
2723
|
-
.ps-bp-shapes-header .ps-bp-subtitle { font-size: 0.55vw; color:
|
|
2723
|
+
.ps-bp-shapes-header .ps-bp-subtitle { font-size: 0.55vw; color: var(--ps-text-muted); font-weight: 400; }
|
|
2724
2724
|
|
|
2725
2725
|
/* Split layout: product left, form right — FIXED vh height, never changes */
|
|
2726
2726
|
.ps-bp-layout {
|
|
@@ -2742,7 +2742,7 @@ const STYLES = `
|
|
|
2742
2742
|
cursor: pointer; border: 2px dashed var(--ps-border-color);
|
|
2743
2743
|
align-self: stretch; align-items: center; justify-content: center;
|
|
2744
2744
|
}
|
|
2745
|
-
.ps-bp-upload-zone:hover { border-color: var(--ps-accent); background: rgba(
|
|
2745
|
+
.ps-bp-upload-zone:hover { border-color: var(--ps-accent); background: rgba(33,84,239,0.04); }
|
|
2746
2746
|
.ps-bp-upload-placeholder {
|
|
2747
2747
|
display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6vw;
|
|
2748
2748
|
color: var(--ps-text-muted);
|
|
@@ -2755,7 +2755,7 @@ const STYLES = `
|
|
|
2755
2755
|
position: absolute; top: 0.5vw; right: 0.5vw;
|
|
2756
2756
|
width: 1.6vw; height: 1.6vw; display: flex; align-items: center; justify-content: center;
|
|
2757
2757
|
background: rgba(0,0,0,0.6); border: none; border-radius: 50%;
|
|
2758
|
-
color:
|
|
2758
|
+
color: var(--ps-text-primary); font-size: 1vw; cursor: pointer; line-height: 1;
|
|
2759
2759
|
transition: background 0.15s; z-index: 2;
|
|
2760
2760
|
}
|
|
2761
2761
|
.ps-bp-image-remove:hover { background: rgba(0,0,0,0.8); }
|
|
@@ -2907,21 +2907,21 @@ const STYLES = `
|
|
|
2907
2907
|
transition: all 0.15s;
|
|
2908
2908
|
}
|
|
2909
2909
|
.ps-bp-bra-region-item:hover { background: rgba(0,0,0,0.04); color: var(--ps-text-primary); }
|
|
2910
|
-
.ps-bp-bra-region-item.ps-selected { color: var(--ps-accent); background: rgba(
|
|
2910
|
+
.ps-bp-bra-region-item.ps-selected { color: var(--ps-accent); background: rgba(33,84,239,0.1); }
|
|
2911
2911
|
.ps-bp-bra-grid {
|
|
2912
2912
|
display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35vw;
|
|
2913
2913
|
}
|
|
2914
2914
|
.ps-bp-bra-btn {
|
|
2915
2915
|
padding: 0.4vw 0; text-align: center;
|
|
2916
2916
|
background: transparent; border: 1px solid rgba(0,0,0,0.08);
|
|
2917
|
-
border-radius: 0.35vw; color:
|
|
2917
|
+
border-radius: 0.35vw; color: var(--ps-text-secondary);
|
|
2918
2918
|
font-size: 0.65vw; font-weight: 500; cursor: pointer;
|
|
2919
2919
|
font-family: inherit; transition: all 0.2s;
|
|
2920
2920
|
}
|
|
2921
2921
|
.ps-bp-bra-btn:hover { border-color: rgba(0,0,0,0.3); color: var(--ps-text-primary); }
|
|
2922
2922
|
.ps-bp-bra-btn-selected {
|
|
2923
2923
|
background: var(--ps-accent) !important; border-color: var(--ps-accent) !important;
|
|
2924
|
-
color: #
|
|
2924
|
+
color: #fff !important; font-weight: 700;
|
|
2925
2925
|
}
|
|
2926
2926
|
/* Bra result */
|
|
2927
2927
|
.ps-bp-bra-result {
|
|
@@ -2950,14 +2950,14 @@ const STYLES = `
|
|
|
2950
2950
|
box-shadow: 0 1px 4px rgba(0,0,0,0.05);
|
|
2951
2951
|
}
|
|
2952
2952
|
.ps-bp-option:hover {
|
|
2953
|
-
border-color: rgba(
|
|
2953
|
+
border-color: rgba(33,84,239,0.5);
|
|
2954
2954
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
|
2955
2955
|
transform: translateY(-1px);
|
|
2956
2956
|
}
|
|
2957
2957
|
.ps-bp-option:hover .ps-bp-illust svg { transform: scale(1.05); }
|
|
2958
2958
|
.ps-bp-option-selected {
|
|
2959
2959
|
border-color: var(--ps-accent) !important;
|
|
2960
|
-
box-shadow: 0 4px 12px rgba(
|
|
2960
|
+
box-shadow: 0 4px 12px rgba(33,84,239,0.18) !important;
|
|
2961
2961
|
}
|
|
2962
2962
|
.ps-bp-option-icon {
|
|
2963
2963
|
width: 6vw; height: 6vw; flex-shrink: 0;
|
|
@@ -2970,7 +2970,7 @@ const STYLES = `
|
|
|
2970
2970
|
flex: 1; font-size: 0.73vw; font-weight: 500;
|
|
2971
2971
|
color: #555; text-align: center;
|
|
2972
2972
|
}
|
|
2973
|
-
.ps-bp-option-selected .ps-bp-option-label { color:
|
|
2973
|
+
.ps-bp-option-selected .ps-bp-option-label { color: var(--ps-accent); font-weight: 600; }
|
|
2974
2974
|
.ps-bp-option::after {
|
|
2975
2975
|
content: "›"; font-size: 1.1vw; color: #ccc; flex-shrink: 0;
|
|
2976
2976
|
transition: all 0.25s ease;
|
|
@@ -3013,7 +3013,7 @@ const STYLES = `
|
|
|
3013
3013
|
position: relative;
|
|
3014
3014
|
}
|
|
3015
3015
|
.ps-bp-img-card:hover {
|
|
3016
|
-
border-color: rgba(
|
|
3016
|
+
border-color: rgba(33,84,239,0.4);
|
|
3017
3017
|
transform: translateY(-1px);
|
|
3018
3018
|
}
|
|
3019
3019
|
.ps-bp-img-card-selected {
|
|
@@ -3021,7 +3021,7 @@ const STYLES = `
|
|
|
3021
3021
|
border-width: 2.5px !important;
|
|
3022
3022
|
}
|
|
3023
3023
|
.ps-bp-img-card-selected .ps-bp-img-card-label {
|
|
3024
|
-
font-weight: 700; color:
|
|
3024
|
+
font-weight: 700; color: var(--ps-accent);
|
|
3025
3025
|
}
|
|
3026
3026
|
.ps-bp-img-card-check {
|
|
3027
3027
|
display: none; position: absolute; top: 0.3vw; right: 0.3vw;
|
|
@@ -3038,13 +3038,13 @@ const STYLES = `
|
|
|
3038
3038
|
background: transparent;
|
|
3039
3039
|
}
|
|
3040
3040
|
.ps-bp-img-card-img {
|
|
3041
|
-
width: 100%; height: 100%; object-fit:
|
|
3041
|
+
width: 100%; height: 100%; object-fit: contain;
|
|
3042
3042
|
}
|
|
3043
3043
|
.ps-bp-img-card .ps-bp-illust { width: 80%; height: 80%; }
|
|
3044
3044
|
.ps-bp-img-card .ps-bp-illust svg { width: 100%; height: 100%; }
|
|
3045
3045
|
.ps-bp-img-card-label {
|
|
3046
3046
|
padding: 0.3vw 0.2vw; font-size: 0.6vw; font-weight: 600;
|
|
3047
|
-
color:
|
|
3047
|
+
color: var(--ps-text-secondary); text-align: center; width: 100%;
|
|
3048
3048
|
transition: opacity 0.2s;
|
|
3049
3049
|
}
|
|
3050
3050
|
/* Hover hint text below cards */
|
|
@@ -3064,7 +3064,7 @@ const STYLES = `
|
|
|
3064
3064
|
font-family: inherit; text-align: left;
|
|
3065
3065
|
}
|
|
3066
3066
|
.ps-bp-photo-upload:hover {
|
|
3067
|
-
border-color: var(--ps-accent); background: rgba(
|
|
3067
|
+
border-color: var(--ps-accent); background: rgba(33,84,239,0.04);
|
|
3068
3068
|
color: var(--ps-text-secondary);
|
|
3069
3069
|
}
|
|
3070
3070
|
.ps-bp-photo-upload svg { flex-shrink: 0; opacity: 0.6; }
|
|
@@ -3074,7 +3074,7 @@ const STYLES = `
|
|
|
3074
3074
|
.ps-bp-photo-preview {
|
|
3075
3075
|
display: flex; align-items: center; gap: 0.6vw;
|
|
3076
3076
|
padding: 0.5vw; border: 1.5px solid var(--ps-accent);
|
|
3077
|
-
border-radius: 0.5vw; background: rgba(
|
|
3077
|
+
border-radius: 0.5vw; background: rgba(33,84,239,0.06);
|
|
3078
3078
|
}
|
|
3079
3079
|
.ps-bp-photo-thumb {
|
|
3080
3080
|
width: 2.8vw; height: 2.8vw; object-fit: cover;
|
|
@@ -3843,8 +3843,8 @@ function SizingChoiceView({
|
|
|
3843
3843
|
const renderExactFields = () => {
|
|
3844
3844
|
if (sizeGuideFetching) {
|
|
3845
3845
|
return /* @__PURE__ */ jsx(Fragment, { children: [1, 2, 3].map((i) => /* @__PURE__ */ jsxs("div", { className: "ps-tryon-sf-row ps-tryon-sf-skeleton", children: [
|
|
3846
|
-
/* @__PURE__ */ jsx("div", { className: "ps-tryon-sf-label ps-tryon-skel-bar", style: { width: "40%", height: "0.9em", borderRadius: "4px", background: "rgba(
|
|
3847
|
-
/* @__PURE__ */ jsx("div", { className: "ps-tryon-sf-input-wrap", children: /* @__PURE__ */ jsx("div", { className: "ps-tryon-skel-bar", style: { width: "100%", height: "2.2em", borderRadius: "6px", background: "rgba(
|
|
3846
|
+
/* @__PURE__ */ jsx("div", { className: "ps-tryon-sf-label ps-tryon-skel-bar", style: { width: "40%", height: "0.9em", borderRadius: "4px", background: "rgba(0,0,0,0.05)" } }),
|
|
3847
|
+
/* @__PURE__ */ jsx("div", { className: "ps-tryon-sf-input-wrap", children: /* @__PURE__ */ jsx("div", { className: "ps-tryon-skel-bar", style: { width: "100%", height: "2.2em", borderRadius: "6px", background: "rgba(0,0,0,0.04)" } }) })
|
|
3848
3848
|
] }, `skel-${i}`)) });
|
|
3849
3849
|
}
|
|
3850
3850
|
const reqFields = dynamicFields.filter((f) => f.required);
|
|
@@ -4199,7 +4199,7 @@ function MeasurementOverlay({ lines, fitRows, show, imgWidth, imgHeight }) {
|
|
|
4199
4199
|
{
|
|
4200
4200
|
x: x2 + 10 * scale,
|
|
4201
4201
|
y: cy + 1 * scale,
|
|
4202
|
-
fill: "rgba(
|
|
4202
|
+
fill: "rgba(0,0,0,0.7)",
|
|
4203
4203
|
fontSize: Math.round(11 * scale),
|
|
4204
4204
|
fontWeight: "500",
|
|
4205
4205
|
fontFamily: "system-ui, -apple-system, sans-serif",
|
|
@@ -4933,7 +4933,7 @@ function SizeResultView({
|
|
|
4933
4933
|
/* @__PURE__ */ jsxs("div", { className: "ps-tryon-v2-panel", children: [
|
|
4934
4934
|
/* @__PURE__ */ jsxs("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "flex-start" }, children: [
|
|
4935
4935
|
/* @__PURE__ */ jsx("h3", { className: "ps-tryon-v2-title", children: t("Virtual Try-On") }),
|
|
4936
|
-
/* @__PURE__ */ jsx("button", { style: { background: "none", border: "none", color: "rgba(
|
|
4936
|
+
/* @__PURE__ */ jsx("button", { style: { background: "none", border: "none", color: "rgba(0,0,0,0.3)", cursor: "pointer", fontSize: "1.2vw" }, onClick: () => setShowPhotoGuide(false), children: "✕" })
|
|
4937
4937
|
] }),
|
|
4938
4938
|
/* @__PURE__ */ jsx("p", { className: "ps-tryon-v2-subtitle", children: t("Upload a full-body photo to see how it looks on you") }),
|
|
4939
4939
|
/* @__PURE__ */ jsx("div", { className: "ps-tryon-v2-sep" }),
|
|
@@ -4966,7 +4966,7 @@ function SizeResultView({
|
|
|
4966
4966
|
" ",
|
|
4967
4967
|
t("Start Try-On")
|
|
4968
4968
|
] }),
|
|
4969
|
-
/* @__PURE__ */ jsx("p", { style: { fontSize: "0.5vw", color: "rgba(
|
|
4969
|
+
/* @__PURE__ */ jsx("p", { style: { fontSize: "0.5vw", color: "rgba(0,0,0,0.25)", textAlign: "center", marginTop: "0.3vw" }, children: t("Your photo is private and never shared") })
|
|
4970
4970
|
] }, "panel-guide")
|
|
4971
4971
|
] }) }),
|
|
4972
4972
|
showFullChart && sizeGuide && /* @__PURE__ */ jsx("div", { className: "ps-tryon-sr-chart-overlay", children: /* @__PURE__ */ jsxs("div", { className: "ps-tryon-sr-chart-modal", children: [
|