matrix-bot/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 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;
border: 1px solid #e1e1e1;
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;
background-color: #bdbdbd;
}
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%;
height: 1em;
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 */
font-family: 'Muli', Helvetica, Arial, Sans-Serif;
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 05:16:38 +02:00
}
.mx_MessageComposer_upload {
display: table-cell;
vertical-align: middle;
padding-right: 15px;
}
.mx_MessageComposer_upload img {
margin-top: 5px;
}