From c043eeebbeb7d6e7b788e7c007c59e397a870e8b Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 9 May 2023 23:00:45 +0100 Subject: [PATCH] popout style fixed --- .../MyActiveJobs/MyActiveJobTable.jsx | 2 +- src/components/jobPopout/ActiveJobsPopout.jsx | 212 +++++++++++------- .../jobPopout/popoutcomponent/Detail.jsx | 4 +- src/index.css | 16 +- 4 files changed, 131 insertions(+), 103 deletions(-) diff --git a/src/components/MyActiveJobs/MyActiveJobTable.jsx b/src/components/MyActiveJobs/MyActiveJobTable.jsx index 743d3b1..c8e20f0 100644 --- a/src/components/MyActiveJobs/MyActiveJobTable.jsx +++ b/src/components/MyActiveJobs/MyActiveJobTable.jsx @@ -102,7 +102,7 @@ export default function MyActiveJobTable({MyJobList, className }) { } {jobPopout.show && - {setJobPopout({show:false, data:{}})}} /> + {setJobPopout({show:false, data:{}})}} situation={jobPopout.show} /> } ); diff --git a/src/components/jobPopout/ActiveJobsPopout.jsx b/src/components/jobPopout/ActiveJobsPopout.jsx index d282e3c..5117b70 100644 --- a/src/components/jobPopout/ActiveJobsPopout.jsx +++ b/src/components/jobPopout/ActiveJobsPopout.jsx @@ -1,97 +1,139 @@ import React from 'react' import Detail from './popoutcomponent/Detail' +import ModalCom from '../Helpers/ModalCom' -function ActiveJobsPopout({details, onClose}) { - console.log(details) - return ( -
-
-
-

{details.title}

-
- ! -
-

This Job have been sent to public view

-

This Job will expire

-
-
- - {/* INPUT SECTION */} -
- -
- -
- -
- -
- -
- -
- -
- -
- -
-
- +function ActiveJobsPopout({details, onClose, situation}) { + return ( + +
+
+ {/*

+ Confirm +

*/} + +
+
+
+

Opportunity to make some money by introducing 10 of our recent stories from our

+
+ ! +
+

This Job have been sent to public view

+

This Job will expire

- -
- -
-
- - {/* ACTION SECTION */} -
-

Actions

- -
-

Job sent to public view

-
- -
- -
- -
- -
- -
- -
+ + {/* INPUT SECTION */} +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + {/* ACTION SECTION */} +
+

Actions

+ +
+

Job sent to public view

+
+ +
+ +
+ +
+ +
+ +
+
+
+
+
- ) +
+ + ) } export default ActiveJobsPopout \ No newline at end of file diff --git a/src/components/jobPopout/popoutcomponent/Detail.jsx b/src/components/jobPopout/popoutcomponent/Detail.jsx index 918d135..c154986 100644 --- a/src/components/jobPopout/popoutcomponent/Detail.jsx +++ b/src/components/jobPopout/popoutcomponent/Detail.jsx @@ -3,8 +3,8 @@ import React from 'react' function Detail({label, value, bg}) { return ( <> - -

{value}

+ +

{value}

) } diff --git a/src/index.css b/src/index.css index f82b867..b717d6d 100644 --- a/src/index.css +++ b/src/index.css @@ -732,18 +732,4 @@ TODO: Responsive =========================== /* For IE10 */ .content-wrapper select::-ms-expand { display: none; -} - -/* JOBS DETAILS ALERT */ -.alert-box{ - animation-name: scale; - animation-duration: .5s; - animation-timing-function: linear; -} - -@keyframes scale { - 0%{transform: scale(0)} - 50%{transform: scale(1.1)} - 100%{transform: scale(1)} -} -/* END OF JOBS DETAILS ALERT */ \ No newline at end of file +} \ No newline at end of file