diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/RichText.css b/src/skins/vector/css/matrix-react-sdk/views/elements/RichText.css
index 171482a36..3d8d8f3bb 100644
--- a/src/skins/vector/css/matrix-react-sdk/views/elements/RichText.css
+++ b/src/skins/vector/css/matrix-react-sdk/views/elements/RichText.css
@@ -20,3 +20,16 @@
.mx_Markdown_ITALIC {
font-style: italic;
}
+
+.mx_Markdown_CODE {
+ padding: .2em 0;
+ margin: 0;
+ font-size: 85%;
+ background-color: rgba(0,0,0,.04);
+ border-radius: 3px;
+}
+
+.mx_Markdown_HR {
+ color: rgba(0, 0, 0, 0.5);
+ text-decoration: #e7e7e7 double line-through;
+}
diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css
index b1cd3ce0e..45bc39cf3 100644
--- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css
+++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MessageComposer.css
@@ -60,6 +60,7 @@ limitations under the License.
display: flex;
flex-direction: column;
min-height: 60px;
+ justify-content: center;
align-items: flex-start;
font-size: 14px;
margin-right: 6px;
@@ -138,19 +139,26 @@ limitations under the License.
margin: 0 11px;
}
-.mx_MessageComposer_formatbar {
- display: flex;
-
- height: 30px;
+.mx_MessageComposer_formatbar_wrapper {
width: 100%;
background-color: #f7f7f7;
box-shadow: inset 0 1px 0 0 rgba(0, 0, 0, 0.08);
+}
+
+.mx_MessageComposer_formatbar {
+ margin: auto;
+ max-width: 960px;
+ display: flex;
+
+ height: 30px;
box-sizing: border-box;
padding-left: 62px;
flex-direction: row;
align-items: center;
+ font-size: 10px;
+ color: #888;
}
.mx_MessageComposer_formatbar * {
@@ -163,6 +171,11 @@ limitations under the License.
cursor: pointer;
}
+.mx_MessageComposer_format_button_disabled {
+ cursor: not-allowed;
+ opacity: 0.5;
+}
+
.mx_MessageComposer_formatbar_cancel {
margin-right: 22px;
}
@@ -172,6 +185,8 @@ limitations under the License.
}
.mx_MessageComposer_input_markdownIndicator {
+ cursor: pointer;
+ height: 10px;
padding: 4px 4px 4px 0;
opacity: 0.8;
}
diff --git a/src/skins/vector/img/button-text-code-o-n.svg b/src/skins/vector/img/button-text-code-o-n.svg
new file mode 100644
index 000000000..8d1439c97
--- /dev/null
+++ b/src/skins/vector/img/button-text-code-o-n.svg
@@ -0,0 +1,25 @@
+
+
\ No newline at end of file
diff --git a/src/skins/vector/img/button-text-code.svg b/src/skins/vector/img/button-text-code.svg
new file mode 100644
index 000000000..24026cb70
--- /dev/null
+++ b/src/skins/vector/img/button-text-code.svg
@@ -0,0 +1,25 @@
+
+
\ No newline at end of file
diff --git a/src/skins/vector/img/button-text-underline-o-n.svg b/src/skins/vector/img/button-text-underline-o-n.svg
new file mode 100644
index 000000000..870be3ce6
--- /dev/null
+++ b/src/skins/vector/img/button-text-underline-o-n.svg
@@ -0,0 +1,18 @@
+
+
\ No newline at end of file
diff --git a/src/skins/vector/img/button-text-underline.svg b/src/skins/vector/img/button-text-underline.svg
new file mode 100644
index 000000000..26f448539
--- /dev/null
+++ b/src/skins/vector/img/button-text-underline.svg
@@ -0,0 +1,18 @@
+
+
\ No newline at end of file