From d89e446275ba2381d536d5b057302be2a49d4e9f Mon Sep 17 00:00:00 2001 From: Korbinian Kasberger Date: Fri, 1 Sep 2023 15:14:06 +0200 Subject: [PATCH 1/2] drop-shadow and background adjustents --- packages/bridge-ui-v2/.gitignore | 7 +++ .../Activities/StatusInfoDialog.svelte | 57 +++++++++---------- .../Bridge/ProcessingFee/ProcessingFee.svelte | 4 +- .../src/components/Bridge/Recipient.svelte | 4 +- .../TokenDropdown/DialogView.svelte | 2 +- .../TokenDropdown/DropdownView.svelte | 2 +- .../bridge-ui-v2/src/styles/components.css | 31 +++++++++- packages/bridge-ui-v2/src/styles/override.css | 18 ++++++ .../bridge-ui-v2/src/styles/utilities.css | 8 +++ 9 files changed, 93 insertions(+), 40 deletions(-) diff --git a/packages/bridge-ui-v2/.gitignore b/packages/bridge-ui-v2/.gitignore index 6635cf55427..178c296b661 100644 --- a/packages/bridge-ui-v2/.gitignore +++ b/packages/bridge-ui-v2/.gitignore @@ -8,3 +8,10 @@ node_modules !.env.example vite.config.js.timestamp-* vite.config.ts.timestamp-* + +# Bridge config files +/config/* +!/config/sample/ +!/config/schemas/ + +src/generated/* \ No newline at end of file diff --git a/packages/bridge-ui-v2/src/components/Activities/StatusInfoDialog.svelte b/packages/bridge-ui-v2/src/components/Activities/StatusInfoDialog.svelte index 5164ecde8f7..969734705ad 100644 --- a/packages/bridge-ui-v2/src/components/Activities/StatusInfoDialog.svelte +++ b/packages/bridge-ui-v2/src/components/Activities/StatusInfoDialog.svelte @@ -12,7 +12,7 @@ const openModal = () => (modalOpen = true); const classes = { - headline: 'font-bold mt-[20px]', + headline: 'text-center text-base font-bold leading-[24px] tracking-[0.08px] pb-[5px]', }; const closeModalIfClickedOutside = (e: MouseEvent) => { @@ -39,42 +39,37 @@ - + - - -
+ + +
+
diff --git a/packages/bridge-ui-v2/src/components/Bridge/ProcessingFee/ProcessingFee.svelte b/packages/bridge-ui-v2/src/components/Bridge/ProcessingFee/ProcessingFee.svelte index 207745fdd10..5b5295cbf64 100644 --- a/packages/bridge-ui-v2/src/components/Bridge/ProcessingFee/ProcessingFee.svelte +++ b/packages/bridge-ui-v2/src/components/Bridge/ProcessingFee/ProcessingFee.svelte @@ -119,8 +119,8 @@
{$t('processing_fee.title')} -
{$t('processing_fee.tooltip_title')}
-
{$t('processing_fee.tooltip')}
+

{$t('processing_fee.tooltip_title')}

+ {$t('processing_fee.tooltip')}
diff --git a/packages/bridge-ui-v2/src/components/Bridge/Recipient.svelte b/packages/bridge-ui-v2/src/components/Bridge/Recipient.svelte index d8d9c16dca4..9623913a1a7 100644 --- a/packages/bridge-ui-v2/src/components/Bridge/Recipient.svelte +++ b/packages/bridge-ui-v2/src/components/Bridge/Recipient.svelte @@ -64,8 +64,8 @@
{$t('recipient.title')} -
{$t('recipient.tooltip_title')}
-
{$t('recipient.tooltip')}
+

{$t('recipient.tooltip_title')}

+ {$t('recipient.tooltip')}
diff --git a/packages/bridge-ui-v2/src/components/TokenDropdown/DialogView.svelte b/packages/bridge-ui-v2/src/components/TokenDropdown/DialogView.svelte index 06e5a42c6d8..d3182840bcb 100644 --- a/packages/bridge-ui-v2/src/components/TokenDropdown/DialogView.svelte +++ b/packages/bridge-ui-v2/src/components/TokenDropdown/DialogView.svelte @@ -63,7 +63,7 @@

{$t('token_dropdown.label')}

-