125 lines
2.8 KiB
CSS
125 lines
2.8 KiB
CSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_MessageComposer_wrapper {
|
|
max-width: 960px;
|
|
vertical-align: middle;
|
|
margin: auto;
|
|
border-top: 1px solid #e5e5e5;
|
|
}
|
|
|
|
.mx_MessageComposer_autocomplete_wrapper {
|
|
position: relative;
|
|
height: 0;
|
|
}
|
|
|
|
.mx_MessageComposer_row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.mx_MessageComposer .mx_MessageComposer_avatar {
|
|
padding-left: 10px;
|
|
padding-right: 28px;
|
|
}
|
|
|
|
.mx_MessageComposer .mx_MessageComposer_avatar .mx_BaseAvatar {
|
|
display: block;
|
|
}
|
|
|
|
.mx_MessageComposer_composecontrols {
|
|
width: 100%;
|
|
}
|
|
|
|
.mx_MessageComposer_noperm_error {
|
|
width: 100%;
|
|
height: 60px;
|
|
text-align: center;
|
|
font-style: italic;
|
|
color: #888;
|
|
}
|
|
|
|
.mx_MessageComposer_input {
|
|
flex: 1;
|
|
vertical-align: middle;
|
|
min-height: 60px;
|
|
max-height: 120px;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: auto;
|
|
font-size: 14px;
|
|
margin-right: 6px;
|
|
}
|
|
.mx_MessageComposer_input_rte {
|
|
border-top: 2px solid #76cfa6; /* placeholder RTE indicator */
|
|
}
|
|
|
|
.mx_MessageComposer_input .DraftEditor-root {
|
|
flex: 1;
|
|
}
|
|
|
|
.mx_MessageComposer_input textarea {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0px;
|
|
margin-top: 6px;
|
|
margin-bottom: 6px;
|
|
border: 0px;
|
|
resize: none;
|
|
outline: none;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
color: #454545;
|
|
background-color: #fff;
|
|
font-size: 14px;
|
|
|
|
/* needed for FF */
|
|
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
|
|
}
|
|
|
|
/* hack for FF as vertical alignment of custom placeholder text is broken */
|
|
.mx_MessageComposer_input textarea::-moz-placeholder {
|
|
line-height: 100%;
|
|
color: #76cfa6;
|
|
opacity: 1.0;
|
|
}
|
|
.mx_MessageComposer_input textarea::-webkit-input-placeholder {
|
|
color: #76cfa6;
|
|
}
|
|
|
|
.mx_MessageComposer_upload,
|
|
.mx_MessageComposer_hangup,
|
|
.mx_MessageComposer_voicecall,
|
|
.mx_MessageComposer_videocall {
|
|
/*display: table-cell;*/
|
|
/*vertical-align: middle;*/
|
|
/*padding-left: 10px;*/
|
|
padding-right: 5px;
|
|
cursor: pointer;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.mx_MessageComposer_upload object,
|
|
.mx_MessageComposer_hangup object,
|
|
.mx_MessageComposer_voicecall object,
|
|
.mx_MessageComposer_videocall object {
|
|
pointer-events: none;
|
|
}
|
|
|