diff --git a/app/javascript/mastodon/features/compose/components/compose_form.js b/app/javascript/mastodon/features/compose/components/compose_form.js
index 5f5bdd20e..cacdd2986 100644
--- a/app/javascript/mastodon/features/compose/components/compose_form.js
+++ b/app/javascript/mastodon/features/compose/components/compose_form.js
@@ -248,27 +248,12 @@ class ComposeForm extends ImmutablePureComponent {
-
- Messaging box
-
-
User list
-
- -
- someone is logged in, click on me
-
- -
- wulfila is here, click on me
-
- -
- chuck norris is here, click on me
-
-
-
-
);
}
diff --git a/app/javascript/mastodon/features/ui/components/navigation_panel.js b/app/javascript/mastodon/features/ui/components/navigation_panel.js
index 0c12852f5..204715c88 100644
--- a/app/javascript/mastodon/features/ui/components/navigation_panel.js
+++ b/app/javascript/mastodon/features/ui/components/navigation_panel.js
@@ -8,28 +8,163 @@ import FollowRequestsNavLink from './follow_requests_nav_link';
import ListPanel from './list_panel';
import TrendsContainer from 'mastodon/features/getting_started/containers/trends_container';
+import ComposeFormContainer from 'mastodon/features/compose/containers/compose_form_container';
+
const NavigationPanel = () => (
-
-
-
-
-
-
-
-
-
- {profile_directory &&
}
-
+
+
+
+
+
+
+
+
+
+ {profile_directory &&
+
}
-
+
-
-
+
- {showTrends &&
}
- {showTrends &&
}
+
+
+
+ {showTrends &&
}
+ {showTrends &&
}
+
+
+
+
+ Messaging box
+
+
+
User list
+
+ -
+ someone is logged in, click on me
+
+ -
+ wulfila is here, click on me
+
+ -
+ chuck norris is here, click on me
+
+
+
+
+
+
);
diff --git a/app/javascript/styles/bliss/messaging.scss b/app/javascript/styles/bliss/messaging.scss
index 739c489b0..38e0e3b48 100644
--- a/app/javascript/styles/bliss/messaging.scss
+++ b/app/javascript/styles/bliss/messaging.scss
@@ -1,8 +1,57 @@
-.messaging-box {
+$messagingBoxWidth: 15em;
+$messagingBoxHeight: 20em;
+
+.fixed-box {
border: solid 1px white;
padding: 1em;
position: fixed;
bottom: 0;
- right: 1em;
- background: grey;
+}
+
+.messaging-box {
+ @extend .fixed-box;
+
+ right: 1em;
+ width: $messagingBoxWidth;
+ background: $ui-base-color;
+}
+
+.conversations_list {
+ @extend .fixed-box;
+ width: $messagingBoxWidth;
+ right: $messagingBoxWidth + 5em;
+ background: $ui-secondary-color;
+}
+
+.conversation-item {
+ &.has-new-message {
+ background: $ui-highlight-color;
+ color: $classic-primary-color;
+ }
+}
+
+.conversation_stream {
+ padding-top: 1em;
+ height: $messagingBoxHeight;
+ overflow: auto;
+ background: $ui-secondary-color;
+
+ .message {
+ -webkit-border-radius: 0.5rem;
+ -moz-border-radius: 0.5rem;
+ border-radius: 0.5rem;
+ margin-bottom: 0.5em;
+ padding: 0.5em 1em;
+
+ }
+
+ .mine {
+ text-align: right;
+ background: $classic-primary-color;
+ }
+
+ .theirs {
+ text-align: left;
+ background: $ui-highlight-color;
+ }
}
diff --git a/app/javascript/styles/custom.scss b/app/javascript/styles/custom.scss
index 1dad3a2bc..c59d880a0 100644
--- a/app/javascript/styles/custom.scss
+++ b/app/javascript/styles/custom.scss
@@ -22,7 +22,7 @@ $media-modal-media-max-height: 80%;
// fix
.media-gallery {
- margin-left: -2em;
+ margin-left: 0;
}
// then we import the rest of the world