From e7b05cfd0117a21d42984d24d7fd4ca83778c844 Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Mon, 1 Jun 2020 22:16:12 +0100 Subject: [PATCH] Frontend navigation panel tidy up - Additional margin around button - icon added to 'create screen' button - screen font weight reduced --- packages/builder/src/components/common/Switcher.svelte | 1 + .../userInterface/ComponentsHierarchy.svelte | 2 +- .../userInterface/FrontendNavigatePane.svelte | 10 ++++++++-- .../src/components/userInterface/PageLayout.svelte | 8 ++------ 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/packages/builder/src/components/common/Switcher.svelte b/packages/builder/src/components/common/Switcher.svelte index b1c84e6eac..0253a7f9d3 100644 --- a/packages/builder/src/components/common/Switcher.svelte +++ b/packages/builder/src/components/common/Switcher.svelte @@ -61,6 +61,7 @@ font-weight: 700; color: var(--ink-lighter); margin-right: 20px; + background: none; } .switcher > .selected { diff --git a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte index 7a2e38d3d2..041377aedc 100644 --- a/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte +++ b/packages/builder/src/components/userInterface/ComponentsHierarchy.svelte @@ -80,7 +80,7 @@ margin-left: 10px; margin-top: 2px; font-size: 14px; - font-weight: 500; + font-weight: 400; } .icon { diff --git a/packages/builder/src/components/userInterface/FrontendNavigatePane.svelte b/packages/builder/src/components/userInterface/FrontendNavigatePane.svelte index 86804885ff..f567766b50 100644 --- a/packages/builder/src/components/userInterface/FrontendNavigatePane.svelte +++ b/packages/builder/src/components/userInterface/FrontendNavigatePane.svelte @@ -14,7 +14,7 @@ - + @@ -31,7 +31,7 @@ border-radius: 3px; width: 100%; padding: 8px 16px; - margin: 12px 0px; + margin: 20px 0px 12px 0px; display: flex; justify-content: center; align-items: center; @@ -45,4 +45,10 @@ .newscreen:hover { background: var(--grey-light); } + + .icon { + color: var(--ink); + font-size: 16px; + margin-right: 4px; + } diff --git a/packages/builder/src/components/userInterface/PageLayout.svelte b/packages/builder/src/components/userInterface/PageLayout.svelte index 093dd12e4e..d63f8f7dc1 100644 --- a/packages/builder/src/components/userInterface/PageLayout.svelte +++ b/packages/builder/src/components/userInterface/PageLayout.svelte @@ -40,7 +40,7 @@ } -
+
{/if} -