From 8ff21026a5ae3c619e46b832e7e9c5f4593aec88 Mon Sep 17 00:00:00 2001 From: Andrew Gundersen Date: Sat, 20 Feb 2021 15:39:00 -0600 Subject: [PATCH] ui enhancements, transparent title bar and custom exit buttons --- src/App.vue | 22 ++- src/components/messageView/index.vue | 24 ++- src/components/messageView/mockMessages.ts | 161 ++++++++++++++++++++ src/components/taInput/textDetails/text.vue | 2 +- src/views/home.vue | 8 +- src/views/login.vue | 28 +++- src/views/splash.vue | 9 +- 7 files changed, 227 insertions(+), 27 deletions(-) create mode 100644 src/components/messageView/mockMessages.ts diff --git a/src/App.vue b/src/App.vue index d3e2d89..8f6d51d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -3,15 +3,13 @@ - - - - + + + + + @@ -27,7 +25,6 @@ } #app { - font-family: Avenir, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @@ -43,15 +40,15 @@ .titlebar { position: fixed; - display: flex; - width: 100vw; height: 54px; -webkit-user-select: none; -webkit-app-region: drag; - background-color: #EBEBEB; + background-color: red; + + opacity: 0.0; border: none; outline:none; @@ -59,7 +56,8 @@ } .menu { - margin-left: 13px; + position: fixed; + margin-left: 20px; margin-top: 20px; } diff --git a/src/components/messageView/index.vue b/src/components/messageView/index.vue index 261e718..d75ef73 100644 --- a/src/components/messageView/index.vue +++ b/src/components/messageView/index.vue @@ -4,6 +4,7 @@ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" :viewBox="scrollView" + @click="emittMessage" > @@ -21,6 +22,12 @@