-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylel.css
186 lines (184 loc) · 3.46 KB
/
stylel.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
*{
margin: 0;
padding: 0;
font-family: 'Redressed', cursive;
}
.header{
min-height: 100vh;
width: 100%;
background-image: url(img/gehu.png);
background-position: center ;
background-size: cover;
position: absolute;
overflow-y: auto;
}
.chat-box{
padding: 20px 20px;
text-align: center;
border: 5px solid #ccc;
width: 50%;
margin: 15px auto auto auto;
top: 10%;
left: 20%;
right: 20%;
}
.chat-box img{
width: 100px ;
}
.chat-box .typing{
display: flex;
padding: 18px 30px;
}
.typing input{
height: 45px;
width: calc(100% - 58px);
font-size: 17px;
border: 1px solid #ccc;
padding: 0 13px;
border-radius: 5px 0 0 5px;
outline: none;
}
.typing button{
width: 55px;
border: none;
outline: none;
background: #333;
color: #fff;
font-size: 19px;
cursor: pointer;
border-radius: 0 5px 5px 0;
}
.chat-box h4{
box-sizing: border-box;
height: 52px;
padding: 10px;
padding-bottom: 10px;
border-radius: 5px;
background: #f7f7f7;
}
.box p{
box-sizing: border-box;
border-radius: 5px;
padding: 10px;
font-size: 15px;
background: #fff;
}
.bot-box{
padding: 18px 30px;
max-height: 300px;
overflow: auto;
overflow-y: auto;
background: #f7f7f7;
padding: 10px 30px 20px 30px;
}
.bot-box .chat_outgoing{
margin: 15px 0;
}
.bot-box .chat_incoming{
margin: 15px 0;
}
.bot-box .chat_outgoing p{
word-wrap: break-word;
padding: 8px 16px;
}
.bot-box .chat_incoming p{
word-wrap: break-word;
padding: 8px 16px;
}
.bot-box li.outgoing{
display: block;
}
.msg_title_me{
text-align: right;
}
.msg_title_bot{
text-align: left;
}
.outgoing .details_out{
margin-left: auto;
float: right;
display: block;
max-width: calc(100%-130px);
}
.pera{
max-width: 80%;
background: #ffb6c1;
float: right;
font-size: 15px;
color: #333;
border-radius: 18px 18px 0 18px;
}
.bot-box .incoming img{
height: 40px;
width: 40px;
}
#b_img{
display: block;
}
.bot-box li.incoming{
display: block;
}
.incoming .details_in{
display: block;
float: left;
margin-right: auto;
max-width: calc(100%-130px);
}
.pera_b{
width: max-content;
max-width: 60%;
background: #add8e6;
text-align: left;
font-size: 15px;
color: #333;
border-radius: 18px 18px 18px 0;
}
@media (max-width: 700px)
{
.chat-box {
position: fixed;
display: flex;
overflow-y: auto;
flex-direction: column;
flex-wrap: wrap;
}
.chat-box img{
width: 60px ;
height: 60px;
}
.chat-box .typing{
display: flex;
}
.typing input{
font-size: 11px;
height: 30px;
display: flex;
}
.typing button{
font-size: 11px;
height: 32px;
width: 40px;
}
.chat-box h4{
font-size: 11px;
display: flex;
text-align: justify;
}
.outgoing .details_out p{
font-size: 11px;
}
.incoming .details_in p{
font-size: 11px;
}
.bot-box{
margin-top: 10px;
height: 150px;
width: auto;
overflow-y: auto;
text-align: justify;
position: relative;
}
h5 .msg_title{
font-size: 13px;
}
}