RTE format bar enhancements

This commit is contained in:
Aviral Dasgupta 2016-09-07 22:52:37 +05:30
parent d6a324ede7
commit 22bf6e7969
6 changed files with 118 additions and 4 deletions

View file

@ -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;
}

View file

@ -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;
}