From 843db677731e74611c448833e3f90f0c7ea2e6a2 Mon Sep 17 00:00:00 2001 From: RohitR311 Date: Wed, 8 Jan 2025 17:44:17 +0530 Subject: [PATCH] feat: add styling to right side panel buttons --- src/components/organisms/RightSidePanel.tsx | 103 ++++++++++++++++++-- 1 file changed, 97 insertions(+), 6 deletions(-) diff --git a/src/components/organisms/RightSidePanel.tsx b/src/components/organisms/RightSidePanel.tsx index 2eb41947..30d976d9 100644 --- a/src/components/organisms/RightSidePanel.tsx +++ b/src/components/organisms/RightSidePanel.tsx @@ -500,6 +500,14 @@ export const RightSidePanel: React.FC = ({ onFinishCapture @@ -508,13 +516,32 @@ export const RightSidePanel: React.FC = ({ onFinishCapture variant="outlined" onClick={handleConfirmListCapture} disabled={captureStage === 'initial' ? isConfirmCaptureDisabled : hasUnconfirmedListTextFields} + sx={{ + color: '#ff00c3 !important', + borderColor: '#ff00c3 !important', + '&:hover': { + borderColor: '#ff00c3 !important', + backgroundColor: 'whitesmoke !important', + } + }} > {captureStage === 'initial' ? t('right_panel.buttons.confirm_capture') : captureStage === 'pagination' ? t('right_panel.buttons.confirm_pagination') : captureStage === 'limit' ? t('right_panel.buttons.confirm_limit') : t('right_panel.buttons.finish_capture')} - @@ -523,11 +550,75 @@ export const RightSidePanel: React.FC = ({ onFinishCapture {showPaginationOptions && ( {t('right_panel.pagination.title')} - - - - - + + + + + )} {showLimitOptions && (