LOUIS SANNA commited on
Commit
d9ddc47
1 Parent(s): a50da00

format(css)

Browse files
Files changed (1) hide show
  1. style.css +138 -198
style.css CHANGED
@@ -1,276 +1,216 @@
1
-
2
- /* :root {
3
- --user-image: url('https://ih1.redbubble.net/image.4776899543.6215/st,small,507x507-pad,600x600,f8f8f8.jpg');
4
- } */
5
-
6
  .warning-box {
7
- background-color: #fff3cd;
8
- border: 1px solid #ffeeba;
9
- border-radius: 4px;
10
- padding: 15px 20px;
11
- font-size: 14px;
12
- color: #856404;
13
- display: inline-block;
14
- margin-bottom: 15px;
15
- }
16
-
17
 
18
  .tip-box {
19
- background-color: #f0f9ff;
20
- border: 1px solid #80d4fa;
21
- border-radius: 4px;
22
- margin-top:20px;
23
- padding: 15px 20px;
24
- font-size: 14px;
25
- display: inline-block;
26
- margin-bottom: 15px;
27
- width: auto;
28
- color:black !important;
29
  }
30
 
31
  body.dark .warning-box * {
32
- color:black !important;
33
  }
34
 
35
-
36
  body.dark .tip-box * {
37
- color:black !important;
38
  }
39
 
40
-
41
  .tip-box-title {
42
- font-weight: bold;
43
- font-size: 14px;
44
- margin-bottom: 5px;
45
  }
46
 
47
  .light-bulb {
48
- display: inline;
49
- margin-right: 5px;
50
  }
51
 
52
- .gr-box {border-color: #d6c37c}
53
-
54
- #hidden-message{
55
- display:none;
56
  }
57
 
58
- .message{
59
- font-size:14px !important;
60
  }
61
 
 
 
 
62
 
63
  a {
64
- text-decoration: none;
65
- color: inherit;
66
  }
67
 
68
  .card {
69
- background-color: white;
70
- border-radius: 10px;
71
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
72
- overflow: hidden;
73
- display: flex;
74
- flex-direction: column;
75
- margin:20px;
76
  }
77
 
78
  .card-content {
79
- padding: 20px;
80
  }
81
 
82
  .card-content h2 {
83
- font-size: 14px !important;
84
- font-weight: bold;
85
- margin-bottom: 10px;
86
- margin-top:0px !important;
87
- color:#dc2626!important;;
88
  }
89
 
90
  .card-content p {
91
- font-size: 12px;
92
- margin-bottom: 0;
93
  }
94
 
95
  .card-footer {
96
- background-color: #f4f4f4;
97
- font-size: 10px;
98
- padding: 10px;
99
- display: flex;
100
- justify-content: space-between;
101
- align-items: center;
102
  }
103
 
104
  .card-footer span {
105
- flex-grow: 1;
106
- text-align: left;
107
- color: #999 !important;
108
  }
109
 
110
  .pdf-link {
111
- display: inline-flex;
112
- align-items: center;
113
- margin-left: auto;
114
- text-decoration: none!important;
115
- font-size: 14px;
116
  }
117
 
118
-
119
-
120
- .message.user{
121
- /* background-color:#7494b0 !important; */
122
- border:none;
123
- /* color:white!important; */
124
- }
125
-
126
- .message.bot{
127
- /* background-color:#f2f2f7 !important; */
128
- border:none;
129
  }
130
 
131
- /* .gallery-item > div:hover{
132
- background-color:#7494b0 !important;
133
- color:white!important;
134
  }
135
 
136
- .gallery-item:hover{
137
- border:#7494b0 !important;
138
  }
139
 
140
- .gallery-item > div{
141
- background-color:white !important;
142
- color:#577b9b!important;
143
  }
144
 
145
- .label{
146
- color:#577b9b!important;
147
- } */
148
-
149
- /* .paginate{
150
- color:#577b9b!important;
151
- } */
152
-
153
-
154
-
155
- /* span[data-testid="block-info"]{
156
- background:none !important;
157
- color:#577b9b;
158
- } */
159
-
160
- /* Pseudo-element for the circularly cropped picture */
161
- /* .message.bot::before {
162
- content: '';
163
- position: absolute;
164
- top: -10px;
165
- left: -10px;
166
- width: 30px;
167
- height: 30px;
168
- background-image: var(--user-image);
169
- background-size: cover;
170
- background-position: center;
171
- border-radius: 50%;
172
- z-index: 10;
173
  }
174
- */
175
 
176
- label.selected{
177
- background:none !important;
178
- }
 
179
 
180
- #submit-button{
181
- padding:0px !important;
182
- }
 
183
 
 
 
 
 
184
 
185
- @media screen and (min-width: 1024px) {
186
- div#tab-examples{
187
- height:calc(100vh - 190px) !important;
188
- overflow-y: auto;
189
- }
190
-
191
- div#sources-textbox{
192
- height:calc(100vh - 190px) !important;
193
- overflow-y: auto;
194
- }
195
-
196
- div#chatbot-row{
197
- height:calc(100vh - 120px) !important;
198
- max-height: 1200px;
199
- }
200
-
201
- div#chatbot{
202
- height:calc(100vh - 220px) !important;
203
- max-height: 1200px;
204
- }
205
-
206
- .max-height{
207
- height:calc(100vh - 120px) !important;
208
- max-height: 1200px;
209
- overflow-y: auto;
210
- }
211
  }
212
 
213
  footer {
214
- visibility: hidden;
215
- display:none;
216
  }
217
 
218
-
219
  @media screen and (max-width: 767px) {
220
- /* Your mobile-specific styles go here */
221
-
222
- div#chatbot{
223
- height:500px !important;
224
- }
225
-
226
- #submit-button{
227
- padding:0px !important;
228
- min-width: 80px;
229
- }
230
-
231
- /* This will hide all list items */
232
- div.tab-nav button {
233
- display: none !important;
234
- }
235
-
236
- /* This will show only the first list item */
237
- div.tab-nav button:first-child {
238
- display: block !important;
239
- }
240
-
241
- /* This will show only the first list item */
242
- div.tab-nav button:nth-child(2) {
243
- display: block !important;
244
- }
245
-
246
- #right-panel button{
247
- display: block !important;
248
- }
249
-
250
- /* ... add other mobile-specific styles ... */
251
- }
252
 
 
 
 
 
253
 
254
- body.dark .card{
255
- background-color: #374151;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  }
257
 
258
- body.dark .card-content h2{
259
- color:#f4dbd3 !important;
 
 
 
 
260
  }
261
 
262
  body.dark .card-footer {
263
- background-color: #404652;
264
  }
265
 
266
  body.dark .card-footer span {
267
- color:white !important;
268
  }
269
 
270
-
271
- .doc-ref{
272
- color:#dc2626!important;
273
- margin-right:1px;
274
  }
275
-
276
-
 
 
 
 
 
 
1
  .warning-box {
2
+ background-color: #fff3cd;
3
+ border: 1px solid #ffeeba;
4
+ border-radius: 4px;
5
+ padding: 15px 20px;
6
+ font-size: 14px;
7
+ color: #856404;
8
+ display: inline-block;
9
+ margin-bottom: 15px;
10
+ }
 
11
 
12
  .tip-box {
13
+ background-color: #f0f9ff;
14
+ border: 1px solid #80d4fa;
15
+ border-radius: 4px;
16
+ margin-top: 20px;
17
+ padding: 15px 20px;
18
+ font-size: 14px;
19
+ display: inline-block;
20
+ margin-bottom: 15px;
21
+ width: auto;
22
+ color: black !important;
23
  }
24
 
25
  body.dark .warning-box * {
26
+ color: black !important;
27
  }
28
 
 
29
  body.dark .tip-box * {
30
+ color: black !important;
31
  }
32
 
 
33
  .tip-box-title {
34
+ font-weight: bold;
35
+ font-size: 14px;
36
+ margin-bottom: 5px;
37
  }
38
 
39
  .light-bulb {
40
+ display: inline;
41
+ margin-right: 5px;
42
  }
43
 
44
+ .gr-box {
45
+ border-color: #d6c37c;
 
 
46
  }
47
 
48
+ #hidden-message {
49
+ display: none;
50
  }
51
 
52
+ .message {
53
+ font-size: 14px !important;
54
+ }
55
 
56
  a {
57
+ text-decoration: none;
58
+ color: inherit;
59
  }
60
 
61
  .card {
62
+ background-color: white;
63
+ border-radius: 10px;
64
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
65
+ overflow: hidden;
66
+ display: flex;
67
+ flex-direction: column;
68
+ margin: 20px;
69
  }
70
 
71
  .card-content {
72
+ padding: 20px;
73
  }
74
 
75
  .card-content h2 {
76
+ font-size: 14px !important;
77
+ font-weight: bold;
78
+ margin-bottom: 10px;
79
+ margin-top: 0px !important;
80
+ color: #dc2626 !important;
81
  }
82
 
83
  .card-content p {
84
+ font-size: 12px;
85
+ margin-bottom: 0;
86
  }
87
 
88
  .card-footer {
89
+ background-color: #f4f4f4;
90
+ font-size: 10px;
91
+ padding: 10px;
92
+ display: flex;
93
+ justify-content: space-between;
94
+ align-items: center;
95
  }
96
 
97
  .card-footer span {
98
+ flex-grow: 1;
99
+ text-align: left;
100
+ color: #999 !important;
101
  }
102
 
103
  .pdf-link {
104
+ display: inline-flex;
105
+ align-items: center;
106
+ margin-left: auto;
107
+ text-decoration: none !important;
108
+ font-size: 14px;
109
  }
110
 
111
+ .message.user {
112
+ /* background-color:#7494b0 !important; */
113
+ border: none;
114
+ /* color:white!important; */
 
 
 
 
 
 
 
115
  }
116
 
117
+ .message.bot {
118
+ /* background-color:#f2f2f7 !important; */
119
+ border: none;
120
  }
121
 
122
+ label.selected {
123
+ background: none !important;
124
  }
125
 
126
+ #submit-button {
127
+ padding: 0px !important;
 
128
  }
129
 
130
+ @media screen and (min-width: 1024px) {
131
+ div#tab-examples {
132
+ height: calc(100vh - 190px) !important;
133
+ overflow-y: auto;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
  }
 
135
 
136
+ div#sources-textbox {
137
+ height: calc(100vh - 190px) !important;
138
+ overflow-y: auto;
139
+ }
140
 
141
+ div#chatbot-row {
142
+ height: calc(100vh - 120px) !important;
143
+ max-height: 1200px;
144
+ }
145
 
146
+ div#chatbot {
147
+ height: calc(100vh - 220px) !important;
148
+ max-height: 1200px;
149
+ }
150
 
151
+ .max-height {
152
+ height: calc(100vh - 120px) !important;
153
+ max-height: 1200px;
154
+ overflow-y: auto;
155
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  }
157
 
158
  footer {
159
+ visibility: hidden;
160
+ display: none;
161
  }
162
 
 
163
  @media screen and (max-width: 767px) {
164
+ /* Your mobile-specific styles go here */
165
+
166
+ div#chatbot {
167
+ height: 500px !important;
168
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
 
170
+ #submit-button {
171
+ padding: 0px !important;
172
+ min-width: 80px;
173
+ }
174
 
175
+ /* This will hide all list items */
176
+ div.tab-nav button {
177
+ display: none !important;
178
+ }
179
+
180
+ /* This will show only the first list item */
181
+ div.tab-nav button:first-child {
182
+ display: block !important;
183
+ }
184
+
185
+ /* This will show only the first list item */
186
+ div.tab-nav button:nth-child(2) {
187
+ display: block !important;
188
+ }
189
+
190
+ #right-panel button {
191
+ display: block !important;
192
+ }
193
+
194
+ /* ... add other mobile-specific styles ... */
195
  }
196
 
197
+ body.dark .card {
198
+ background-color: #374151;
199
+ }
200
+
201
+ body.dark .card-content h2 {
202
+ color: #f4dbd3 !important;
203
  }
204
 
205
  body.dark .card-footer {
206
+ background-color: #404652;
207
  }
208
 
209
  body.dark .card-footer span {
210
+ color: white !important;
211
  }
212
 
213
+ .doc-ref {
214
+ color: #dc2626 !important;
215
+ margin-right: 1px;
 
216
  }