From 203247f5d3d6ee23da8a8a1c0afeb8056e8f24ee Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Thu, 2 Apr 2020 15:11:27 +0100 Subject: [PATCH] Styling changes Font stlyes changed Margin revised Table fonts updated Select component updated --- packages/builder/src/BackendRoot.svelte | 2 +- .../src/components/common/ActionButton.svelte | 3 +- .../components/common/Icons/DownArrow.svelte | 10 +++++++ .../src/components/common/Icons/index.js | 1 + .../src/components/common/Select.svelte | 21 +++++++------- .../components/database/DatabaseRoot.svelte | 9 +++++- .../ModelDataTable/ModelDataTable.svelte | 28 +++++++++++++++---- .../src/components/nav/BackendNav.svelte | 2 +- 8 files changed, 57 insertions(+), 19 deletions(-) create mode 100644 packages/builder/src/components/common/Icons/DownArrow.svelte diff --git a/packages/builder/src/BackendRoot.svelte b/packages/builder/src/BackendRoot.svelte index 50dd713196..f127c803cb 100644 --- a/packages/builder/src/BackendRoot.svelte +++ b/packages/builder/src/BackendRoot.svelte @@ -37,7 +37,7 @@ .content { flex: 1 1 auto; - margin: 40px 40px; + margin: 20px 40px; } .nav { diff --git a/packages/builder/src/components/common/ActionButton.svelte b/packages/builder/src/components/common/ActionButton.svelte index f4f13c0757..7f04f59e8f 100644 --- a/packages/builder/src/components/common/ActionButton.svelte +++ b/packages/builder/src/components/common/ActionButton.svelte @@ -46,7 +46,8 @@ .button:hover { cursor: pointer; - font-weight: 700; + font-weight: 600; + filter:saturate(90%); } .button:disabled { diff --git a/packages/builder/src/components/common/Icons/DownArrow.svelte b/packages/builder/src/components/common/Icons/DownArrow.svelte new file mode 100644 index 0000000000..9f5f1f25d9 --- /dev/null +++ b/packages/builder/src/components/common/Icons/DownArrow.svelte @@ -0,0 +1,10 @@ + diff --git a/packages/builder/src/components/common/Icons/index.js b/packages/builder/src/components/common/Icons/index.js index f62fb42ca0..fae247b311 100644 --- a/packages/builder/src/components/common/Icons/index.js +++ b/packages/builder/src/components/common/Icons/index.js @@ -4,6 +4,7 @@ export { default as TerminalIcon } from "./Terminal.svelte" export { default as InputIcon } from "./Input.svelte" export { default as ImageIcon } from "./Image.svelte" export { default as ArrowDownIcon } from "./ArrowDown.svelte" +export { default as DownArrowIcon } from "./DownArrow.svelte" export { default as CircleIndicator } from "./CircleIndicator.svelte" export { default as PencilIcon } from "./Pencil.svelte" export { default as EventsIcon } from "./Events.svelte" diff --git a/packages/builder/src/components/common/Select.svelte b/packages/builder/src/components/common/Select.svelte index 1fd2c06935..39dbe6d059 100644 --- a/packages/builder/src/components/common/Select.svelte +++ b/packages/builder/src/components/common/Select.svelte @@ -19,22 +19,22 @@ diff --git a/packages/builder/src/components/database/DatabaseRoot.svelte b/packages/builder/src/components/database/DatabaseRoot.svelte index 3489acb032..d1cd745742 100644 --- a/packages/builder/src/components/database/DatabaseRoot.svelte +++ b/packages/builder/src/components/database/DatabaseRoot.svelte @@ -63,7 +63,7 @@