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:
parent
626911953d
commit
912201dd64
@ -370,7 +370,7 @@ window.console ?=
|
|||||||
console.log 'Moving User: "' + user.username + '"'
|
console.log 'Moving User: "' + user.username + '"'
|
||||||
element = element.detach()
|
element = element.detach()
|
||||||
if user.awayStatus?
|
if user.awayStatus?
|
||||||
element.addClass 'timsChatAway'
|
element.addClass 'away'
|
||||||
element.attr 'title', user.awayStatus
|
element.attr 'title', user.awayStatus
|
||||||
else
|
else
|
||||||
element.removeClass 'timsChatAway'
|
element.removeClass 'timsChatAway'
|
||||||
|
@ -186,26 +186,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#timsChatUserList {
|
#timsChatUserList {
|
||||||
.timsChatUserMenu {
|
.timsChatUser {
|
||||||
display: none;
|
&.away {
|
||||||
background-color: rgba(0, 0, 0, 0.1);
|
opacity: .5;
|
||||||
border-bottom: 1px solid @wcfContentBackgroundColor;
|
}
|
||||||
color: rgba(0, 0, 0, 0.4);
|
|
||||||
|
&.suspended a {
|
||||||
> li {
|
text-decoration: line-through;
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.timsChatAway {
|
|
||||||
opacity: .5;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user