Merge branch 'uiredesign' of ../csarven into uiredesign

This commit is contained in:
Evan Prodromou 2009-01-16 22:43:23 +00:00
commit 400927f757
3 changed files with 9 additions and 9 deletions

View File

@ -22,13 +22,13 @@ $(document).ready(function(){
var maxLength = 140; var maxLength = 140;
var currentLength = $("#notice_data-text").val().length; var currentLength = $("#notice_data-text").val().length;
var remaining = maxLength - currentLength; var remaining = maxLength - currentLength;
var counter = $("#counter"); var counter = $("#notice_text-count");
counter.text(remaining); counter.text(remaining);
if (remaining <= 0) { if (remaining <= 0) {
$("#form_notice").addClass("response_error"); $("#form_notice").addClass("warning");
} else { } else {
$("#form_notice").removeClass("response_error"); $("#form_notice").removeClass("warning");
} }
} }

View File

@ -638,7 +638,7 @@ margin-right:11px;
.notice .author a { .notice .author a {
} }
.notice .author:after { .notice .author:after {
content:":"; /*content:":";*/
} }
.vcard .photo { .vcard .photo {

View File

@ -41,12 +41,12 @@ color:#88171A;
#notice_text-count { #notice_text-count {
color:#333; color:#333;
} }
#notice_text-count.warning { #form_notice.warning #notice_text-count {
color:#FDFF00; color:#000;
background-color:#000; background-color:#A9BF4F;
} }
#notice_data-text.warning { #form_notice.warning #notice_data-text {
border-color:#FDFF00; border-color:#A9BF4F;
} }
#form_notice #notice_data-attach_view { #form_notice #notice_data-attach_view {