@daeryun/dr_components 1.3.39 → 1.3.40

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.
@@ -260,11 +260,12 @@ const Fix = (props) => {
260
260
  : width >= 1700
261
261
  ? '150px'
262
262
  : '120px'
263
- : '0px'
263
+ : '0px',
264
+ zIndex: width > 1023 ? 2000 : 3500
264
265
  }} className={
265
266
  // (isTop ? ' hidden ' : '') +
266
- 'pointer-events-auto fixed right-[25px] z-[2000] w-fit ' +
267
- 'max-lg:relative max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '}>
267
+ 'pointer-events-auto fixed right-[25px] w-fit ' +
268
+ 'max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '}>
268
269
  {/*모바일용 원*/}
269
270
  <div className={'absolute -top-[10px] aspect-square w-[50px] translate-x-[-50%] rounded-full bg-white transition-[left] duration-300 ease-out lg:hidden '} style={{
270
271
  left: `calc(((100%/3)/2)*${activeNum * 2 + 1})`
@@ -289,12 +289,13 @@ const Fix = (props: {
289
289
  : width >= 1700
290
290
  ? '150px'
291
291
  : '120px'
292
- : '0px'
292
+ : '0px',
293
+ zIndex: width > 1023 ? 2000 : 3500
293
294
  }}
294
295
  className={
295
296
  // (isTop ? ' hidden ' : '') +
296
- 'pointer-events-auto fixed right-[25px] z-[2000] w-fit ' +
297
- 'max-lg:relative max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '
297
+ 'pointer-events-auto fixed right-[25px] w-fit ' +
298
+ 'max-lg:right-0 max-lg:w-full max-lg:rounded-t-[20px] max-lg:shadow-[0_-2px_20px_0_rgba(0,0,0,0.08)] '
298
299
  }
299
300
  >
300
301
  {/*모바일용 원*/}
@@ -76,10 +76,10 @@ const MobileTopBanner = ({ popup, setMobileOpen, addClickCnt }) => {
76
76
  }
77
77
  };
78
78
  return (currentPopup.length > 0 && (<>
79
- <div className={'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[9999] h-full w-full bg-[#000] bg-opacity-75'} onClick={() => {
79
+ <div className={'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[4000] h-full w-full bg-[#000] bg-opacity-75'} onClick={() => {
80
80
  setMobileOpen(false);
81
81
  }}/>
82
- <div className={'pointer-events-auto fixed bottom-0 left-0 z-[99991] flex w-full flex-col '}>
82
+ <div className={'pointer-events-auto fixed bottom-0 left-0 z-[4000] flex w-full flex-col '}>
83
83
  <div className={'mb-[16px] mr-[60px] flex w-[66px] items-center justify-center self-end rounded-full bg-[#90909080] py-[6px] text-[18px] tracking-[-0.02em] text-white ' +
84
84
  'max-md:mr-[40px] ' +
85
85
  'max-sm:mr-[16px] max-sm:w-[47px] max-sm:py-[4px] max-sm:text-[14px]'}>
@@ -94,13 +94,13 @@ const MobileTopBanner = ({
94
94
  <>
95
95
  <div
96
96
  className={
97
- 'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[9999] h-full w-full bg-[#000] bg-opacity-75'
97
+ 'animate-fadeInFast pointer-events-auto fixed left-0 top-0 z-[4000] h-full w-full bg-[#000] bg-opacity-75'
98
98
  }
99
99
  onClick={() => {
100
100
  setMobileOpen(false);
101
101
  }}
102
102
  />
103
- <div className={'pointer-events-auto fixed bottom-0 left-0 z-[99991] flex w-full flex-col '}>
103
+ <div className={'pointer-events-auto fixed bottom-0 left-0 z-[4000] flex w-full flex-col '}>
104
104
  <div
105
105
  className={
106
106
  'mb-[16px] mr-[60px] flex w-[66px] items-center justify-center self-end rounded-full bg-[#90909080] py-[6px] text-[18px] tracking-[-0.02em] text-white ' +
@@ -66,7 +66,9 @@ const PCTopBanner = ({ popup, setPopup, addClickCnt, setBannerHeight }) => {
66
66
  return '';
67
67
  }
68
68
  };
69
- return (<div ref={bannerRef} id={'banner_wrap'} className={popup.length > 0 ? style.header_banner_wrap : ' pointer-events-auto hidden'}>
69
+ return (<div ref={bannerRef} id={'banner_wrap'} className={popup.length > 0
70
+ ? style.header_banner_wrap + ' fixed bottom-0 right-0 z-[4000] w-full '
71
+ : ' pointer-events-auto hidden'}>
70
72
  <div className={style.header_banner + ' pointer-events-auto'}>
71
73
  {popup && popup.filter(item => item.file_type === 'file_pc').length > 0 ? (<Swiper key={swiperKey} autoplay={{ delay: 3000, disableOnInteraction: false }} modules={[Autoplay]} speed={600} loop={popup.filter(item => item.file_type === 'file_pc').length > 1}>
72
74
  {popup
@@ -91,7 +91,11 @@ const PCTopBanner = ({
91
91
  <div
92
92
  ref={bannerRef}
93
93
  id={'banner_wrap'}
94
- className={popup.length > 0 ? style.header_banner_wrap : ' pointer-events-auto hidden'}
94
+ className={
95
+ popup.length > 0
96
+ ? style.header_banner_wrap + ' fixed bottom-0 right-0 z-[4000] w-full '
97
+ : ' pointer-events-auto hidden'
98
+ }
95
99
  >
96
100
  <div className={style.header_banner + ' pointer-events-auto'}>
97
101
  {popup && popup.filter(item => item.file_type === 'file_pc').length > 0 ? (
@@ -1,6 +1,6 @@
1
1
  /*header_banner 20230322*/
2
2
  .header_banner_wrap {
3
- z-index: 99;
3
+ z-index: 4000;
4
4
  position: fixed;
5
5
  bottom: 0;
6
6
  width: 100%;
@@ -1382,10 +1382,6 @@ html {
1382
1382
  z-index: 1;
1383
1383
  }
1384
1384
 
1385
- .z-\[2000\] {
1386
- z-index: 2000;
1387
- }
1388
-
1389
1385
  .z-\[25\] {
1390
1386
  z-index: 25;
1391
1387
  }
@@ -1398,6 +1394,10 @@ html {
1398
1394
  z-index: 3000;
1399
1395
  }
1400
1396
 
1397
+ .z-\[4000\] {
1398
+ z-index: 4000;
1399
+ }
1400
+
1401
1401
  .z-\[45\] {
1402
1402
  z-index: 45;
1403
1403
  }
@@ -1418,10 +1418,6 @@ html {
1418
1418
  z-index: 900;
1419
1419
  }
1420
1420
 
1421
- .z-\[99991\] {
1422
- z-index: 99991;
1423
- }
1424
-
1425
1421
  .z-\[999998\] {
1426
1422
  z-index: 999998;
1427
1423
  }
@@ -14021,10 +14017,6 @@ body {
14021
14017
  position: absolute;
14022
14018
  }
14023
14019
 
14024
- .max-lg\:relative {
14025
- position: relative;
14026
- }
14027
-
14028
14020
  .max-lg\:-left-\[20px\] {
14029
14021
  left: -20px;
14030
14022
  }