-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
124 lines (108 loc) · 1.95 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
@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,700);
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);
html, body, input.textarea {
font-family: 'Roboto', Helvetica, Arial, sans-serif;
color: #777;
margin: 0px auto;
}
.container-root {
display: flex;
align-items: flex-start;
}
.container {
width: 50%;
display: flex;
flex-direction: column;
}
.chat {
list-style: none;
background: none;
margin: 0;
padding: 0 0 50px 0;
margin-top: 10px;
margin-bottom: 10px;
}
.chat li {
padding: 0.5rem;
overflow: hidden;
display: flex;
}
.self .msg {
border-top-left-radius: 0px;
}
.self:before {
content: "";
position: relative;
top: 0px;
right: 0px;
width: 0px;
height: 0px;
border: 5px solid rgba(0, 0, 0, .04);
border-left-color: transparent;
border-bottom-color: transparent;
}
.other {
justify-content: flex-end;
align-items: flex-end;
}
.other .msg {
background: #208bf5;
border-bottom-right-radius: 0px;
}
.other .msg p {
color: #fff;
}
.other:after {
content: "";
position: relative;
display: inline-block;
right: 0px;
width: 0px;
height: 0px;
border: 5px solid #208bf5;
border-right-color: transparent;
border-top-color: transparent;
}
.msg {
background: rgba(0, 0, 0, .03);
max-width: 70%;
padding: 10px;
border-radius: 20px;
word-wrap: break-word;
}
.msg p {
font-size: 0.9rem;
margin: 0 0 0.2rem 0;
color: #777;
}
.json-response {
position: fixed;
margin-left: 20px;
}
input.textarea {
font-size: 0.9rem;
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
width: 90%;
height: 50px;
z-index: 99;
outline: none;
padding-left: 55px;
padding-right: 55px;
}
#rec {
position: fixed;
display: inline-block;
bottom: 8px;
right: 25px;
width: 35px;
height: 40px;
z-index: 100;
cursor: pointer;
background-color: lightgray;
border: none;
border-radius: 10px;
outline: none;
}