diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css index 43a03bd433..75f8f771d5 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.css @@ -7,17 +7,41 @@ display: flex; justify-content: center; align-items: center; + color: #fff; } .stepButton { } + +.stepButtonDisabled { + background-color: #005573; + border-color: #005573; +} + +.stepButton:hover { + color: #fff; + background-color: #005573; + border-color: #005573; +} .jumpButtons { width: 100%; display: flex; justify-content: center; align-items: center; + color: #fff; } .jumpButton { } + +.jumpButtonDisabled { + background-color: #005573; + border-color: #005573; +} + +.jumButton:hover { + color: #fff; + background-color: #005573; + border-color: #005573; +} .navigator { } .navigator:hover { diff --git a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx index 47d177602f..38637a9d14 100644 --- a/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/button-navigator/button-navigator.tsx @@ -51,6 +51,11 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, }) } + const stepBtnStyle = 'd-flex align-items-center justify-content-center btn btn-primary btn-sm stepButton h-75 m-0 p-1' + const disableStepBtnStyle = 'stepButtonDisabled' + const jumpBtnStyle = 'd-flex align-items-center justify-content-center btn btn-primary btn-sm jumpButton h-75 m-0 p-1' + const disableJumpBtnStyle = 'jumpButtonDisabled' + return (
@@ -62,10 +67,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepOverBack && stepOverBack() }} - style={{ backgroundColor: state.overBackDisabled ? '#005e80' : '#007aa6', borderColor: state.overBackDisabled ? '#005e80' : '#007aa6', opacity: state.overBackDisabled && 0.65 }} - > -
@@ -78,8 +81,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepIntoBack && stepIntoBack() }} data-id="buttonNavigatorIntoBack" id="buttonNavigatorIntoBackContainer" style={{ backgroundColor: state.intoBackDisabled ? '#005e80' : '#007aa6', borderColor: state.intoBackDisabled ? '#005e80' : '#007aa6', opacity: state.intoBackDisabled && 0.65 }}> -
@@ -92,9 +95,9 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepIntoForward && stepIntoForward() }} data-id="buttonNavigatorIntoForward" id="buttonNavigatorIntoFowardContainer" style={{ backgroundColor: state.intoForwardDisabled ? '#005e80' : '#007aa6', borderColor: state.intoForwardDisabled ? '#005e80' : '#007aa6', opacity: state.intoForwardDisabled && 0.65}}> - @@ -108,8 +111,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ stepOverForward && stepOverForward() }} data-id="buttonNavigatorOverForward" id="buttonNavigatorOverForwardContainer" style={{ backgroundColor: state.overForwardDisabled ? '#005e80' : '#007aa6', borderColor: state.overForwardDisabled ? '#005e80' : '#007aa6', opacity: state.overForwardDisabled && 0.65}}> -
@@ -125,8 +128,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpPreviousBreakpoint && jumpPreviousBreakpoint() }} data-id="buttonNavigatorJumpPreviousBreakpoint" style={{ backgroundColor: state.jumpPreviousBreakpointDisabled ? '#005e80' : '#007aa6', borderColor: state.jumpPreviousBreakpointDisabled ? '#005e80' : '#007aa6', opacity: state.jumpPreviousBreakpointDisabled && 0.65}}> -
@@ -139,9 +142,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpOut && jumpOut() }} data-id="buttonNavigatorJumpOut" id="buttonNavigatorJumpOutContainer" style={{ backgroundColor: state.jumpOutDisabled ? '#005e80' : '#007aa6', borderColor: state.jumpOutDisabled ? '#005e80' : '#007aa6', opacity: state.jumpOutDisabled && 0.65 - }}> -
@@ -154,8 +156,8 @@ export const ButtonNavigation = ({ stepOverBack, stepIntoBack, stepIntoForward, } > -
{ jumpNextBreakpoint && jumpNextBreakpoint() }} data-id="buttonNavigatorJumpNextBreakpoint" id="buttonNavigatorJumpNextBreakpointContainer" style={{ backgroundColor: state.jumpNextBreakpointDisabled ? '#005e80' : '#007aa6', borderColor: state.jumpNextBreakpointDisabled ? '#005e80' : '#007aa6', opacity: state.jumpNextBreakpointDisabled && 0.65}}> -
diff --git a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx index 6870be3750..f50e153484 100644 --- a/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/tx-browser/tx-browser.tsx @@ -66,7 +66,7 @@ export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, t
@@ -75,14 +75,14 @@ export const TxBrowser = ({ requestDebug, updateTxNumberFlag, unloadRequested, t } > -
+