mirror of https://github.com/zulip/zulip.git
Responsive compose window.
(imported from commit 432223391cf158a6c8902370a911a08fd3179401)
This commit is contained in:
parent
601488e7df
commit
97daefee1c
|
@ -27,11 +27,14 @@
|
|||
<br/><br/>
|
||||
<div id="bottom_whitespace"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="compose" id="compose">
|
||||
<div class="alert" id="send-status"></div>
|
||||
<div class="row">
|
||||
<div class="span9 compose" id="compose">
|
||||
<div class="close composebox-close" onclick="hide_compose()">×</div>
|
||||
<div class="message_comp">
|
||||
<div class="alert" id="send-status"></div>
|
||||
<form action="/send_message/" method="post" class="zephyr">
|
||||
<input type="hidden" name="type" value="stream" id="new_message_type"/>
|
||||
{% csrf_token %}
|
||||
|
@ -78,4 +81,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -42,7 +42,11 @@ ul#sidebar {
|
|||
.message_comp {
|
||||
display: none;
|
||||
border: 1px solid #EEE;
|
||||
border-top: 0px;
|
||||
max-width: 640px;
|
||||
background-color: white;
|
||||
padding-left: 10px;
|
||||
padding-right: 20px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
td.pointer {
|
||||
|
@ -147,9 +151,9 @@ table.message_table {
|
|||
}
|
||||
|
||||
table.compose_table {
|
||||
/* = message_list */
|
||||
width: 640px;
|
||||
table-layout: fixed;
|
||||
margin-left: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.focused_table {
|
||||
|
@ -208,14 +212,12 @@ img.profile_picture {
|
|||
position: fixed;
|
||||
bottom: 0px;
|
||||
background: white;
|
||||
/* = message_list.padding-left */
|
||||
padding-left: 10px;
|
||||
/* = message_list.width + padding-right */
|
||||
width: 670px;
|
||||
max-width: 670px;
|
||||
}
|
||||
|
||||
/* Like .nav-tabs > li > a */
|
||||
#send-status {
|
||||
width: 90%;
|
||||
padding: 8px 14px 8px 14px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
@ -234,8 +236,7 @@ img.profile_picture {
|
|||
}
|
||||
|
||||
.composebox-close {
|
||||
padding-top: 5px;
|
||||
padding-right: 8px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.send-status-close:hover {
|
||||
|
|
Loading…
Reference in New Issue