summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-27 05:20:29 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-27 05:20:29 +0900
commitec3a6d7097f3a288b5fcc9cc34f0e78b762dd8d7 (patch)
tree5862fbcbab6418469fa441d6d47f0f45202a9536 /src
parent:art: (diff)
downloadsharkey-ec3a6d7097f3a288b5fcc9cc34f0e78b762dd8d7.tar.gz
sharkey-ec3a6d7097f3a288b5fcc9cc34f0e78b762dd8d7.tar.bz2
sharkey-ec3a6d7097f3a288b5fcc9cc34f0e78b762dd8d7.zip
:art:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/mobile/views/components/ui.nav.vue8
-rw-r--r--src/client/app/mobile/views/components/ui.vue2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/client/app/mobile/views/components/ui.nav.vue b/src/client/app/mobile/views/components/ui.nav.vue
index 1dfb7bb70f..f1866871bf 100644
--- a/src/client/app/mobile/views/components/ui.nav.vue
+++ b/src/client/app/mobile/views/components/ui.nav.vue
@@ -51,6 +51,7 @@
<div class="notifications" v-if="showNotifications">
<header>
<button @click="showNotifications = false"><fa icon="times"/></button>
+ <i v-if="hasUnreadNotification" class="circle"><fa icon="circle"/></i>
</header>
<mk-notifications/>
</div>
@@ -228,6 +229,13 @@ export default Vue.extend({
line-height 42px
color var(--text)
+ > i
+ position absolute
+ top 0
+ right 16px
+ font-size 12px
+ color var(--notificationIndicator)
+
> .nav
> .me
diff --git a/src/client/app/mobile/views/components/ui.vue b/src/client/app/mobile/views/components/ui.vue
index 7ae7dd5f78..7ccd0f25fb 100644
--- a/src/client/app/mobile/views/components/ui.vue
+++ b/src/client/app/mobile/views/components/ui.vue
@@ -124,7 +124,7 @@ export default Vue.extend({
position absolute
top 0
left 0
- color var(--primary)
+ color var(--notificationIndicator)
font-size 16px
&.post