From 1ea7def065800c61f212df6249d8a3deb2b8de0f Mon Sep 17 00:00:00 2001 From: Jordan Bibla Date: Wed, 3 Jan 2018 15:17:41 -0500 Subject: [PATCH 1/6] simplify sidebar --- .../renderer/components/common/AppMenu.vue | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/app/src/renderer/components/common/AppMenu.vue b/app/src/renderer/components/common/AppMenu.vue index 6623e29a8a..a7ffeb7211 100644 --- a/app/src/renderer/components/common/AppMenu.vue +++ b/app/src/renderer/components/common/AppMenu.vue @@ -1,20 +1,13 @@ From 2589484483543afb0ec91a1cfcaa28e006a77b2c Mon Sep 17 00:00:00 2001 From: Jordan Bibla Date: Wed, 3 Jan 2018 15:17:59 -0500 Subject: [PATCH 2/6] improve ni-li-* styling --- app/src/renderer/components/common/AppMenu.vue | 3 +++ app/src/renderer/components/common/NiConnectivity.vue | 4 ++++ app/src/renderer/components/common/NiListItem.vue | 3 +-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/src/renderer/components/common/AppMenu.vue b/app/src/renderer/components/common/AppMenu.vue index a7ffeb7211..8ffec24e01 100644 --- a/app/src/renderer/components/common/AppMenu.vue +++ b/app/src/renderer/components/common/AppMenu.vue @@ -65,6 +65,9 @@ export default { flex 1 position relative // for perfect-scrollbar + .ni-li-link + padding 0 0 0 1rem + .ni-user border-top 1px solid bc padding 1rem diff --git a/app/src/renderer/components/common/NiConnectivity.vue b/app/src/renderer/components/common/NiConnectivity.vue index ad43150d72..7355b61a16 100644 --- a/app/src/renderer/components/common/NiConnectivity.vue +++ b/app/src/renderer/components/common/NiConnectivity.vue @@ -33,6 +33,10 @@ export default { .ni-connectivity background app-bg + .ni-li-thumb + .material-icons + color success + @media screen and (min-width: 1024px) .ni-connectivity border-top px solid bc diff --git a/app/src/renderer/components/common/NiListItem.vue b/app/src/renderer/components/common/NiListItem.vue index 97f040921a..65997f187d 100644 --- a/app/src/renderer/components/common/NiListItem.vue +++ b/app/src/renderer/components/common/NiListItem.vue @@ -129,7 +129,6 @@ export default { width 3rem - px i.material-icons display block - background app-fg width 3rem - px height 3rem - px display flex @@ -142,7 +141,7 @@ export default { display flex align-items flex-start justify-content center - padding 0 1rem + padding 0 1rem 0 0 flex-flow column nowrap .ni-li-title From 13c40b1e56f083128d3388fb5c40b919cad5798a Mon Sep 17 00:00:00 2001 From: Jordan Bibla Date: Wed, 3 Jan 2018 15:18:09 -0500 Subject: [PATCH 3/6] simplify user pane --- app/src/renderer/components/common/NiUserPane.vue | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/app/src/renderer/components/common/NiUserPane.vue b/app/src/renderer/components/common/NiUserPane.vue index 397f6060cf..f1d4617fad 100644 --- a/app/src/renderer/components/common/NiUserPane.vue +++ b/app/src/renderer/components/common/NiUserPane.vue @@ -5,18 +5,7 @@ list-item.ni-li-user( to="/profile" @click.native="close" icon="face" - :title="'Account ' + user.account") -div(v-else-if="user.signedIn") - list-item.ni-li-user( - type="link" - icon="exit_to_app" - @click.native="signOut" - title="Sign Out") -list-item.ni-li-user( - v-else - @click.native="openSession" - icon="exit_to_app" - title="Sign In") + :title="user.account")