1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Add styling for suspended users

This commit is contained in:
Tim Düsterhus 2012-11-20 16:08:48 +01:00
parent 626911953d
commit 912201dd64
2 changed files with 8 additions and 20 deletions

View File

@ -370,7 +370,7 @@ window.console ?=
console.log 'Moving User: "' + user.username + '"'
element = element.detach()
if user.awayStatus?
element.addClass 'timsChatAway'
element.addClass 'away'
element.attr 'title', user.awayStatus
else
element.removeClass 'timsChatAway'

View File

@ -186,26 +186,14 @@
}
#timsChatUserList {
.timsChatUserMenu {
display: none;
background-color: rgba(0, 0, 0, 0.1);
border-bottom: 1px solid @wcfContentBackgroundColor;
color: rgba(0, 0, 0, 0.4);
> li {
a {
background-color: rgba(255, 255, 255, 0.22);
.textShadow(@wcfSidebarBackgroundColor + rgba(0, 0, 0, 0.1) + rgba(255, 255, 255, 0.22)) !important;
.borderRadius(5px, 0, 0, 5px);
margin-left: 35px;
padding: 1px 0 1px 15px;
color: @wcfColor;
}
.timsChatUser {
&.away {
opacity: .5;
}
&.suspended a {
text-decoration: line-through;
}
}
.timsChatAway {
opacity: .5;
}
}
}