.notification a color

This commit is contained in:
Zixaphir 2013-08-08 19:09:14 -07:00
parent 52508aa02f
commit 8804aba7cd
4 changed files with 21 additions and 14 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -323,7 +323,6 @@ th {
top: 100%;
}
.notification {
color: #fff;
font-weight: 700;
text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
@ -346,13 +345,14 @@ th {
.notification.success {
background-color: hsla(104, 100%, 38%, .9);
}
.notification,
.notification a {
color: #fff;
color: #fff !important;
}
.notification > .close {
padding: 6px;
top: 0;
right: 5px;
padding: 2px;
right: 4px;
position: absolute;
color: #fff;
}

View File

@ -86,6 +86,7 @@ Unread =
# Force line on visible threads if there were no unread posts previously.
Unread.setLine posts.contains Unread.posts[0]
Unread.read()
Unread.update()
addPostQuotingYou: (post) ->
return unless QR.db
@ -115,7 +116,7 @@ Unread =
break if post.ID > Unread.lastReadPost
arr.splice 0, i
read: $.debounce 50, ->
read: $.debounce 50, (e) ->
return if d.hidden or !Unread.posts.length
height = doc.clientHeight
{posts} = Unread
@ -142,7 +143,7 @@ Unread =
Unread.lastReadPost = ID if Unread.lastReadPost < ID or !Unread.lastReadPost
Unread.saveLastReadPost()
Unread.readArray Unread.postsQuotingYou
Unread.update()
Unread.update() if e
saveLastReadPost: $.debounce 2 * $.SECOND, ->
return if Unread.thread.isDead