forked from aorti017/CS180-Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
messageDesign.css
103 lines (94 loc) · 1.89 KB
/
messageDesign.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
body {
background: url('http://3.bp.blogspot.com/-JgkeAcF2gz8/UiAblbCTg_I/AAAAAAAAKRU/8T-B0Jc2aQs/s1600/Background-Web3.jpg') no-repeat fixed center center;
background-size: cover;
font-family: Montserrat;
}
.bubbleFrom {
position:relative;
width: 90%;
padding: 5px;
margin-bottom: 2px;
background-color: #999999;
color: #FFFFFF;
font: normal 12px "Segoe UI", Arial, Sans-serif;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
border: 10px solid #999999;
float: left;
}
.bubbleFrom p {
font-size: 1.25em;
}
.bubbleFrom:after {
content: "\0020";
display:block;
position:absolute;
top:-20px;
left:20px;
z-index:2;
width: 0;
height: 0;
overflow:hidden;
border-top: 0;
border-bottom-color:#FFF;
}
.bubbleTo {
position:relative;
width: 90%;
padding: 5px;
margin-bottom: 2px;
background-color: #337AB7;
color: #FFFFFF;
font: normal 12px "Segoe UI", Arial, Sans-serif;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
border: 10px solid #337AB7;
float: right;
}
.bubbleTo p {
font-size: 1.25em;
}
.bubbleTo:after {
content: "\0020";
display:block;
position:absolute;
top:-20px;
left:20px;
z-index:2;
width: 0;
height: 0;
overflow:hidden;
border-top: 0;
border-bottom-color:#FFF;
}
.sendMessageDiv {
display: inline-block;
position: relative;
float: left;
width: 100%;
}
.sendMessage {
display: block;
}
#messageContainer {
height: 500px;
overflow-y: auto;
word-wrap: break-word;
}
.messageWrapper {
background-color: #F2F2F2;
margin: 0px 25% 0px 25%;
}
#createText {
color: #FFFFFF;
}
#currentFriend {
color: #FFFFFF;
font-size: 16px;
}
#currentFriendWrapper {
text-align: center;
margin-bottom: 10px;
}