@daeryun/dr_components 0.8.97 → 0.8.98

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.
@@ -74,7 +74,7 @@ const Daeryuntalk = ({ tel = '1800-7905' }) => {
74
74
  }
75
75
  }
76
76
  }, []);
77
- return (<div className={``}>
77
+ return (<div className="daeryuntalk-wrapper">
78
78
  <DaeryuntalkToastProvider>
79
79
  <ViewportHandler />
80
80
  <DaeryuntalkProvider propsTel={tel} isMobile={isMobile} onClose={closeModal}>
@@ -92,7 +92,7 @@ const Daeryuntalk: React.FC<DaeryuntalkProps> = ({ tel = '1800-7905' }) => {
92
92
  }, []);
93
93
 
94
94
  return (
95
- <div className={``}>
95
+ <div className="daeryuntalk-wrapper">
96
96
  <DaeryuntalkToastProvider>
97
97
  <ViewportHandler />
98
98
  <DaeryuntalkProvider propsTel={tel} isMobile={isMobile} onClose={closeModal}>
@@ -0,0 +1,77 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+
6
+ @layer components {
7
+
8
+ /* Titles */
9
+ .dr_talk_title_large {
10
+ @apply text-[24px] font-bold leading-[auto] tracking-[-0.04em] ;
11
+ }
12
+
13
+ .dr_talk_title_medium {
14
+ @apply text-[20px] font-bold leading-[auto] tracking-[-0.04em] ;
15
+ }
16
+
17
+ .dr_talk_title_small {
18
+ @apply text-[16px] font-bold leading-[140%] tracking-[-0.04em] ;
19
+ }
20
+
21
+ /* Subtitles */
22
+ .dr_talk_subtitle_medium {
23
+ @apply text-[16px] font-bold leading-[100%] tracking-[-0.04em] ;
24
+ }
25
+
26
+ .dr_talk_subtitle_medium2 {
27
+ @apply text-[14px] font-bold leading-[100%] tracking-[-0.04em] ;
28
+ }
29
+
30
+ .dr_talk_subtitle_small {
31
+ @apply text-[12px] font-normal leading-[140%] tracking-[-0.04em] ;
32
+ }
33
+
34
+ .dr_talk_subtitle_small2 {
35
+ @apply text-[12px] font-normal leading-[100%] tracking-[-0.04em] ;
36
+ }
37
+
38
+ /* Body */
39
+ .dr_talk_body_medium {
40
+ @apply text-[16px] font-normal leading-[130%] tracking-[-0.04em] ;
41
+ }
42
+
43
+ /* dr_talk_body_medium1 하고 동일 */
44
+ .dr_talk_body_medium2 {
45
+ @apply text-[14px] font-normal leading-[130%] tracking-[-0.04em] ;
46
+ }
47
+
48
+ .dr_talk_body_medium3 {
49
+ @apply text-[14px] font-normal leading-[110%] tracking-[-0.04em] ;
50
+ }
51
+
52
+ .dr_talk_body_small1 {
53
+ @apply text-[12px] font-normal leading-[140%] tracking-[-0.04em] ;
54
+ }
55
+
56
+ .dr_talk_body_small2 {
57
+ @apply text-[12px] font-normal leading-[100%] tracking-[-0.04em] ;
58
+ }
59
+
60
+ .daeryuntalk-wrapper button,
61
+ .daeryuntalk-wrapper div,
62
+ .daeryuntalk-wrapper input {
63
+ border-style: solid;
64
+ }
65
+
66
+ .daeryuntalk-wrapper input[type='text'] {
67
+ border: 1px solid #d1d5db !important;
68
+ border-radius: 6px !important;
69
+ }
70
+
71
+ .daeryuntalk-wrapper input[type='text']:focus,
72
+ .daeryuntalk-wrapper input[type='phone']:focus {
73
+ border: 1px solid #aa1d36 !important;
74
+ }
75
+ }
76
+
77
+ /* 채팅문의 필요 css */
@@ -922,77 +922,6 @@ video {
922
922
  z-index: 10;
923
923
  }
924
924
 
925
- /* Titles */
926
-
927
- .dr_talk_title_small {
928
- font-size: 16px;
929
- font-weight: 700;
930
- line-height: 140%;
931
- letter-spacing: -0.04em;
932
- }
933
-
934
- /* Subtitles */
935
-
936
- .dr_talk_subtitle_medium {
937
- font-size: 16px;
938
- font-weight: 700;
939
- line-height: 100%;
940
- letter-spacing: -0.04em;
941
- }
942
-
943
- .dr_talk_subtitle_medium2 {
944
- font-size: 14px;
945
- font-weight: 700;
946
- line-height: 100%;
947
- letter-spacing: -0.04em;
948
- }
949
-
950
- .dr_talk_subtitle_small {
951
- font-size: 12px;
952
- font-weight: 400;
953
- line-height: 140%;
954
- letter-spacing: -0.04em;
955
- }
956
-
957
- .dr_talk_subtitle_small2 {
958
- font-size: 12px;
959
- font-weight: 400;
960
- line-height: 100%;
961
- letter-spacing: -0.04em;
962
- }
963
-
964
- /* Body */
965
-
966
- /* dr_talk_body_medium1 하고 동일 */
967
-
968
- .\!dr_talk_body_medium2 {
969
- font-size: 14px;
970
- font-weight: 400;
971
- line-height: 130%;
972
- letter-spacing: -0.04em;
973
- }
974
-
975
- .dr_talk_body_medium2 {
976
- font-size: 14px;
977
- font-weight: 400;
978
- line-height: 130%;
979
- letter-spacing: -0.04em;
980
- }
981
-
982
- .dr_talk_body_small1 {
983
- font-size: 12px;
984
- font-weight: 400;
985
- line-height: 140%;
986
- letter-spacing: -0.04em;
987
- }
988
-
989
- .dr_talk_body_small2 {
990
- font-size: 12px;
991
- font-weight: 400;
992
- line-height: 100%;
993
- letter-spacing: -0.04em;
994
- }
995
-
996
925
  .sr-only {
997
926
  position: absolute;
998
927
  width: 1px;
@@ -8098,8 +8027,6 @@ body {
8098
8027
  pointer-events: none;
8099
8028
  }
8100
8029
 
8101
- /* 채팅문의 필요 css */
8102
-
8103
8030
  @media not all and (min-width: 1200px) {
8104
8031
  .max-lg2\:body_medium2_tb {
8105
8032
  font-size: 20px;
@@ -18341,4 +18268,5 @@ body {
18341
18268
  --tw-text-opacity: 1;
18342
18269
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
18343
18270
  }
18344
- }
18271
+ }
18272
+