Improved Chat

This commit is contained in:
Oleksandr Zhurbenko 2015-03-03 15:38:19 -08:00
parent e18369936f
commit acdfaeed22
2 changed files with 12 additions and 3 deletions

View File

@ -56,7 +56,7 @@
span {
.userNameEntry
{
font-size: 2.5vw !important;
font-size: 2.8vw !important;
font-style: italic;
}
.glyphicon-time {
@ -66,6 +66,9 @@
font-size: 2.5vw !important;
}
}
.chatMessage {
font-size: 2vw !important;
}
}
}
@ -133,6 +136,12 @@
.dropdown {
float: left;
@media @desktop-portrait, @mobile-portrait, @mobile-portrait-with-keyboard {
.dropdownMessage {
font-size: 2.5vw !important;
font-style: italic;
}
}
.dropdown-menu {
height: 80px;
overflow-y: scroll;

View File

@ -69,7 +69,7 @@
{{/if}}
</span>
<br/>
<div style="color:{{colourToHex message.from_color}}">{{{sanitizeAndFormat message.message}}}</div>
<div class="chatMessage" style="color:{{colourToHex message.from_color}}">{{{sanitizeAndFormat message.message}}}</div>
{{autoscroll}}
</template>
@ -100,7 +100,7 @@
<template name="optionsFontSize">
<div class="dropdown">
<span {{messageFontSize}}>Chat Message Font Size: </span>
<span class="dropdownMessage" {{messageFontSize}}>Chat Message Font Size: </span>
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
Font Size ({{getInSession "messageFontSize"}})
<span class="caret"></span>