Skip to content

Commit

Permalink
integrated: display Changes modal
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar-4781 committed Oct 14, 2023
1 parent d3e542a commit 6a4cb8c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
6 changes: 5 additions & 1 deletion src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ h6 {
border-radius: 10px;
}
}

.popupModal-dark {
input {
color: white;
}
}
.colorPallette {
display: flex;
gap: 20px;
Expand Down
48 changes: 26 additions & 22 deletions src/override.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
.App-light,
.popupModal {
.popupModal,
.App-dark,
.popupModal-dark {
.checkbox {
.ant-checkbox {
background: transparent !important;
}
.ant-radio-checked .ant-radio-inner,
.ant-checkbox-checked .ant-checkbox-inner {
border: 2px solid var(--Linear, var(--icon-grad-1)) !important ;
Expand All @@ -17,25 +22,25 @@
}
}
}
.App-dark,
.popupModal-dark {
.checkbox {
.ant-radio-checked .ant-radio-inner,
.ant-checkbox-checked .ant-checkbox-inner {
border-color: var(--selection-color) !important ;
background-color: var(--selection-color) !important;
}
.ant-radio:hover .ant-radio-inner,
.ant-checkbox:hover .ant-checkbox-inner,
.ant-checkbox-checked:after {
border-color: var(--selection-color) !important;
}
.ant-radio-checked .ant-radio-inner:focus,
.ant-checkbox-checked .ant-checkbox-inner:focus {
border-color: var(--selection-color) !important;
}
}
}
// .App-dark,
// .popupModal-dark {
// .checkbox {
// .ant-radio-checked .ant-radio-inner,
// .ant-checkbox-checked .ant-checkbox-inner {
// border-color: var(--selection-color) !important ;
// background-color: var(--selection-color) !important;
// }
// .ant-radio:hover .ant-radio-inner,
// .ant-checkbox:hover .ant-checkbox-inner,
// .ant-checkbox-checked:after {
// border-color: var(--selection-color) !important;
// }
// .ant-radio-checked .ant-radio-inner:focus,
// .ant-checkbox-checked .ant-checkbox-inner:focus {
// border-color: var(--selection-color) !important;
// }
// }
// }

.ant-modal-mask {
background-color: rgba(87, 87, 87, 0.4) !important;
Expand Down Expand Up @@ -85,7 +90,6 @@
/*ProgressBar*/
.progress-dark {
.ant-progress-text {
color: white!important;
color: white !important;
}
}

2 changes: 1 addition & 1 deletion src/pages/GoalsPage/MyGoals.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export const MyGoals = () => {
<AppLayout title="myGoals" debounceSearch={debounceSearch}>
{showShareModal && <ShareGoalModal goal={showShareModal} />}
{showGoalActions && <MyGoalActions open={!!showGoalActions} goal={showGoalActions} />}
{showChangesModal && <DisplayChangesModal />}
<div className="myGoals-container">
{selectedGoalId === "root" ? (
<div className="my-goals-content">
Expand All @@ -110,7 +111,6 @@ export const MyGoals = () => {
) : (
<GoalSublist />
)}
{/* {showChangesModal && <DisplayChangesModal />} */}
{activeGoals?.length === 0 && (
<img
style={{ width: 350, height: 350, opacity: 0.3 }}
Expand Down

0 comments on commit 6a4cb8c

Please sign in to comment.