connecta_example
Version:
Connecta simple chat example
82 lines (71 loc) • 1.13 kB
CSS
body
{
margin:0;
background-color: #cccccc;
}
.cont
{
background-color: #ffffff;
width: 80%;
margin-left: auto;
margin-right: auto;
}
#chatBox
{
height: 400px;
}
.row
{
font-size: 20px;
height: 22px;
color: #333333;
text-align: center;
border-bottom: solid #333333;
}
.messageCont
{
height: 30px;
background-color: rgb(239, 255, 185);
font-size: 22px;
border-bottom: solid #cccccc;
}
.messageCont .message
{
float: left;
margin-left: 10px;
}
.messageCont .userID
{
float: left;
margin-left: 10px;
}
.rtcfallback
{
background-color: rgb(255, 189, 189);
}
.inputRow
{
height: 40px;
}
.inputRow .inputfield
{
float: left;
width: 80%;
height: 30px;
}
.inputRow .submitButton
{
font-weight: bold;
background-color: #cccccc;
color: #ffffff;
float: left;
width: 19%;
height: 30px;
text-align: center;
padding-top: 10px;
cursor: pointer;
}
.inputRow .submitButton:hover
{
background-color: chartreuse;
}