forked from Azure-Samples/genai-gateway-apim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
118 lines (99 loc) · 1.74 KB
/
app.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
body {
font-family: sans-serif;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
.logo {
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
font-family: sans-serif;
font-weight: bold;
}
.logo > .description {
color: lightgrey;
font-weight: 200;
margin-top: -10px;
}
.textarea {
width: 100%;
}
.input {
width: 80%;
position: relative;
height: 80px;
margin-bottom: 50px;
}
.input > textarea {
position: relative;
height: 100%;
border: none;
border-radius: 4px;
box-shadow: 0px 3px 10px grey;
padding: 5px;
background: white;
overflow: hidden;
}
.input > svg {
position: absolute;
bottom: 5px;
right: 10px;
width: 15px;
height: 15px;
}
.input > svg > image {
width: 15px;
height: 15px;
}
.input > span {
position: absolute;
bottom: -12px;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(to right, rgba(0, 128, 0, 0.5), rgba(0, 0, 255, 0.5));
}
.chat-text {
font-size: 24px; /* Adjust size as needed */
color: black;
text-align: center;
}
#responseArea {
width: 80%;
height: 250px;
border-radius: 4px;
padding: 10px;
overflow-y: auto;
position: absolute;
bottom: 150px;
}
.message {
display: flex;
justify-content: flex-start;
margin-bottom: 10px;
border-radius: 5px;
margin-bottom: 15px;
box-shadow: 0px 3px 10px grey;
}
.message.user {
display: flex;
justify-content: flex-start;
/* box shadow */
padding: 5px;
background: white;
}
.message.server {
display: flex;
justify-content: flex-end;
/* box shadow */
padding: 5px;
/* light grey */
background: lightgrey;
}