Distinguish the selected zephyr in CSS

(imported from commit 42e243ff95de5427e78dbc532dfe9e50e9677438)
This commit is contained in:
Keegan McAllister 2012-09-13 11:53:13 -04:00
parent a8dcf09f1e
commit ea42342031
2 changed files with 3 additions and 4 deletions

View File

@ -205,10 +205,9 @@ function respond_to_zephyr() {
function update_pointer(zephyr) {
selected_zephyr_id = get_id(zephyr);
// Clear the previous arrow.
$("#selected").closest("td").empty().removeClass('selected_message_indicator');
$('.selected_zephyr').removeClass('selected_zephyr');
zephyr.addClass('selected_zephyr');
zephyr.children("td:first").html('<p id="selected"></p>').addClass('selected_message_indicator');
$.post("update", { pointer: selected_zephyr_id });
}

View File

@ -218,7 +218,7 @@ div#bottom_whitespace {
height: 60%;
}
td.selected_message_indicator {
.selected_zephyr .pointer {
background-color: blue;
width: 2px;
}