-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.css
165 lines (133 loc) · 3.49 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
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
body {
min-height: 100vh;
&.rag, .rag .card-img-top {
background: rgb(220,139,110);
background: linear-gradient(0deg, rgba(220,139,110,1) 0%, rgba(244,233,115,1) 100%);
}
&.youtube, .youtube .card-img-top {
background: rgb(34,34,34);
background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgb(71, 71, 71) 100%);
}
&.wikipedia, .wikipedia .card-img-top {
background: url('/wiki.png') no-repeat right 50px bottom 50px fixed, linear-gradient(0deg, rgb(246, 246, 246) 0%, rgb(197, 197, 197) 100%);
}
footer, footer a {
color: #6c757d;
}
}
.index {
.card-img-top {
text-align: center;
.youtube & {
color: #ff0000;
}
}
}
.chat {
.card {
border: 1px solid #bcbcbc;
background-color: rgba(250, 250, 250, 0.9);
}
.card-header {
background: #efefef;
svg {
margin-top: -2px;
}
}
.card-body {
height: 700px;
.wikipedia & {
background-image: linear-gradient(135deg, #f2f2f2 16.67%, #ebebeb 16.67%, #ebebeb 50%, #f2f2f2 50%, #f2f2f2 66.67%, #ebebeb 66.67%, #ebebeb 100%);
background-size: 21.21px 21.21px;
}
.user-message {
border-radius: 10px 10px 0 10px;
color: #292929;
.rag & {
background: #f4e973;
}
.youtube & {
background: #3e2926;
color: #fafafa;
}
.wikipedia & {
background: #ffffff;
}
}
.bot-message {
border-radius: 10px 10px 10px 0;
.rag & {
background: #dc8b6e;
a {
color: #f4e973;
}
}
.youtube & {
background: #df3535;
a {
color: #3e2926;
}
}
.wikipedia & {
background: #ffffff;
color: #292929 !important;
}
color: #fff;
p {
margin-bottom: 0;
}
}
.avatar {
width: 50px;
height: 50px;
border: 2px solid white;
.rag &.bot {
outline: 1px solid #ffdacc;
background: #ffdacc;
}
.rag &.user {
outline: 1px solid #fffad1;
background: #fffad1;
}
.youtube &.bot {
outline: 1px solid #ffcccc;
background: #ffcccc;
}
.youtube &.user {
outline: 1px solid #9e8282;
background: #9e8282;
}
.wikipedia &.bot, .wikipedia &.user {
outline: 1px solid #eaeaea;
background: #eaeaea;
}
}
}
.card-footer {
background: #efefef;
input:focus {
outline: none !important;
box-shadow: none !important;
}
}
#welcome {
h4 {
.rag & {
color: #f97b62;
}
.youtube & {
color: #ff0000;
}
}
}
#chat-reset, #chat-submit {
.rag &:hover {
background: #f97b62;
border-color: #f97b62;
}
.youtube &:hover {
background: #ff0000;
border-color: #ff0000;
}
}
}