From ed7b5b779ecfef0760a2d6f415ad0bd57393d122 Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Sun, 12 Jul 2020 19:19:12 +0100 Subject: [PATCH] Various minor UI updates including the settings modal Settings modal update includies, improved spacing, element sizing. Working with this part of the platform felt a little brittle. It might be the fact it's a modal. The frontend component section had a different layout that the block section in the backend and workflow section - updated to follow suit. Dataform button updated and improved. Settings button color updated Additonal data blocks added which are pretty popular (not essential but took me mew a seconds to add and will save me a decent bit in the future) --- packages/builder/src/budibase.css | 2 +- .../src/components/common/Block.svelte | 5 ++- .../modals/CreateEditRecord.svelte | 11 +++--- .../nav/ModelNavigator/BlockNavigator.svelte | 23 ++++++++--- .../nav/ModelNavigator/ListItem.svelte | 4 +- .../src/components/settings/Link.svelte | 2 +- .../src/components/settings/Modal.svelte | 4 +- .../components/settings/tabs/APIKeys.svelte | 5 +-- .../settings/tabs/DangerZone.svelte | 18 +++++---- .../components/settings/tabs/General.svelte | 38 +++++++------------ .../src/components/settings/tabs/Users.svelte | 31 ++++++++------- .../src/components/start/AppCard.svelte | 12 ++++-- .../AppPreview/CurrentItemPreview.svelte | 2 +- .../AppPreview/iframeTemplate.js | 11 ++++-- .../Colorpicker/components/Input.svelte | 3 +- .../ComponentSelectionList.svelte | 7 ++-- .../ComponentsHierarchyChildren.svelte | 2 +- .../userInterface/ItemTab/Item.svelte | 11 ++---- .../userInterface/ItemTab/Tab.svelte | 19 ++++++---- .../userInterface/temporaryPanelStructure.js | 2 +- .../WorkflowList/WorkflowList.svelte | 2 +- .../builder/src/constants/backend/index.js | 32 +++++++++++++++- .../standard-components/public/global.css | 7 ++++ .../standard-components/src/DataForm.svelte | 12 +++--- .../src/DataFormWide.svelte | 7 ++-- .../standard-components/src/Heading.svelte | 6 ++- .../standard-components/src/Navigation.svelte | 7 ++-- 27 files changed, 172 insertions(+), 113 deletions(-) diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css index 13a02aabcd..8de82530b1 100644 --- a/packages/builder/src/budibase.css +++ b/packages/builder/src/budibase.css @@ -63,7 +63,7 @@ .budibase__nav-item.selected { color: var(--ink); - background: var(--blue-light); + background: var(--grey-2); } .budibase__nav-item:hover { diff --git a/packages/builder/src/components/common/Block.svelte b/packages/builder/src/components/common/Block.svelte index fc1958a211..eccf798742 100644 --- a/packages/builder/src/components/common/Block.svelte +++ b/packages/builder/src/components/common/Block.svelte @@ -28,12 +28,15 @@ } i { - font-size: 30px; + font-size: 24px; + color: var(--grey-7); } span { font-size: 14px; text-align: center; + margin-top: 8px; + line-height: 1.25; } div:hover { diff --git a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte index 3db48eab34..f17730893c 100644 --- a/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte +++ b/packages/builder/src/components/database/ModelDataTable/modals/CreateEditRecord.svelte @@ -3,7 +3,7 @@ import { store, backendUiStore } from "builderStore" import { notifier } from "builderStore/store/notifications" import { compose, map, get, flatten } from "lodash/fp" - import { Button } from "@budibase/bbui" + import { Input, TextArea, Button } from "@budibase/bbui" import LinkedRecordSelector from "components/common/LinkedRecordSelector.svelte" import Select from "components/common/Select.svelte" import RecordFieldControl from "./RecordFieldControl.svelte" @@ -70,7 +70,7 @@