diff --git a/src/assets/css/channel.scss b/src/assets/css/channel.scss
index 2dc7fca..0b8d4ae 100644
--- a/src/assets/css/channel.scss
+++ b/src/assets/css/channel.scss
@@ -1,24 +1,130 @@
.chat-root.channel {
- background-color: #f2f2f2;
- .chat-content {
- width: 100%;
- max-width: 700px;
- align-self: center;
- background-color: white;
+ background-color: #f2f2f2;
+ .chat-content {
+ width: 100%;
+ max-width: 700px;
+ align-self: center;
+ background-color: white;
+ padding: 0 0;
+ }
+
+ .messageOut,
+ .messageIn,
+ .messageOut.from-admin,
+ .messageIn.from-admin {
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: row;
+ margin: 0 0 8px 0;
+ padding: 16px 0 0 0;
+ text-align: start;
+ .senderAndTime {
+ order: 2;
+ flex: 1 1 auto;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ padding: 2px 12px 0 12px;
+ .sender {
+ font-size: 12 * $chat-text-size;
+ font-weight: 700;
+ margin: 0;
+ color: #1c1c31;
+ flex: 0 0 100%;
+ }
+ .time {
+ font-size: 12 * $chat-text-size;
+ margin: 0;
+ color: #5f5f5f;
+ }
+ .status {
+ font-size: 12 * $chat-text-size;
+ margin: 0 0 0 10px;
+ color: #5f5f5f;
+ }
+ }
+ .avatar {
+ order: 1;
+ width: 40px !important;
+ height: 40px !important;
+ min-width: 40px !important;
+ min-height: 40px !important;
+ margin: 0;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-left: 15px;
+ }
+ .pin-icon {
+ order: 3;
+ margin-right: 15px;
+ }
+ .op-button {
+ order: 4;
+ margin-right: 15px;
+ }
+ .content {
+ order: 5;
+ flex: 0 0 100%;
+ margin-top: 24px;
+ .message {
+ color: black !important;
+ }
+ }
+ .bubble {
+ width: 100%;
+ max-width: 100%;
+ color: black !important;
+ background: none !important;
+ border: none !important;
+ border-radius: 0 !important;
+ padding: 0 15px 0 15px;
+ }
+ .bubble.image-bubble {
+ /* full bleed */
+ padding: 0 0 0 0;
+ }
+ .quick-reaction-container {
+ order: 6;
+ flex: 0 0 100%;
+ margin: 24px 7px 0 7px;
+ padding: 0 8px 16px 8px;
+ .emoji {
+ font-size: 12 * $chat-text-size;
+ font-weight: 500;
+ color: #1c1c31;
+ .v-icon {
+ width: 21px;
+ height: 21px;
+ }
+ }
+ border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
- .messageOut, .messageIn {
- display: flex;
- flex-wrap: wrap;
- .senderAndTime {
- flex: 0 0 100%;
- }
- .content {
- flex: 1 1 auto;
- }
- .bubble {
- width: 100%;
- max-width: 100%;
- }
+ /* Make all images 'cover' */
+ .v-image__image {
+ background-size: cover;
}
-}
\ No newline at end of file
+ }
+
+ .audio-player {
+ color: #1c1c31 !important;
+ .currentColor {
+ background-color: #000000 !important;
+ }
+ .v-icon {
+ color: black !important;
+ }
+ }
+
+ .poll-answer {
+ border-radius: 10px;
+ }
+
+ .messageOut.pinned,
+ .messageIn.pinned,
+ .messageOut.from-admin.pinned,
+ .messageIn.from-admin.pinned {
+ background-color: #f8f8f8;
+ }
+}
diff --git a/src/assets/css/components/_poll.scss b/src/assets/css/components/_poll.scss
index 8e39b64..4715902 100644
--- a/src/assets/css/components/_poll.scss
+++ b/src/assets/css/components/_poll.scss
@@ -64,6 +64,10 @@
position: relative;
}
+.poll-answer:not(:last-child) {
+ margin-bottom: 12px;
+}
+
.poll-percent-indicator {
position: absolute;
bottom: 2px;
diff --git a/src/assets/icons/ic_like.vue b/src/assets/icons/ic_like.vue
new file mode 100644
index 0000000..33a9112
--- /dev/null
+++ b/src/assets/icons/ic_like.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/src/assets/icons/ic_like_filled.vue b/src/assets/icons/ic_like_filled.vue
new file mode 100644
index 0000000..2900686
--- /dev/null
+++ b/src/assets/icons/ic_like_filled.vue
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/src/assets/icons/ic_pin.vue b/src/assets/icons/ic_pin.vue
new file mode 100644
index 0000000..85dcfdf
--- /dev/null
+++ b/src/assets/icons/ic_pin.vue
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/icons/ic_pin_filled.vue b/src/assets/icons/ic_pin_filled.vue
new file mode 100644
index 0000000..60eff58
--- /dev/null
+++ b/src/assets/icons/ic_pin_filled.vue
@@ -0,0 +1,8 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Chat.vue b/src/components/Chat.vue
index 4625045..d54daef 100644
--- a/src/components/Chat.vue
+++ b/src/components/Chat.vue
@@ -1,5 +1,5 @@
-