CSS cleanup.

(imported from commit a7a13e57cf43368d66e94d01ef25ec14d0c15657)
This commit is contained in:
Waseem Daher 2012-09-27 15:37:14 -04:00
parent fbf7f7bc07
commit cd296da113
3 changed files with 15 additions and 19 deletions

View File

@ -41,15 +41,15 @@
<table>
<tbody>
<tr>
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class">
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class">
<input type="text" class="zephyr_recipient_box" name="class" id="class" value="" placeholder="Stream" autocomplete="off"/>
</td>
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance">
<td class="zephyr_label_clickable zephyr_newstyle_instance">
<input type="text" class="zephyr_recipient_box" name="instance" id="instance" value="" placeholder="Topic" autocomplete="off"/>
</td>
</tr>
<tr>
<td class="zephyr_recipient"></td>
<td class="zephyr_picture"></td>
<td class="pointer"></td>
<td class="messagebox">
<div class="zephyr_content">
@ -71,15 +71,15 @@
<table>
<tbody>
<tr>
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class">
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class">
Huddle
</td>
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance">
<td class="zephyr_label_clickable zephyr_newstyle_instance">
<input type="text" class="zephyr_recipient_box" name="recipient" id="recipient" value="" placeholder="with one or more of your friends..." autocomplete="off"/>
</td>
</tr>
<tr>
<td class="zephyr_recipient"></td>
<td class="zephyr_picture"></td>
<td class="pointer"></td>
<td class="messagebox">
<div class="zephyr_content">

View File

@ -8,19 +8,19 @@
{{#include_recipient}}
{{^is_class}}
<tr>
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td>
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td>
<td class="zephyr_label_clickable zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
</tr>
{{/is_class}}
{{#is_class}}
<tr>
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</td>
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</td>
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</td>
<td class="zephyr_label_clickable zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</td>
</tr>
{{/is_class}}
{{/include_recipient}}
<tr zid="{{id}}" id="{{dom_id}}" class="zephyr_row" onmouseover="select_zephyr_by_id({{id}});">
<td class="zephyr_recipient">
<td class="zephyr_picture">
{{#include_sender}}
<img class="img-rounded profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
{{/include_sender}}

View File

@ -69,15 +69,11 @@ td.pointer {
width: 2px;
}
td.zephyr_recipient {
.zephyr_picture {
vertical-align: top;
text-align: right;
overflow-x: hidden;
padding-right: 10px;
padding-top: 5px;
max-width: 80px;
min-width: 80px;
white-space: nowrap;
text-align: right;
padding-right: 10px;
padding-top: 5px;
}
td.zephyr_newstyle_class {