1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Adding some styles to messages

This commit is contained in:
Tim Düsterhus 2011-12-13 22:42:28 +01:00
parent 510ee9645e
commit 6ac361e65e
2 changed files with 23 additions and 5 deletions

View File

@ -5,7 +5,7 @@
<packagedescription><![CDATA[Chat for WoltLab Community Framework™]]></packagedescription>
<standalone>0</standalone>
<isunique>1</isunique>
<version>3.0.0 Alpha 1</version>
<version>3.0.0 Alpha 2</version>
<date>2011-11-26</date>
<plugin>com.woltlab.wcf.bbcode</plugin> <!-- TODO: Correct me -->
</packageinformation>
@ -38,7 +38,6 @@
<instruction type="language">language/*.xml</instruction>
<instruction type="file">file.tar</instruction>
<instruction type="template">template.tar</instruction>
<instruction type="sql">install.sql</instruction>
<instruction type="objectType">objectType.xml</instruction>
<instruction type="option">option.xml</instruction>
<instruction type="pagemenu">pagemenu.xml</instruction>

View File

@ -116,14 +116,14 @@
}
#chatUserList > ul > li > .bgFix a {
background-image: url("wcf/icon/arrowRight.svg");
background-image: url({icon size='S'}arrowRight{/icon});
background-position: 15px center;
background-repeat: no-repeat;
background-size: 16px auto;
}
#chatUserList > ul > li.activeMenuItem > .bgFix a {
background-image: url("wcf/icon/arrowDown.svg");
background-image: url({icon size='S'}arrowDown{/icon});
}
.chatSidebar .chatUserMenu li a {
@ -149,6 +149,25 @@
content: "]";
}
.chatMessage {
padding-left: 16px;
min-height: 16px;
}
{assign var='type' value='\wcf\data\chat\message\ChatMessage::TYPE_'}
.chatMessage{$type|concat:'JOIN'|constant}, .chatMessage{$type|concat:'LEAVE'|constant} {
background-position: left top;
background-repeat: no-repeat;
}
.chatMessage{$type|concat:'JOIN'|constant} {
background-image: url({icon size='S'}toRight1{/icon});
}
.chatMessage{$type|concat:'LEAVE'|constant} {
background-image: url({icon size='S'}toLeft1{/icon});
}
.chatSidebar a {
outline: none;
}
@ -156,7 +175,7 @@
.ajaxLoad {
background-position: right center;
background-repeat: no-repeat;
background-image: url({icon}spinner1{/icon});
background-image: url({icon size='S'}spinner1{/icon});
}
.bgFix {