diff --git a/packages/bot-web-ui/src/components/trade-animation/trade-animation.scss b/packages/bot-web-ui/src/components/trade-animation/trade-animation.scss index 1a29a4b7290d..79cb5fd11a30 100644 --- a/packages/bot-web-ui/src/components/trade-animation/trade-animation.scss +++ b/packages/bot-web-ui/src/components/trade-animation/trade-animation.scss @@ -73,11 +73,28 @@ } // TODO: [fix-dc-bundle] Fix import issue with Deriv Component stylesheets (app should take precedence, and not repeat) - &__button { + &__run-button { width: fit-content; height: 100% !important; border-start-end-radius: 0 !important; border-end-end-radius: 0 !important; + background-color: var(--purchase-main-1); + + &:hover { + background-color: var(--purchase-main-1) !important; + } + } + + &__stop-button { + width: fit-content; + height: 100% !important; + border-start-end-radius: 0 !important; + border-end-end-radius: 0 !important; + background-color: var(--button-primary-default); + + &:hover { + background-color: var(--button-primary-default) !important; + } } &__container { diff --git a/packages/bot-web-ui/src/components/trade-animation/trade-animation.tsx b/packages/bot-web-ui/src/components/trade-animation/trade-animation.tsx index 5599598357a0..615dd1393319 100644 --- a/packages/bot-web-ui/src/components/trade-animation/trade-animation.tsx +++ b/packages/bot-web-ui/src/components/trade-animation/trade-animation.tsx @@ -70,16 +70,26 @@ const TradeAnimation = observer(({ className, should_show_overlay }: TTradeAnima const button_props = React.useMemo(() => { if (is_stop_button_visible) { - return { id: 'db-animation__stop-button', text: localize('Stop'), icon: 'IcBotStop' }; + return { + id: 'db-animation__stop-button', + class: 'animation__stop-button', + text: localize('Stop'), + icon: 'IcBotStop', + }; } - return { id: 'db-animation__run-button', text: localize('Run'), icon: 'IcPlay' }; + return { + id: 'db-animation__run-button', + class: 'animation__run-button', + text: localize('Run'), + icon: 'IcPlay', + }; }, [is_stop_button_visible]); const show_overlay = should_show_overlay && is_contract_completed; return (