From 3a9ee57be316e72dedd8b8241f238d23f49c26ae Mon Sep 17 00:00:00 2001 From: lianahus Date: Wed, 21 Jun 2023 10:49:26 +0200 Subject: [PATCH 1/5] fixing some color problems in Pride theme. Fixing the btns text on deploy and run --- .../src/assets/css/themes/remix-pride.css | 24 +++++++++---------- .../lib/button-navigator/button-navigator.css | 4 ++-- .../lib/button-navigator/button-navigator.tsx | 3 +-- .../debugger-ui/src/lib/debugger-ui.tsx | 19 +++++++++------ .../src/lib/components/contractGUI.tsx | 2 +- 5 files changed, 28 insertions(+), 24 deletions(-) diff --git a/apps/remix-ide/src/assets/css/themes/remix-pride.css b/apps/remix-ide/src/assets/css/themes/remix-pride.css index ef71a5edfe..a1c58604b6 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-pride.css +++ b/apps/remix-ide/src/assets/css/themes/remix-pride.css @@ -171,7 +171,7 @@ sup { } a { - color: #747b90 !important; + color: #2557eb !important; text-decoration: underline; background-color: transparent; } @@ -2360,8 +2360,8 @@ fieldset:disabled a.btn { } .btn-primary:hover { color: #fff; - background-color: #005e80; - border-color: #0480ad; + background-color: #ab6dcf; + border-color: #a275d6; } .btn-primary:focus, .btn-primary.focus { @@ -2378,7 +2378,7 @@ fieldset:disabled a.btn { .show > .btn-primary.dropdown-toggle { color: #fff; background-color: #dac5ff; - border-color: #004b66; + border-color: #40a2c5; } .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, @@ -2466,7 +2466,7 @@ fieldset:disabled a.btn { .btn-info:hover { color: #fff; background-color: #005e80; - border-color: #005573; + border-color: #3597bb; } .btn-info:focus, .btn-info.focus { @@ -2482,7 +2482,7 @@ fieldset:disabled a.btn { .btn-info:not(:disabled):not(.disabled).active, .show > .btn-info.dropdown-toggle { color: #fff; - background-color: #005573; + background-color: #3597bb; border-color: #004b66; } .btn-info:not(:disabled):not(.disabled):active:focus, @@ -2876,11 +2876,11 @@ fieldset:disabled a.btn { .btn-link { font-weight: 400; - color: #747b90; + color: #8644d1; text-decoration: underline; } .btn-link:hover { - color: #515766; + color: #738fd6; text-decoration: none; } .btn-link:focus, @@ -4722,7 +4722,7 @@ a.badge:focus { a.badge-primary:hover, a.badge-primary:focus { color: #fff; - background-color: #005573; + background-color: #3597bb; } a.badge-primary:focus, a.badge-primary.focus { @@ -4767,7 +4767,7 @@ a.badge-success.focus { a.badge-info:hover, a.badge-info:focus { color: #fff; - background-color: #005573; + background-color: #3597bb; } a.badge-info:focus, a.badge-info.focus { @@ -6135,7 +6135,7 @@ a.bg-primary:hover, a.bg-primary:focus, button.bg-primary:hover, button.bg-primary:focus { - background-color: #005573 !important; + background-color: #3597bb !important; } .bg-secondary { @@ -6168,7 +6168,7 @@ a.bg-info:hover, a.bg-info:focus, button.bg-info:hover, button.bg-info:focus { - background-color: #005573 !important; + background-color: #3597bb !important; } .bg-warning { 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 75f8f771d5..628182ece1 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 @@ -19,7 +19,7 @@ .stepButton:hover { color: #fff; - background-color: #005573; + background-color: var(--primary); border-color: #005573; } .jumpButtons { @@ -33,7 +33,7 @@ } .jumpButtonDisabled { - background-color: #005573; + background-color: var(--grey); border-color: #005573; } 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 7316449a95..a63f98bb36 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 @@ -53,13 +53,12 @@ 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' const stepMarkupStructure = { stepOverBackJSX : { markup: (
{ stepOverBack && stepOverBack() }}>
), placement: 'top-start', diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index 0be03ba45b..d651e8e16c 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -370,13 +370,18 @@ export const DebuggerUI = (props: DebuggerUIProps) => { const customJSX = ( - { - setState(prevState => { - return { ...prevState, opt: { ...prevState.opt, debugWithGeneratedSources: checked } } - }) - }} type="checkbox" /> - - + { + setState(prevState => { + return { ...prevState, opt: { ...prevState.opt, debugWithGeneratedSources: checked } } + }) + }} type="checkbox" /> + + ) return (
diff --git a/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx b/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx index 33facb38f6..c8ec0e7a6c 100644 --- a/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx +++ b/libs/remix-ui/run-tab/src/lib/components/contractGUI.tsx @@ -288,7 +288,7 @@ export function ContractGUI (props: ContractGUIProps) { data-title={buttonOptions.title} disabled={(toggleUpgradeImp && !proxyAddress) || props.disabled} > -
{title}
+
{title}
Date: Wed, 21 Jun 2023 15:09:14 +0200 Subject: [PATCH 2/5] thiner borders --- apps/remix-ide/src/assets/css/themes/remix-pride.css | 1 + .../src/lib/solidity-unit-testing.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/assets/css/themes/remix-pride.css b/apps/remix-ide/src/assets/css/themes/remix-pride.css index a1c58604b6..1feebb8aab 100644 --- a/apps/remix-ide/src/assets/css/themes/remix-pride.css +++ b/apps/remix-ide/src/assets/css/themes/remix-pride.css @@ -9506,6 +9506,7 @@ a.text-dark:focus { border: 5px solid transparent; border-image: linear-gradient(to bottom right, #b827fc 0%, #2c90fc 25%, #b8fd33 50%, #fec837 75%, #fd1892 100%); border-image-slice: 1; + border-image-outset: 2px; } .custom_home_bg { background: linear-gradient(45deg, #ff00004d, #fca80f3b, #ffff004a, #00800033, #0000ff29, #4b00822e, #ee82ee4a, #ff000057); diff --git a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx b/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx index d9bfd151b0..7b99f54a6b 100644 --- a/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx +++ b/libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx @@ -749,10 +749,10 @@ export const SolidityUnitTesting = (props: Record) => { // eslint-d
+ tooltipClasses="text-nowrap" + tooltipId="info-recorder" + tooltipText={runButtonTitle} + >