diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index 7deefd2..e8f9293 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -25,9 +25,9 @@ $admin-fg: white; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 11 * $chat-text-size; - color: white; - background-color: #f74e4e !important; - border: none; + color: black; + background-color: white !important; + border: 1px solid black; border-radius: $chat-standard-padding / 2; height: $chat-standard-padding; margin-top: $chat-standard-padding-xs; @@ -435,4 +435,70 @@ $admin-fg: white; padding-right: 10px; content: attr(title); } +} + +.room-info { + background-color: #e0e0e0; + height: 100%; + .chat-header { + background-color: transparent; + border: none; + } + .room-name { + text-align: center; + margin-top: 15px; + } + .back { + position: absolute; + top: 0px; + left: 0px; + margin: 10px 0px; + font-weight: bold; + font-size: 12 * $chat-text-size; + } + + .v-card { + background-color: white; + border-radius: 20px; + } + + .show-all { + color: black; + font-size: 14 * $chat-text-size; + font-weight: bold; + margin-left: 10px; + } +} + +.profile { + background-color: white; + height: 100%; + .chat-header { + background-color: transparent; + border: none; + } + .room-name { + text-align: center; + margin-top: 15px; + } + .back { + position: absolute; + top: 0px; + right: 0px; + margin: 10px 0px; + font-weight: bold; + font-size: 12 * $chat-text-size; + } + + .v-card { + background-color: white; + border-radius: 20px; + } + + .show-all { + color: black; + font-size: 14 * $chat-text-size; + font-weight: bold; + margin-left: 10px; + } } \ No newline at end of file diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index f01553a..4e87f6f 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -8,4 +8,29 @@ $chat-standard-padding: 32px; $chat-standard-padding-s: 16px; $chat-standard-padding-xs: 8px; $chat-text-size: 1.0px; -$chat-button-height: 50px; \ No newline at end of file +$chat-button-height: 50px; + +.v-btn.outlined-button { + font-family: 'Inter', sans-serif; + font-weight: 700; + font-size: 11 * $chat-text-size; + color: black; + background-color: white !important; + border: 1px solid black; + border-radius: $chat-standard-padding / 2; + height: $chat-standard-padding; + margin-top: $chat-standard-padding-xs; + margin-bottom: $chat-standard-padding-xs; +} + +.v-btn.filled-button { + font-family: 'Inter', sans-serif; + font-weight: 700; + font-size: 11 * $chat-text-size; + color: white; + border: none; + border-radius: $chat-standard-padding / 2; + height: $chat-standard-padding; + margin-top: $chat-standard-padding-xs; + margin-bottom: $chat-standard-padding-xs; +} \ No newline at end of file diff --git a/src/components/ChatHeader.vue b/src/components/ChatHeader.vue index 8b3458b..3992253 100644 --- a/src/components/ChatHeader.vue +++ b/src/components/ChatHeader.vue @@ -19,27 +19,19 @@ - - - Are you sure you want to leave? - - You may not be able to rejoin. - - - - - Cancel - Next - - - + + + \ No newline at end of file diff --git a/src/components/Profile.vue b/src/components/Profile.vue new file mode 100644 index 0000000..27a8f01 --- /dev/null +++ b/src/components/Profile.vue @@ -0,0 +1,137 @@ + + + + + My Profile + + close + + + + + + lockSet password + + + + + Display name + + + + + + + Cancel + Ok + + + + + + + + + \ No newline at end of file diff --git a/src/components/RoomInfo.vue b/src/components/RoomInfo.vue index d21aa91..f36e37b 100644 --- a/src/components/RoomInfo.vue +++ b/src/components/RoomInfo.vue @@ -1,38 +1,23 @@ - + - - - - arrow_back - - - - - - - - {{ room.summary.info.title }} - - - - + + {{ room.summary.info.title }} + + + arrow_back + BACK + - + Members {{ room.getJoinedMemberCount() }} @@ -51,64 +37,59 @@ {{ member.user ? member.user.displayName : member.name }}{{ member.userId == $matrix.currentUserId ? " (you)" : "" }} - edit + + + {{ showAllMembers ? "Hide" : "Show all" }} - - Your account + + My Profile - You don't have a Keanu account, yet ;) - Login + + Your identity {{ displayName }} is temporary. You can change + your name or set a password to keep it. + + View - - - - Display name - - - - - - - Cancel - Ok + + Leave group - - - + + Note: This step cannot be undone. Make sure you want to logout and delete the chat forever. + + + + + +