From 1005837ae5632d6e9062b3214b3201c15b620f98 Mon Sep 17 00:00:00 2001 From: adb Date: Sun, 22 Nov 2020 15:00:48 +0100 Subject: [PATCH] a bit styling --- src/App.vue | 15 +++++++ src/components/chatInformation.vue | 71 ++++++++++++++++-------------- src/components/topBanner.vue | 11 ++++- src/views/rooms.vue | 12 ++--- 4 files changed, 69 insertions(+), 40 deletions(-) diff --git a/src/App.vue b/src/App.vue index 56cc8f7..cf60931 100644 --- a/src/App.vue +++ b/src/App.vue @@ -22,6 +22,21 @@ export default { body{ margin: 0; } +*{ + scrollbar-width: thin; + scrollbar-color: #42b983 #2220; +} +*::-webkit-scrollbar { + width: 0.5rem; + height: 0.5rem; +} +*::-webkit-scrollbar-track { + background: none; +} +*::-webkit-scrollbar-thumb { + background-color: #42b983; + border-radius: 0.25rem; +} #app { font-family: Avenir, Helvetica, Arial, sans-serif; position: absolute; diff --git a/src/components/chatInformation.vue b/src/components/chatInformation.vue index e5775ce..6f2d898 100644 --- a/src/components/chatInformation.vue +++ b/src/components/chatInformation.vue @@ -1,27 +1,29 @@