File size: 3,732 Bytes
6e6dab9
 
 
 
 
 
c00fa7c
 
 
 
d35920f
 
 
 
 
 
 
404b568
f1bcc11
 
404b568
 
e287906
 
 
 
 
 
d35920f
 
e287906
d35920f
 
 
 
 
 
e287906
 
 
 
 
 
 
 
 
d35920f
 
c60e6fd
 
666948d
404b568
c60e6fd
666948d
c60e6fd
 
 
f1bcc11
 
c60e6fd
 
f1bcc11
c60e6fd
 
 
f1bcc11
 
c60e6fd
 
 
 
 
 
f1bcc11
 
404b568
 
666948d
c00fa7c
c60e6fd
f1bcc11
 
404b568
c00fa7c
 
6e6dab9
 
 
 
 
c00fa7c
6e6dab9
 
 
 
 
 
 
 
 
 
 
 
c60e6fd
 
b9716d2
6e6dab9
 
 
a53437c
c60e6fd
6e6dab9
 
 
7dd081a
9136fd8
 
 
f2868f6
6e6dab9
ac03bb3
a2d6a63
 
 
 
 
 
 
 
 
 
 
c98264e
d1f0f2d
 
 
 
4006506
 
 
 
 
 
 
 
 
c98264e
 
0613e49
c98264e
 
0613e49
c98264e
 
0613e49
c98264e
 
 
 
 
 
c5c7ecf
 
 
404b568
c5c7ecf
 
65e47ec
 
 
 
 
 
c5c7ecf
 
404b568
ca2abb2
 
 
 
 
 
 
 
 
 
d0dbaf7
 
 
 
 
 
 
4e3aa93
d0dbaf7
 
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
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
}

.container {
    max-width: 100vw;
}

/* Adaptation for mobile */
@media (min-width: 900px) {
    .container {
        max-width: 900px;
    }
}

body {
    /* background-image: linear-gradient(90deg, #eef3ff, #ecf1ff); */
    background-color: #ecf1ff;
}

#main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#top-toolbar {
    background-color: #e9efff;
    flex: 0 0 auto;
}

#chat-session-container {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0px;
    flex: 1 1 auto;
}

#user-interactions {
    box-shadow: 0px 2px 8px 0px rgba(122, 122, 122, 0.4);
    /* background-image: linear-gradient(-45deg, #eef3ff, #e9efff); */
    background-color: #e9efff;
    border-radius: 10px;
    flex: 0 0 auto;
}

.message-user,
.message-assistant {
    box-shadow: 0px 0px 6px 0px rgba(122, 122, 122, 0.5);
    border-radius: 5px;
    padding: 5px 0px 5px 0px;
    margin: 0px 0px 8px 0px;
}

.message-user {
    /* background-image: linear-gradient(-45deg, #f6f8fe, #e9efff); */
    background-color: #e9fbff;
}
.message-user .role-displayer {
    color: #0f74da;
}

.message-assistant {
    /* background-image: linear-gradient(-45deg, #f4f6fe, #ecedff); */
    background-color: #ecedff;
}
.message-assistant .role-displayer {
    color: #d03afe;
}

.inferring {
    /* background-image: linear-gradient(-45deg, #f6f8fe, #fff5e5); */
    background-color: #fff5e5;
}

#chat-agents-sidebar,
#chat-history-sidebar {
    box-shadow: 0px 0px 8px 0px rgba(122, 122, 122, 0.4);
    /* background-image: linear-gradient(-45deg, #eef3ff, #e9efff); */
    background-color: rgba(233, 239, 255, 0.6);
    border-width: 0px;
}

.available-model-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.available-model-item:hover {
    background-color: #dbedff;
    cursor: pointer;
}

#user-input {
    resize: none;
    max-height: 500px;
}

.chat-user {
    color: black;
    /* border: lightgray 1px solid; */
    /* background-color: #eafaf1; */
    white-space: pre-wrap;
}

.chat-assistant {
    /* color: blue; */
    /* border: lightgray 1px solid; */
}

#available-models-select {
    max-width: calc(100vw - 200px);
}

#temperature-select {
    max-width: 75px;
}

.message-viewer .edit-button,
.message-viewer .copy-button,
.message-viewer .regenerate-button {
    display: none;
}

.message-viewer:hover .edit-button,
.message-viewer:hover .copy-button,
.message-viewer:hover .regenerate-button {
    display: inline-block;
}

.message-viewer * {
    margin-bottom: 0;
}

/* https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/ */
.message-viewer .role-displayer,
.message-viewer .content-displayer {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

@keyframes blink {
    0% {
        background-color: transparent;
    }
    50% {
        background-color: antiquewhite;
    }
    100% {
        background-color: transparent;
    }
}

.blinking {
    animation: blink 2s infinite;
}

.fa:hover {
    color: lightsalmon;
    transform: scale(1.25);
}

.fa-small {
    font-size: small;
    margin: 0;
    padding: 0;
}

.icon-success {
    color: green;
}

.fa-spin-fast {
    animation: fa-spin 0.6s infinite linear;
    color: orange;
}

.fa-fade-fast {
    animation: fa-fade 1.5s infinite linear;
    color: orange;
}

.explicit-button {
    background-color: #e9efff;
    border-width: 1px;
    box-shadow: 0px 0px 6px 0px rgba(122, 122, 122, 0.4);
}
.explicit-button:hover {
    background-color: rgb(252, 231, 223);
    font-weight: bold;
}