diff --git a/src/assets/css/_utilities.scss b/src/assets/css/_utilities.scss new file mode 100644 index 0000000..f7c4fd3 --- /dev/null +++ b/src/assets/css/_utilities.scss @@ -0,0 +1,20 @@ +.cursor-pointer { + cursor: pointer; +} + +.text-transform-0 { + text-transform: none; +} + +.mt-40 { + margin-top: 40px; +} +.w-100 { + width: 100%; +} +.h-100 { + width: 100%; +} +.white-space-pre { + white-space: pre; +} diff --git a/src/assets/css/chat.scss b/src/assets/css/chat.scss index 22c5785..7dacf06 100644 --- a/src/assets/css/chat.scss +++ b/src/assets/css/chat.scss @@ -1,5 +1,6 @@ @import '~vuetify/src/styles/settings/_variables.scss'; @import "@/assets/css/main.scss"; +@import "@/assets/css/vendors/v-emoji-picker"; $admin-bg: black; $admin-fg: white; @@ -37,6 +38,10 @@ $admin-fg: white; align-items: center; height: 100%; } + .chat-header-members, .chat-header-name { + overflow: hidden; + cursor: pointer; + } .num-members { font-family: "Inter", sans-serif; font-weight: 400; @@ -116,6 +121,8 @@ $admin-fg: white; padding-left: $chat-standard-padding-s; padding-bottom: $chat-standard-padding-s; padding-right: $chat-standard-padding-s; + overflow: hidden auto; + &::-webkit-scrollbar { width: 4px; } @@ -246,6 +253,10 @@ $admin-fg: white; user-select: text; } +.message-wrapper { + position: relative; user-select: none +} + .messageIn { margin: 8px; text-align: left; @@ -544,9 +555,13 @@ $admin-fg: white; font-family: "Inter", sans-serif; font-weight: 400; font-size: 13 * $chat-text-size; + flex: 1 0 80px; } .play-progress { padding: 0px 10px; + flex: 1 1 100%; + height: 30px; + .v-slider__thumb { display: none; } @@ -794,6 +809,10 @@ $admin-fg: white; color: #3d6eff; } + .filled-button { + min-width: 180px !important; + } + .v-card { background-color: white; border-radius: 20px; @@ -909,6 +928,7 @@ $admin-fg: white; } .mic-button { + z-index: 10; background-color: transparent !important; &.waiting-for-long-tap { transition: background-color 0.5s; @@ -931,6 +951,14 @@ $admin-fg: white; border-radius: 10px; background-color: black; overflow: hidden; + + .will-cancel, .locked, .error { + position: absolute !important; + top: 0 ; + left: 0; + right: 0; + bottom: 0 + } .will-cancel { background-color: #ff3300; } @@ -1080,3 +1108,13 @@ $admin-fg: white; .recent-emoji { color: black; } + +.current-image-input-path { + max-height: 50vh; + background-color: #e2e2e2 +} + +.loading-indicator { + position: absolute; + background-color: rgba(0, 0, 0, 0.2); +} \ No newline at end of file diff --git a/src/assets/css/main.scss b/src/assets/css/main.scss index 26c1aa2..e675f45 100644 --- a/src/assets/css/main.scss +++ b/src/assets/css/main.scss @@ -1,4 +1,5 @@ @import './variables'; +@import './utilities'; @font-face { font-family: "Inter"; diff --git a/src/assets/css/vendors/_v-emoji-picker.scss b/src/assets/css/vendors/_v-emoji-picker.scss new file mode 100644 index 0000000..d342d80 --- /dev/null +++ b/src/assets/css/vendors/_v-emoji-picker.scss @@ -0,0 +1,4 @@ +#EmojiPicker { + width: 100%; + background-color: #ffffff; +} diff --git a/src/components/BottomSheet.vue b/src/components/BottomSheet.vue index 8fa1393..d6bf889 100644 --- a/src/components/BottomSheet.vue +++ b/src/components/BottomSheet.vue @@ -18,7 +18,7 @@ :style="{ top: `${isMove ? y : calcY()}px` }" >
-
+
@@ -143,6 +143,14 @@ export default { \ No newline at end of file diff --git a/src/components/Join.vue b/src/components/Join.vue index 038d835..02814d3 100644 --- a/src/components/Join.vue +++ b/src/components/Join.vue @@ -38,8 +38,8 @@ {{ $t("join.joining_as") }} -
- +
+ {{ userAvatarLetter diff --git a/src/components/MessageOperationsBottomSheet.vue b/src/components/MessageOperationsBottomSheet.vue index e0cd9ef..3a16565 100644 --- a/src/components/MessageOperationsBottomSheet.vue +++ b/src/components/MessageOperationsBottomSheet.vue @@ -4,14 +4,7 @@