-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (100 loc) · 1.83 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#messages
{
min-height: 540px;
height:540px;
width:80%;
overflow: scroll;
background-color: #eeffff;
padding: 20px;
border:2px solid #999999;
border-radius: 5px;
text-align: left;
float: left;
}
#sidebar
{
min-height: 540px;
height:540px;
width:20%;
overflow: scroll;
background-color: #eeffff;
padding: 20px;
border:2px solid #999999;
border-radius: 5px;
text-align: left;
}
#chatbox
{
height:45px;
min-height: 45px;
background-color: #f5f5f5;
border:2px solid #999999;
border-radius: 5px;
}
#chatform
{
display: inline-block;
}
#newchat
{
width: 90%;
height:40px;
float: left;
}
#sendchat
{
width: 10%;
height: 40px;
float: right;
}
.clear-both
{
clear: both;
}
body
{
background-color: #eee;
}
/*.chat {
width: 400px;
}
*/
.bubble{
background-color: #F2F2F2;
border-radius: 5px;
box-shadow: 0 0 6px #B2B2B2;
display: inline-block;
padding: 10px 18px;
position: relative;
vertical-align: top;
}
.bubble::before {
background-color: #F2F2F2;
content: "\00a0";
display: block;
height: 16px;
position: absolute;
top: 11px;
transform: rotate( 29deg ) skew( -35deg );
-moz-transform: rotate( 29deg ) skew( -35deg );
-ms-transform: rotate( 29deg ) skew( -35deg );
-o-transform: rotate( 29deg ) skew( -35deg );
-webkit-transform: rotate( 29deg ) skew( -35deg );
width: 20px;
}
.me {
float: left;
margin: 5px 45px 5px 20px;
}
.me::before {
box-shadow: -2px 2px 2px 0 rgba( 178, 178, 178, .4 );
left: -9px;
}
.you {
float: right;
margin: 5px 20px 5px 45px;
}
.you::before {
box-shadow: 2px -2px 2px 0 rgba( 178, 178, 178, .4 );
right: -9px;
}