element-web/skins/base/css/molecules/MessageComposer.css

86 lines
1.9 KiB
CSS
Raw Normal View History

/*
Copyright 2015 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.
*/
2015-07-13 00:51:24 +00:00
.mx_MessageComposer_wrapper {
max-width: 720px;
height: 50px;
vertical-align: middle;
margin: auto;
2015-07-15 03:16:38 +00:00
background-color: #fff;
border-radius: 25px;
2015-07-17 19:23:11 +00:00
border: 1px solid #a9dbf4;
2015-07-13 00:51:24 +00:00
}
.mx_MessageComposer_row {
display: table-row;
width: 100%;
height: 50px;
2015-07-13 00:51:24 +00:00
}
.mx_MessageComposer .mx_MessageComposer_avatar {
display: table-cell;
2015-07-15 03:16:38 +00:00
padding-left: 5px;
padding-right: 10px;
height: 50px;
}
.mx_MessageComposer .mx_MessageComposer_avatar img {
margin-top: 5px;
border-radius: 20px;
2015-07-17 19:23:11 +00:00
background-color: #dbdbdb;
}
2015-07-13 00:51:24 +00:00
.mx_MessageComposer_input {
display: table-cell;
2015-07-13 00:51:24 +00:00
width: 100%;
vertical-align: middle;
2015-07-15 03:16:38 +00:00
height: 50px;
2015-07-13 00:51:24 +00:00
}
.mx_MessageComposer_input textarea {
font-size: 15px;
width: 100%;
height: 1em;
2015-07-15 03:16:38 +00:00
padding-top: 0.7em;
padding-bottom: 0.7em;
2015-07-13 00:51:24 +00:00
border: 0px;
resize: none;
outline: none;
2015-07-13 00:51:24 +00:00
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
2015-07-17 16:08:33 +00:00
/* needed for FF */
2015-07-17 23:48:22 +00:00
font-family: 'Lato', Helvetica, Arial, Sans-Serif;
2015-07-17 16:08:33 +00:00
font-weight: 300;
font-size: 15px;
}
/* hack for FF as vertical alignment of custom placeholder text is broken */
.mx_MessageComposer_input textarea::-moz-placeholder {
line-height: 100%;
2015-07-15 03:16:38 +00:00
}
.mx_MessageComposer_upload {
display: table-cell;
vertical-align: middle;
padding-right: 15px;
}
.mx_MessageComposer_upload img {
margin-top: 5px;
}