From eb4dc6fa8d993dbb6f8b8de59ee264c6ba358aa0 Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Thu, 4 Mar 2021 22:22:20 +0100 Subject: [PATCH] UI updates --- .../App/components/forms/form-header.vue | 2 +- .../components/overlays/dropdown-button.vue | 4 -- zero.Web.UI/App/components/tables/table.scss | 9 ++++- zero.Web.UI/App/editor/editor.scss | 5 +++ zero.Web.UI/App/navigation.vue | 9 ++--- zero.Web.UI/App/pages/settings/settings.vue | 7 ++++ zero.Web.UI/Sass/Canvas/_navigation.scss | 2 +- zero.Web.UI/Sass/Settings/_dimensions.scss | 2 +- zero.Web.UI/Sass/Settings/_theme-dark.scss | 39 +++++++++++++++---- 9 files changed, 56 insertions(+), 23 deletions(-) diff --git a/zero.Web.UI/App/components/forms/form-header.vue b/zero.Web.UI/App/components/forms/form-header.vue index 40ff5c98..d9a587d8 100644 --- a/zero.Web.UI/App/components/forms/form-header.vue +++ b/zero.Web.UI/App/components/forms/form-header.vue @@ -128,7 +128,7 @@ .ui-toggle-switch.is-active { - background: var(--color-checked); + background: var(--color-toggled); box-shadow: none !important; } diff --git a/zero.Web.UI/App/components/overlays/dropdown-button.vue b/zero.Web.UI/App/components/overlays/dropdown-button.vue index b2b33446..b16c03dd 100644 --- a/zero.Web.UI/App/components/overlays/dropdown-button.vue +++ b/zero.Web.UI/App/components/overlays/dropdown-button.vue @@ -42,10 +42,6 @@ type: Boolean, default: false }, - action: { - type: Function, - default: () => { } - }, confirm: { type: Boolean, default: false diff --git a/zero.Web.UI/App/components/tables/table.scss b/zero.Web.UI/App/components/tables/table.scss index 11e03785..5aa3d537 100644 --- a/zero.Web.UI/App/components/tables/table.scss +++ b/zero.Web.UI/App/components/tables/table.scss @@ -67,7 +67,7 @@ a.ui-table-row:hover, button.ui-table-row:hover position: sticky; top: 0; //border-bottom: 1px solid var(--color-line); - z-index: 2; + z-index: 3; background: var(--color-table-head); /*border-bottom: 2px solid var(--color-bg);*/ @@ -76,6 +76,11 @@ a.ui-table-row:hover, button.ui-table-row:hover display: inline-flex; justify-content: space-between; } + + .ui-table.is-inline & + { + background: none; + } } .ui-table-cell @@ -85,7 +90,7 @@ a.ui-table-row:hover, button.ui-table-row:hover flex: 1 1 5%; position: relative; text-align: left; - padding: 18px 20px 17px 20px; + padding: 22px 20px 21px 20px; border-left: 1px solid var(--color-table-line-vertical); white-space: nowrap; overflow: hidden; diff --git a/zero.Web.UI/App/editor/editor.scss b/zero.Web.UI/App/editor/editor.scss index 055f6fb3..594325e6 100644 --- a/zero.Web.UI/App/editor/editor.scss +++ b/zero.Web.UI/App/editor/editor.scss @@ -73,6 +73,11 @@ border-top: 1px solid var(--color-line-onbg); } +.theme-dark .editor-infos +{ + border-top: none; +} + .editor-infos .ui-box { margin: 0; diff --git a/zero.Web.UI/App/navigation.vue b/zero.Web.UI/App/navigation.vue index e4a8321e..47a9279b 100644 --- a/zero.Web.UI/App/navigation.vue +++ b/zero.Web.UI/App/navigation.vue @@ -1,5 +1,5 @@