@sc-360-v2/storefront-cms-library 0.4.81 → 0.4.82

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.
@@ -835,7 +835,7 @@ $defaultValues: (
835
835
  width: 6px;
836
836
  height: 6px;
837
837
  border-radius: 50%;
838
- background-color: var(--_thm-cs-at-py);
838
+ background-color: currentColor;
839
839
  }
840
840
  // &.success {
841
841
  // background-color: var(--_success-200);
@@ -4,17 +4,40 @@
4
4
  border: none !important;
5
5
  padding: 0 !important;
6
6
 
7
+ // phone input styles
8
+ // .sc-phone-dial-code {
9
+ // padding: 8px !important;
10
+ // }
11
+ .sc-phone-input-wrapper {
12
+ .sc-phone-chevron {
13
+ display: none;
14
+ font-size: 0;
15
+ margin-top: -4px;
16
+ &::after {
17
+ content: "";
18
+ display: inline-block;
19
+ width: 6px;
20
+ height: 6px;
21
+ border-right: 2px solid var(--_gray-400);
22
+ border-bottom: 2px solid var(--_gray-400);
23
+ transform: rotate(45deg);
24
+ margin-left: 4px;
25
+ vertical-align: middle;
26
+ }
27
+ }
28
+ }
29
+
7
30
  .sc-phone-input-wrapper {
8
31
  display: flex;
9
32
  align-items: center;
10
- border: 1px solid var(--_primary-300);
33
+ border: 1px solid var(--_gray-300);
11
34
  border-radius: 6px;
12
35
  height: 38px;
13
36
  background-color: var(--_base-white);
14
37
  overflow: hidden;
15
38
 
16
39
  &:focus-within {
17
- outline: 2px solid var(--_primary-100);
40
+ outline: 2px solid var(--_gray-100);
18
41
  }
19
42
  }
20
43
 
@@ -27,7 +50,7 @@
27
50
  background: transparent;
28
51
  cursor: pointer;
29
52
  height: 100%;
30
- border-right: 1px solid var(--_primary-300);
53
+ // border-right: 1px solid var(--_primary-300);
31
54
  flex-shrink: 0;
32
55
 
33
56
  &:disabled {
@@ -53,7 +76,7 @@
53
76
  }
54
77
 
55
78
  .sc-phone-dial-code {
56
- padding: 0 4px 0 8px;
79
+ padding: 0 4px 0 0px;
57
80
  font-size: 14px;
58
81
  color: var(--_gray-700, #344054);
59
82
  white-space: nowrap;
@@ -68,7 +91,7 @@
68
91
  border-radius: 0 !important;
69
92
  height: 100%;
70
93
  font-size: 14px;
71
- padding: 0 12px 0 0 !important;
94
+ padding: 16px !important;
72
95
  background: transparent !important;
73
96
  min-width: 0;
74
97
 
@@ -1,3 +1,5 @@
1
+ @use "./functions.scss" as *;
2
+
1
3
  .product__image_element {
2
4
  // width: var(--_sf-nw-wh, var(--_tst-lt-wh));
3
5
  // width: var(--_sf-el-wh-st-mx, calc(1% * var(--_ctm-ele-nw-wh-vl, var(--_sf-nw-wh))));
@@ -715,7 +717,7 @@
715
717
  margin-inline: auto;
716
718
  }
717
719
  }
718
-
720
+ gap: var(--_ctm-dn-pt-pl-dn-pt-ie-lt-sr-ad-tl-gp);
719
721
  &[data-thumbnail-placement="top"] {
720
722
  flex-direction: column-reverse;
721
723
  }
@@ -726,32 +728,36 @@
726
728
  flex-direction: row-reverse;
727
729
 
728
730
  .embla__thumbs {
729
- width: var(
730
- --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
731
- var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
732
- );
733
-
731
+ // width: var(
732
+ // --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
733
+ // var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
734
+ // );
735
+ width: prepareMediaVariable(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-wh);
736
+ min-width: prepareMediaVariable(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-wh);
737
+ gap: prepareMediaVariable(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-sg);
734
738
  height: 100%;
735
739
 
736
740
  & .embla__thumbs__container {
737
741
  flex-direction: column;
738
742
  height: 100%;
743
+ justify-content: prepareMediaVariable(--_ctm-lt-an-is);
739
744
  }
740
745
  }
741
746
  }
742
747
  &[data-thumbnail-placement="right"] {
743
748
  flex-direction: row;
744
749
  .embla__thumbs {
745
- width: var(
746
- --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
747
- var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
748
- );
750
+ // width: var(
751
+ // --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
752
+ // var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
753
+ // );
749
754
 
750
755
  height: 100%;
751
756
 
752
757
  & .embla__thumbs__container {
753
758
  flex-direction: column;
754
759
  height: 100%;
760
+ justify-content: prepareMediaVariable(--_ctm-lt-an-is);
755
761
  }
756
762
  }
757
763
  }
@@ -884,18 +890,18 @@
884
890
  }
885
891
 
886
892
  .embla__thumbs {
887
- width: 100%;
888
- height: var(
889
- --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
890
- var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
891
- );
893
+ // width: 100%;
894
+ // height: var(
895
+ // --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-se,
896
+ // var(--_ctm-tab-dn-pt-pl-dn-pt-ie-lt-tl-se, var(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-se))
897
+ // );
892
898
 
893
899
  position: relative;
894
900
  display: grid;
895
901
  grid-template-columns: 1fr;
896
902
  overflow: hidden;
897
903
  // margin: 10px;
898
- padding: 10px;
904
+ padding: prepareMediaVariable(--_ctm-dn-pt-pl-dn-pt-ie-lt-tl-pg);
899
905
 
900
906
  .embla__thumbs__viewport {
901
907
  width: 100%;
@@ -909,6 +915,7 @@
909
915
  .embla__thumbs__container {
910
916
  display: flex;
911
917
  flex-direction: row;
918
+ justify-content: prepareMediaVariable(--_ctm-lt-jy-ct);
912
919
  margin-left: calc(var(--thumbs-slide-spacing) * -1);
913
920
  gap: var(
914
921
  --_ctm-mob-dn-pt-pl-dn-pt-ie-lt-tl-sg,
@@ -916,7 +923,7 @@
916
923
  );
917
924
 
918
925
  width: 100%;
919
- justify-content: center;
926
+ // justify-content: center;
920
927
  // height: 200px;
921
928
 
922
929
  .embla__thumbs__slide {
@@ -933,9 +940,9 @@
933
940
  );
934
941
 
935
942
  & img {
936
- width: 100%;
937
- height: 100%;
938
- object-fit: cover;
943
+ // width: 100%;
944
+ // height: 100%;
945
+ // object-fit: cover;
939
946
  }
940
947
  }
941
948
  }