-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
226 lines (180 loc) · 3.57 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
* {
margin: 0;
padding: 0;
font-family: sans-serif;
box-sizing: border-box;
font-weight: 100;
}
body {
background: rgb(39, 119, 180);
}
.chatbox {
width: 500px;
min-width: 390px;
height: 600px;
background: white;
padding: 25px;
margin: 0px auto 0px auto;
box-shadow: 0 3px #ccc;
}
.chatlogs {
padding: 10px;
width: 100%;
height: 100%;
overflow-x: hidden;
overflow-y: scroll;
}
/*Styling the scrolllbar*/
.chatlogs::-webkit-scrollbar{
width: 10px;
}
.chatlogs::-webkit-scrollbar-thumb{
border-radius: 5px;
background: rgba(0, 0, 0, .1);
}
.chat {
display: flex;
flex-flow: row wrap;
align-items: flex-start;
margin-bottom: 10px;
}
.user-photo img{
background-color: rgb(39, 119, 180);
padding: 8px;
width: 100%;
}
.chat .chat-message {
padding: 15px;
margin: 5px 10px 0;
font-size: 18px;
}
.user-photo {
width: 60px;
height: 60px;
background: #ccc;
border-radius: 50%;
overflow: hidden;
}
.friend .chat-message {
color: black;
width: auto;
max-width: 70%;
background: rgb(229, 229, 234);
border-radius: 20px 20px 20px 0;
}
.self .chat-message {
color: white;
max-width: 80%;
width: auto;
margin: 5px 0 5px auto;
border-radius: 20px 20px 0px 20px;
background: rgb(64, 172, 246);
overflow-wrap: break-word;
}
.headerBar{
font-size: 25px;
color: white;
padding: 25px;
width: 500px;
min-width: 390px;
display: flex;
flex-flow: row wrap;
align-items: flex-start;
margin: 20px auto 0px auto;
background: rgb(226, 118, 30);
border-radius: 10px 10px 0px 0px;
}
.headerBar .title {
margin: auto 20px;
}
.headerBar .user-photo {
margin: 0px 0px 0px 10px;
}
.headerBar .user-photo img{
width: 100%;
}
.chat-form {
margin: 0px auto 0px auto;
display: flex;
width: 500px;
min-width: 390px;
align-items: flex-start;
overflow: auto;
background: rgb(244, 243, 244);
border-radius: 0 0 10px 10px;
border-top: 5px solid rgb(212, 212, 212);
}
#inputDiv {
width: 75%;
margin-right: 15px;
}
.chat-form textarea {
padding: 5px 5px 5px 15px;
background: #fbfbfb;
width: 100%;
min-height: 5px;
border: 2px solid lightblue;
border-radius: 20px;
resize: none;
font-size: 18px;
color: #000;
margin: 15px 0px 15px 10px;
display:block;
overflow:hidden;
box-shadow: none;
outline: none;
}
.chat-form textarea:focus {
background: #fff;
}
#chat-form-buttons {
margin: auto;
}
/* Old Orange button for speaking, now we have an icon of a microphone*/
/*.chat-form button {
height: 65px;
background: rgba(255, 153, 0, .7);;
padding: 5px 15px;
font-size: 30px;
color: white;
border: none;
margin: 0 10px;
border-radius: 3px;
box-shadow: 0 3px 0 rgba(255, 153, 0, .7);;
cursor: pointer;
}*/
.chat-form button:hover{
background: rgb(255, 153, 0);
}
.gif img {
margin: 10px;
border-radius: 20px;
}
.buttonResponse {
color: white;
max-width: 80%;
width: fit-content;
margin: 5px 0 5px auto;
border-radius: 20px 20px 0px 20px;
background: rgb(64, 172, 246);
overflow-wrap: break-word;
font-size: 18px;
padding: 10px;
margin: 20px 5px;
float: left;
}
.buttonResponse:hover{
background: rgb(100, 200, 255);
}
#switchInputType{
max-width: 40px;
max-height: 40px;
}
#rec {
max-width: 40px;
max-height: 40px;
}
#buttonDiv {
margin: 0 auto;
width: inherit;
}