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

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