Restyle personals, attempt #2.

(imported from commit a8bdf6ad1d7e3dd24b8d42b0f46472ba2db15900)
This commit is contained in:
Waseem Daher
2012-09-28 14:34:09 -04:00
parent d767d0ee49
commit d13dd0a953
3 changed files with 16 additions and 20 deletions

View File

@@ -72,11 +72,8 @@
<table> <table>
<tbody> <tbody>
<tr> <tr>
<td colspan="2" class="zephyr_newstyle_class personal-message"> <td colspan="3" class="zephyr_newstyle_pm">
Huddle Huddle with <input type="text" class="zephyr_recipient_box" name="recipient" id="recipient" value="" placeholder="one or more of your friends..." autocomplete="off"/>
</td>
<td class="zephyr_newstyle_instance personal-message">
<input type="text" class="zephyr_recipient_box" name="recipient" id="recipient" value="" placeholder="with one or more of your friends..." autocomplete="off"/>
</td> </td>
</tr> </tr>
<tr> <tr>

View File

@@ -16,10 +16,8 @@
</tr> </tr>
{{else}} {{else}}
<tr> <tr>
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class personal-message" <td colspan="3" class="zephyr_label_clickable zephyr_newstyle_pm"
onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td> onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle with {{display_reply_to}}</td>
<td class="zephyr_label_clickable zephyr_newstyle_instance personal-message"
onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
</tr> </tr>
{{/if}} {{/if}}
{{/include_recipient}} {{/include_recipient}}

View File

@@ -74,6 +74,7 @@ td.pointer {
text-align: right; text-align: right;
padding-right: 10px; padding-right: 10px;
padding-top: 5px; padding-top: 5px;
min-width: 80px;
} }
.zephyr_newstyle_class { .zephyr_newstyle_class {
@@ -100,16 +101,16 @@ td.pointer {
font-weight: bold; font-weight: bold;
} }
.zephyr_newstyle_class.personal-message { .zephyr_newstyle_pm {
background-color: lightgreen; vertical-align: middle;
border-color: black; text-align: left;
border-width: 2px; overflow-x: hidden;
} padding-left: 10px;
white-space: nowrap;
.zephyr_newstyle_instance.personal-message { font-weight: bold;
background-color: lightgreen; background-color: black;
border-color: black; color: white;
border-width: 2px; border: 2px solid black;
} }
.messagebox.personal-message { .messagebox.personal-message {
@@ -275,7 +276,7 @@ textarea:focus {
} }
input.zephyr_recipient_box { input.zephyr_recipient_box {
width: 90%; width: 80%;
margin-bottom: 0px; margin-bottom: 0px;
margin-top: 0px; margin-top: 0px;
} }