-
Notifications
You must be signed in to change notification settings - Fork 20
/
chat_display.css
120 lines (107 loc) · 1.98 KB
/
chat_display.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
110
111
112
113
114
115
116
117
118
119
120
h1 {
font-family: 'Roboto', sans-serif;
}
h2 {
font-family: 'Roboto', sans-serif;
text-align: center;
}
button {
margin-top: 10px;
margin-left: 5%;
}
body {
margin: 0;
}
p, label {
font-family: sans-serif;
}
#head {
background-color: #3b5998;
background-size:100%;
color: white;
font-size: 15px;
padding: 2.5px;
}
#file-select {
padding-top: 10px;
padding-bottom: 10px;
margin-left: 5%;
}
#chat-display {
border-top: solid;
border-color: lightgrey;
border-width: 1px;
padding: 10px;
margin-top: 1%;
margin-left: 5%;
margin-right: 5%;
}
#participants-radio {
margin-left: 5%
}
.message-container {
position: relative;
overflow:auto;
}
.message-container .tooltip-right {
font-family: sans-serif;
visibility: hidden;
width: auto;
background-color: rgba(0,0,0,0.7);
color: #fff;
text-align: center;
padding: 5px 10px;
border-radius: 6px;
position: absolute;
z-index: 1;
right: 40%;
}
.message-container .tooltip-left {
font-family: sans-serif;
visibility: hidden;
width: auto;
background-color: rgba(0,0,0,0.7);
color: #fff;
text-align: center;
padding: 5px 10px;
border-radius: 6px;
position: absolute;
z-index: 1;
left: 40%
}
.message-container:hover .tooltip-left {
visibility: visible;
}
.message-container:hover .tooltip-right {
visibility: visible;
}
.bubble-right {
font-family: sans-serif;
background-color:#0084FF;
border-radius: 10px;
color: white;
text-align: right;
padding: 10px;
width:45%;
float: right;
}
.name-right{
font-family: sans-serif;
color: #484848;
text-align: right;
}
.bubble-left {
font-family: sans-serif;
background-color:#F1F0F0;
border-radius: 10px;
color: black;
text-align: left;
padding: 10px;
float: left;
width: 45%;
}
.name-left{
font-family: sans-serif;
color: #484848;
text-align: left;
}