From 8aa6a1519d54da86db83d5a5941479d525bceda6 Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Thu, 2 Apr 2020 11:41:21 +0100 Subject: [PATCH 1/6] minor styling changes to schema nav bar background color changed to white title font changed to reflect mockups spacing updated --- packages/builder/src/BackendRoot.svelte | 2 +- packages/builder/src/budibase.css | 4 ++-- .../builder/src/components/nav/HierarchyRow.svelte | 3 ++- .../src/components/nav/SchemaManagementDrawer.svelte | 10 +++++++--- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/packages/builder/src/BackendRoot.svelte b/packages/builder/src/BackendRoot.svelte index 48b612790b..8dfd63e6bf 100644 --- a/packages/builder/src/BackendRoot.svelte +++ b/packages/builder/src/BackendRoot.svelte @@ -43,7 +43,7 @@ .nav { overflow: auto; flex: 0 1 auto; - width: 300px; + width: 275px; height: 100%; } diff --git a/packages/builder/src/budibase.css b/packages/builder/src/budibase.css index b64bb77e1a..fce34b256e 100644 --- a/packages/builder/src/budibase.css +++ b/packages/builder/src/budibase.css @@ -62,9 +62,9 @@ margin: 5px 20px 5px 0px; border-radius: 0 5px 5px 0; display: flex; - align-items: center; + align-items: baseline; font-weight: 500; - font-size: 0.8em; + font-size: 12px; } .budibase__nav-item.selected { diff --git a/packages/builder/src/components/nav/HierarchyRow.svelte b/packages/builder/src/components/nav/HierarchyRow.svelte index 247c626d1b..45811c5ca5 100644 --- a/packages/builder/src/components/nav/HierarchyRow.svelte +++ b/packages/builder/src/components/nav/HierarchyRow.svelte @@ -52,8 +52,9 @@ ","\n\n{#if hideValue}\n\n{:else}\n\n{/if}\n\n","\n\n
\n {#each formControls as child, index}\n
{labels[index]}
\n
\n
\n {/each}\n
\n\n","\r\nconst apiCall = (method) => (url, body) => \r\n fetch(url, {\r\n method: method,\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n body: body && JSON.stringify(body), \r\n });\r\n\r\nexport const post = apiCall(\"POST\");\r\nexport const get = apiCall(\"GET\");\r\nexport const patch = apiCall(\"PATCH\");\r\nexport const del = apiCall(\"DELETE\");\r\n\r\nexport const authenticate = (username, password) => post(\"./api/authenticate\", {\r\n username, password\r\n});\r\n\r\nexport default {\r\npost, get, patch, delete:del\r\n};","\n\n
\n\n
\n\n {#if logo}\n
\n \"logo\"/\n
\n {/if}\n\n
\n
\n {usernameLabel}\n
\n
\n \n
\n
\n {passwordLabel}\n
\n
\n \n
\n
\n\n
\n \n
\n\n {#if incorrect}\n
\n Incorrect username or password\n
\n {/if}\n\n
\n\n
\n\n","export const buildStyle = (styles) => {\r\n let str = \"\";\r\n for(let s in styles) {\r\n if(styles[s]) {\r\n str += `${s}: ${styles[s]}; `\r\n }\r\n }\r\n return str;\r\n}","\r\n\r\n
\r\n {#each children as child, index}\r\n
\r\n
\r\n {/each}\r\n
\r\n\r\n","\n\n
\n {#each children as child, index}\n
\n
\n
\n
\n {/each}\n
\n\n"],"names":[],"mappings":"AAAA,SAAS,IAAI,GAAG,GAAG;AACnB,AACA,SAAS,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE;;IAEtB,KAAK,MAAM,CAAC,IAAI,GAAG;QACf,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;IACpB,OAAO,GAAG,CAAC;CACd;AACD,AAQA,SAAS,GAAG,CAAC,EAAE,EAAE;IACb,OAAO,EAAE,EAAE,CAAC;CACf;AACD,SAAS,YAAY,GAAG;IACpB,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;CAC9B;AACD,SAAS,OAAO,CAAC,GAAG,EAAE;IAClB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;CACpB;AACD,SAAS,WAAW,CAAC,KAAK,EAAE;IACxB,OAAO,OAAO,KAAK,KAAK,UAAU,CAAC;CACtC;AACD,SAAS,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE;IAC1B,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,G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QAAQ,CAAC,EAAE,CAAC,CAAC,OAAO;gBACpB,YAAY,CAAC,EAAE,CAAC;aACnB,CAAC;SACL;KACJ;CACJ,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} \ No newline at end of file diff --git a/packages/materialdesign-components/public/index.html b/packages/materialdesign-components/public/index.html index 0571dbd6ee..186f9ba2b4 100644 --- a/packages/materialdesign-components/public/index.html +++ b/packages/materialdesign-components/public/index.html @@ -5,9 +5,6 @@ Budibase-Material Design - - diff --git a/packages/materialdesign-components/src/Button/Button.svelte b/packages/materialdesign-components/src/Button/Button.svelte index 6142352280..3d806d2ac8 100644 --- a/packages/materialdesign-components/src/Button/Button.svelte +++ b/packages/materialdesign-components/src/Button/Button.svelte @@ -65,6 +65,9 @@ {/if} 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 @@
-
{breadcrumbs}
+ {#if $backendUiStore.selectedDatabase.id}
-

+

{takeRight(2, $backendUiStore.breadcrumbs).join(' / ')} -

+