From 40ed020c0a7d1649e66f31ed0a3de60c9b01bb7c Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Sat, 20 Feb 2021 11:53:00 +0100 Subject: [PATCH] left panel --- packages/web-svelte/public/global.css | 16 ++++++- .../src/widgets/ConnectionList.svelte | 18 +++++++ .../src/widgets/DatabaseWidget.svelte | 17 ++++++- .../src/widgets/InlineButton.svelte | 47 +++++++++++++++++++ .../web-svelte/src/widgets/SearchInput.svelte | 14 ++++++ .../src/widgets/WidgetColumnBar.svelte | 13 +++++ .../src/widgets/WidgetColumnBarItem.svelte | 23 +++++++++ .../src/widgets/WidgetsInnerContainer.svelte | 10 ++++ 8 files changed, 155 insertions(+), 3 deletions(-) create mode 100644 packages/web-svelte/src/widgets/ConnectionList.svelte create mode 100644 packages/web-svelte/src/widgets/InlineButton.svelte create mode 100644 packages/web-svelte/src/widgets/SearchInput.svelte create mode 100644 packages/web-svelte/src/widgets/WidgetColumnBar.svelte create mode 100644 packages/web-svelte/src/widgets/WidgetColumnBarItem.svelte create mode 100644 packages/web-svelte/src/widgets/WidgetsInnerContainer.svelte diff --git a/packages/web-svelte/public/global.css b/packages/web-svelte/public/global.css index bb28a941..b063dff2 100644 --- a/packages/web-svelte/public/global.css +++ b/packages/web-svelte/public/global.css @@ -1,4 +1,16 @@ -html, body { +body { + font-family: -apple-system, BlinkMacSystemFont, Segoe WPC, Segoe UI, HelveticaNeue-Light, Ubuntu, Droid Sans, + sans-serif; + font-size: 14px; + /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + sans-serif; + */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* html, body { position: relative; width: 100%; height: 100%; @@ -60,4 +72,4 @@ button:not(:disabled):active { button:focus { border-color: #666; -} +} */ diff --git a/packages/web-svelte/src/widgets/ConnectionList.svelte b/packages/web-svelte/src/widgets/ConnectionList.svelte new file mode 100644 index 00000000..b1c4f76e --- /dev/null +++ b/packages/web-svelte/src/widgets/ConnectionList.svelte @@ -0,0 +1,18 @@ + + + +CONNECTIONS + + diff --git a/packages/web-svelte/src/widgets/DatabaseWidget.svelte b/packages/web-svelte/src/widgets/DatabaseWidget.svelte index 281c6866..61d5b452 100644 --- a/packages/web-svelte/src/widgets/DatabaseWidget.svelte +++ b/packages/web-svelte/src/widgets/DatabaseWidget.svelte @@ -1 +1,16 @@ -
\ No newline at end of file + + + + + + + + TABLES + + + diff --git a/packages/web-svelte/src/widgets/InlineButton.svelte b/packages/web-svelte/src/widgets/InlineButton.svelte new file mode 100644 index 00000000..e475e0d2 --- /dev/null +++ b/packages/web-svelte/src/widgets/InlineButton.svelte @@ -0,0 +1,47 @@ + + +
+
+ +
+
+ + diff --git a/packages/web-svelte/src/widgets/SearchInput.svelte b/packages/web-svelte/src/widgets/SearchInput.svelte new file mode 100644 index 00000000..4df5902d --- /dev/null +++ b/packages/web-svelte/src/widgets/SearchInput.svelte @@ -0,0 +1,14 @@ + + + + + diff --git a/packages/web-svelte/src/widgets/WidgetColumnBar.svelte b/packages/web-svelte/src/widgets/WidgetColumnBar.svelte new file mode 100644 index 00000000..45313b01 --- /dev/null +++ b/packages/web-svelte/src/widgets/WidgetColumnBar.svelte @@ -0,0 +1,13 @@ +
+ +
+ + diff --git a/packages/web-svelte/src/widgets/WidgetColumnBarItem.svelte b/packages/web-svelte/src/widgets/WidgetColumnBarItem.svelte new file mode 100644 index 00000000..73a1050c --- /dev/null +++ b/packages/web-svelte/src/widgets/WidgetColumnBarItem.svelte @@ -0,0 +1,23 @@ + + +
(visible = !visible)}>{title}
+ +{#if visible} + +{/if} + + diff --git a/packages/web-svelte/src/widgets/WidgetsInnerContainer.svelte b/packages/web-svelte/src/widgets/WidgetsInnerContainer.svelte new file mode 100644 index 00000000..1ee9dd5b --- /dev/null +++ b/packages/web-svelte/src/widgets/WidgetsInnerContainer.svelte @@ -0,0 +1,10 @@ +
+ +