jiayong commited on
Commit
eaa4f99
1 Parent(s): 521aa2c

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +117 -120
style.css CHANGED
@@ -6,34 +6,31 @@
6
  font-family: Georgia, 'Times New Roman', Times, serif;
7
  }
8
 
9
- /* 版面最上面的大log图像*/
10
- .gradio-container-3-47-1 .prose * {
11
  color: var(--body-text-color);
12
  display: block;
13
- margin: 0 auto; /*居中*/
14
- width: 100%; /* 使得图片宽度响应式地适应容器宽度 */
15
- height: auto; /* 保持图片的原始长宽比 */
16
- object-fit: contain;/* 保持图片的长宽比并使其完全适应容器 */
17
- /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
18
- border-radius: 20px; */
19
  }
20
 
21
- #show_box3 {
22
- border-style: solid;
23
- overflow: visible;
24
- min-width: min(0px, 100%);
25
- border-width: var(--block-border-width);
26
- border-top-width: 1px !important;
27
- border-right-width: 1px !important;
28
- border-bottom-width: 1px !important;
29
- border-left-width: 1px !important;
30
- border-color: #9900ff !important;
31
- display: flex;
32
- flex-direction: row;
33
- flex-wrap: nowrap;
 
34
  }
35
 
36
- /* 背景颜色设置白色/刷新button/markdown字体 */
37
  .gap.svelte-vt1mxs {
38
  gap: var(--layout-gap);
39
  background: #fff;
@@ -45,7 +42,7 @@
45
  color: white !important;
46
  border-radius: 3px !important;
47
  }
48
- /*刷新button1*/
49
  #button_param1 {
50
  flex-grow: unset;
51
  flex-shrink: unset;
@@ -53,19 +50,19 @@
53
  margin: auto;
54
  width: unset;
55
  padding: unset;
56
- box-shadow:unset;
 
57
  }
58
 
59
-
60
- /* 左侧输入图像显示框 */
61
  #show_window_image {
62
  border-color: #9d9d9d !important;
63
  box-shadow: 0 3px 5px rgba(159, 159, 159, 0.5);
64
  align-items: center !important;
65
  height: 245px !important;
 
 
66
  }
67
 
68
- /* 左侧输入模板视频显示框 */
69
  #show_window_video {
70
  border-color: #909090 !important;
71
  box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
@@ -73,8 +70,6 @@
73
  height: 245px !important;
74
  }
75
 
76
-
77
- /* 左侧图像example列表/模板视频dataset列表/选择框边框蓝色 */
78
  .gallery.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
79
  display: flex;
80
  flex-wrap: wrap;
@@ -88,7 +83,6 @@
88
  width: 220px !important;
89
  }
90
 
91
- /* 右侧examples横向居中 */
92
  .hide-container.svelte-90oupt {
93
  margin: 0;
94
  box-shadow: none;
@@ -101,21 +95,19 @@
101
  align-content: space-around;
102
  }
103
 
104
- /* 单个图片examples缩略图 */
105
- .gallery.svelte-gqt00k {
106
- border: 0px solid var(--border-color-primary);
107
  width: 70px;
108
  height: 80px;
 
109
  }
110
- /* 单个视频examples缩略图 */
111
- .gallery.svelte-1tntsc1 {
112
- border: 0px solid var(--border-color-primary);
113
- /* max-height: var(--size-20); */
114
- /* object-fit: cover; */
115
  width: 70px;
116
  height: 95px;
 
 
117
  }
118
- /*tab宽度*/
119
  .tab-nav.svelte-kqij2n {
120
  display: flex;
121
  position: relative;
@@ -123,10 +115,8 @@
123
  border-bottom: 1px solid var(--border-color-primary);
124
  }
125
 
126
- /* 图像example列表顶部的label条部分 */
127
  .label.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
128
  display: none !important;
129
- /*label隐藏*/
130
  align-items: center;
131
  margin-bottom: var(--size-2);
132
  color: var(--block-label-text-color);
@@ -147,21 +137,6 @@
147
  font-size: var(--text-sm);
148
  }
149
 
150
-
151
-
152
- .gallery.svelte-gqt00k {
153
- /* border: 2px solid var(--border-color-primary); */
154
- /* max-height: var(--size-20); */
155
- object-fit: contain;
156
- }
157
-
158
-
159
- .gallery.svelte-1tntsc1 {
160
- /* max-height: var(--size-20); */
161
- object-fit: contain;
162
- }
163
-
164
- /* 左侧侧图片显示框边框蓝色 */
165
  .flex.svelte-116rqfv {
166
  display: flex;
167
  justify-content: center;
@@ -173,8 +148,16 @@
173
  border-color: #b6b6b7 !important;
174
  }
175
 
176
- /* 右侧结果视频显示框 */
177
  .show_window_result {
 
 
 
 
 
 
 
 
 
178
  border-color: #fbfbfd;
179
  box-shadow: 0 3px 5px rgba(252, 251, 252, 0.5);
180
  /* align-items: center !important; */
@@ -184,7 +167,6 @@
184
  margin: 1px !important;
185
  }
186
 
187
- /* 最下面视频显示框 */
188
  #show_box {
189
  border-style: solid;
190
  overflow: visible;
@@ -195,9 +177,9 @@
195
  border-bottom-width: 1px !important;
196
  border-left-width: 1px !important;
197
  border-color: #9900ff !important;
 
198
  /* width: 547px !important; */
199
  }
200
- /* 最下面视频显示框 */
201
  #show_box1 {
202
  border-style: solid;
203
  overflow: visible;
@@ -207,10 +189,10 @@
207
  border-right-width: 1px !important;
208
  border-bottom-width: 1px !important;
209
  border-left-width: 1px !important;
210
- border-color: #e0dede !important;
 
211
  /* width: 547px !important; */
212
  }
213
- /* 最下面视频显示框 */
214
  #show_box2 {
215
  border-style: solid;
216
  overflow: visible;
@@ -223,14 +205,36 @@
223
  border-color: #9900ff !important;
224
  /* width: 547px !important; */
225
  /* height: min(618.48px, 100%) !important; */
226
- min-height: min(618.48px,100%);
 
227
  /* margin: 0 auto !important; */
228
  display: flex;
229
  flex-wrap: wrap;
230
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
231
  }
232
 
233
- /* 右侧视频显示框边框蓝色 */
234
  .empty.svelte-lk9eg8 {
235
  display: flex;
236
  justify-content: center;
@@ -244,7 +248,6 @@
244
  border-color: #c4c3c4 !important;
245
  }
246
 
247
- /* Textbox边框color设置 */
248
  .container.svelte-1f354aw>input.svelte-1f354aw,
249
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
250
  /* border: var(--input-border-width) solid var(--input-border-color); */
@@ -259,7 +262,6 @@
259
  /* width: 477px!important; */
260
  }
261
 
262
- /* Textbox边框padding设置 */
263
  div.svelte-sfqy0y .block {
264
  box-shadow: none !important;
265
  border-width: 0px !important;
@@ -267,7 +269,6 @@ div.svelte-sfqy0y .block {
267
  padding: 0px !important;
268
  }
269
 
270
- /* 右侧视频显示背景色修改 */
271
  video.svelte-w5wajl.svelte-w5wajl {
272
  position: inherit;
273
  background-color: rgba(0, 0, 0, .1);
@@ -276,14 +277,13 @@ video.svelte-w5wajl.svelte-w5wajl {
276
  object-fit: contain;
277
  }
278
 
279
- .gradio-container-3-47-1 img,
280
- .gradio-container-3-47-1 video {
281
  max-width: 100%;
282
  height: auto;
283
  margin: 0;
284
  }
285
 
286
- /* 左侧模板视频选择框边框蓝色 */
287
  div.svelte-19hvt5v {
288
  display: flex;
289
  position: relative;
@@ -300,8 +300,7 @@ div.svelte-19hvt5v {
300
  /* width: 520px!important; */
301
  }
302
 
303
- /* droupbox竖向拉长 */
304
- input.svelte-tq78c3.svelte-tq78c3 {
305
  margin: var(--spacing-sm);
306
  outline: none;
307
  border: none;
@@ -309,16 +308,14 @@ input.svelte-tq78c3.svelte-tq78c3 {
309
  width: var(--size-full);
310
  color: var(--body-text-color);
311
  font-size: var(--input-text-size);
312
- height: 80px;
313
  }
314
 
315
-
316
  #release_note {
317
  color: #624AFF;
318
  font-weight: 600;
319
  }
320
 
321
- /* tab标签背景颜色 */
322
  .selected.svelte-kqij2n {
323
  border-color: var(--border-color-primary);
324
  background: var(--background-fill-primary);
@@ -327,26 +324,27 @@ input.svelte-tq78c3.svelte-tq78c3 {
327
  color: white !important;
328
  }
329
 
330
- /* markdown字体 */
331
- /* #font_style {
332
- font-size: 16px;
333
- font-style: inherit;
334
- font-weight: 800;
335
- font-family: system-ui;
336
- text-align: -webkit-center;
337
- display: flex;
338
- align-content: center !important;
339
- justify-content: center !important;
340
- align-items: center !important;
341
- } */
342
  #font_style {
343
  font-size: 16px;
344
- font-style: inherit;
345
  font-weight: 800;
346
- font-family: system-ui;
347
  text-align: -webkit-center;
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  }
349
- /* markdown字体 */
350
  #font_style1 {
351
  font-size: 16px;
352
  font-style: inherit;
@@ -356,26 +354,27 @@ input.svelte-tq78c3.svelte-tq78c3 {
356
  justify-content: center
357
  }
358
 
359
- /* checkbox勾选框颜色 */
360
- input.svelte-1ojmf70.svelte-1ojmf70.svelte-1ojmf70 {
361
  --ring-color: transparent;
362
  position: relative;
363
  box-shadow: var(--input-shadow);
364
- border: 1px solid #0354f5;
365
  border-radius: var(--checkbox-border-radius);
366
- background-color: #e9f1f9;
367
  line-height: var(--line-sm);
368
  }
 
 
 
 
369
 
370
- /* 左侧图片显示框使��图片自适应窗口 */
371
- .gradio-container-3-47-1 img,
372
- .gradio-container-3-47-1 video {
373
  max-width: 100%;
374
  height: -webkit-fill-available;
375
  margin: 0;
376
  }
377
 
378
- /*模板prompt框*/
379
  .container.svelte-1f354aw>input.svelte-1f354aw,
380
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
381
  border-top-width: 1px !important;
@@ -386,34 +385,24 @@ input.svelte-1ojmf70.svelte-1ojmf70.svelte-1ojmf70 {
386
  box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
387
  align-items: center !important;
388
  }
389
- /*刷新提示语框*/
390
- /* .container.svelte-1f354aw>input.svelte-1f354aw,
391
- .container.svelte-1f354aw>textarea.svelte-1f354aw {
392
- border-top-width: 0px !important;
393
- border-right-width: 0px !important;
394
- border-bottom-width: 0px !important;
395
- border-left-width: 0px !important;
396
- } */
397
 
398
- /*微信群/钉钉群*/
399
  #css_img_QRCode {
400
  max-height: 250px !important;
401
  display: flex !important;
402
  justify-content: center !important;
403
  }
404
 
405
- /*微信群/钉钉群文字*/
406
  #css_img_QRCode_text {
407
  text-align: center;
408
  }
409
- /*标题文字加粗*/
410
- .gradio-container-3-47-1 .prose p {
411
  margin-bottom: var(--spacing-sm);
412
  line-height: var(--line-lg);
413
  font-weight: 800;
414
  }
415
 
416
- /*刷新提示语*/
417
  #text_style11 {
418
  .container.svelte-1f354aw>input.svelte-1f354aw,
419
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
@@ -430,12 +419,20 @@ input.svelte-1ojmf70.svelte-1ojmf70.svelte-1ojmf70 {
430
  }
431
  }
432
 
433
- #box_show4 {
434
- border-style: solid;
435
- overflow: visible;
436
- min-width: min(0px, 100%);
437
- border-width: var(--block-border-width);
438
- display: flex;
439
- flex-wrap: nowrap;
440
- align-items: center;
441
- }
 
 
 
 
 
 
 
 
 
6
  font-family: Georgia, 'Times New Roman', Times, serif;
7
  }
8
 
9
+ .gradio-container-4-12-0.prose * {
 
10
  color: var(--body-text-color);
11
  display: block;
12
+ margin: 0 auto;
13
+ width: 100%;
14
+ height: auto;
15
+ object-fit: contain;
 
 
16
  }
17
 
18
+ /*AI button*/
19
+ #column_button {
20
+ flex-grow: unset !important;
21
+ min-width: min(0.5px, 100%) !important;
22
+ }
23
+
24
+ .btn_texture_font_file {
25
+ background-color: #624AFF !important;
26
+ color: #FFFFFF !important;
27
+ font-weight: 1000 !important;
28
+ max-width: 40px !important;
29
+ border-radius: 100px !important;
30
+ min-width: 40px !important;
31
+ box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5) !important;
32
  }
33
 
 
34
  .gap.svelte-vt1mxs {
35
  gap: var(--layout-gap);
36
  background: #fff;
 
42
  color: white !important;
43
  border-radius: 3px !important;
44
  }
45
+
46
  #button_param1 {
47
  flex-grow: unset;
48
  flex-shrink: unset;
 
50
  margin: auto;
51
  width: unset;
52
  padding: unset;
53
+ box-shadow: unset;
54
+ font-size: 14px;
55
  }
56
 
 
 
57
  #show_window_image {
58
  border-color: #9d9d9d !important;
59
  box-shadow: 0 3px 5px rgba(159, 159, 159, 0.5);
60
  align-items: center !important;
61
  height: 245px !important;
62
+ margin-left: 20px;
63
+ margin-right: 20px;
64
  }
65
 
 
66
  #show_window_video {
67
  border-color: #909090 !important;
68
  box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
 
70
  height: 245px !important;
71
  }
72
 
 
 
73
  .gallery.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
74
  display: flex;
75
  flex-wrap: wrap;
 
83
  width: 220px !important;
84
  }
85
 
 
86
  .hide-container.svelte-90oupt {
87
  margin: 0;
88
  box-shadow: none;
 
95
  align-content: space-around;
96
  }
97
 
98
+ .container.svelte-7uit3c img {
 
 
99
  width: 70px;
100
  height: 80px;
101
+ object-fit: contain;
102
  }
103
+
104
+ .container.svelte-1de9zxs video {
 
 
 
105
  width: 70px;
106
  height: 95px;
107
+ /* object-fit: cover; */
108
+ object-fit: contain;
109
  }
110
+
111
  .tab-nav.svelte-kqij2n {
112
  display: flex;
113
  position: relative;
 
115
  border-bottom: 1px solid var(--border-color-primary);
116
  }
117
 
 
118
  .label.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
119
  display: none !important;
 
120
  align-items: center;
121
  margin-bottom: var(--size-2);
122
  color: var(--block-label-text-color);
 
137
  font-size: var(--text-sm);
138
  }
139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
  .flex.svelte-116rqfv {
141
  display: flex;
142
  justify-content: center;
 
148
  border-color: #b6b6b7 !important;
149
  }
150
 
 
151
  .show_window_result {
152
+ border-color: #cbcbce;
153
+ box-shadow: 1 3px 5px rgba(252, 251, 252, 0.5);
154
+ /* align-items: center !important; */
155
+ /* height: 290.24px !important; */
156
+ height: 300px !important;
157
+ /* margin-top: 27px; */
158
+ margin: 1px !important;
159
+ }
160
+ #show_window_result {
161
  border-color: #fbfbfd;
162
  box-shadow: 0 3px 5px rgba(252, 251, 252, 0.5);
163
  /* align-items: center !important; */
 
167
  margin: 1px !important;
168
  }
169
 
 
170
  #show_box {
171
  border-style: solid;
172
  overflow: visible;
 
177
  border-bottom-width: 1px !important;
178
  border-left-width: 1px !important;
179
  border-color: #9900ff !important;
180
+ background: #fff;
181
  /* width: 547px !important; */
182
  }
 
183
  #show_box1 {
184
  border-style: solid;
185
  overflow: visible;
 
189
  border-right-width: 1px !important;
190
  border-bottom-width: 1px !important;
191
  border-left-width: 1px !important;
192
+ border-color: #fbf9f9 !important;
193
+ background: #fff;
194
  /* width: 547px !important; */
195
  }
 
196
  #show_box2 {
197
  border-style: solid;
198
  overflow: visible;
 
205
  border-color: #9900ff !important;
206
  /* width: 547px !important; */
207
  /* height: min(618.48px, 100%) !important; */
208
+ /* min-height: min(618.48px, 100%); */
209
+ height: 734.5px;
210
  /* margin: 0 auto !important; */
211
  display: flex;
212
  flex-wrap: wrap;
213
+ background: #fff;
214
+
215
+ }
216
+ #show_box3 {
217
+ /* border-style: solid;
218
+ overflow: visible;
219
+ min-width: min(0px, 100%);
220
+ border-width: var(--block-border-width);
221
+ display: flex;
222
+ flex-wrap: nowrap;
223
+ align-items: center;
224
+ background: #fff; */
225
+ /* align-items: flex-start; */
226
+ --block-radius: 0px;
227
+ --block-border-width: 0px;
228
+ --layout-gap: 1px;
229
+ --form-gap-width: 1px;
230
+ --button-border-width: 0px;
231
+ --button-large-radius: 0px;
232
+ --button-small-radius: 0px;
233
+ display: flex;
234
+ flex-direction: row;
235
+ align-items: center;
236
  }
237
 
 
238
  .empty.svelte-lk9eg8 {
239
  display: flex;
240
  justify-content: center;
 
248
  border-color: #c4c3c4 !important;
249
  }
250
 
 
251
  .container.svelte-1f354aw>input.svelte-1f354aw,
252
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
253
  /* border: var(--input-border-width) solid var(--input-border-color); */
 
262
  /* width: 477px!important; */
263
  }
264
 
 
265
  div.svelte-sfqy0y .block {
266
  box-shadow: none !important;
267
  border-width: 0px !important;
 
269
  padding: 0px !important;
270
  }
271
 
 
272
  video.svelte-w5wajl.svelte-w5wajl {
273
  position: inherit;
274
  background-color: rgba(0, 0, 0, .1);
 
277
  object-fit: contain;
278
  }
279
 
280
+ .gradio-container-4-12-0img,
281
+ .gradio-container-4-12-0video {
282
  max-width: 100%;
283
  height: auto;
284
  margin: 0;
285
  }
286
 
 
287
  div.svelte-19hvt5v {
288
  display: flex;
289
  position: relative;
 
300
  /* width: 520px!important; */
301
  }
302
 
303
+ input.svelte-1evtqhp.svelte-1evtqhp {
 
304
  margin: var(--spacing-sm);
305
  outline: none;
306
  border: none;
 
308
  width: var(--size-full);
309
  color: var(--body-text-color);
310
  font-size: var(--input-text-size);
311
+ height: 60px;
312
  }
313
 
 
314
  #release_note {
315
  color: #624AFF;
316
  font-weight: 600;
317
  }
318
 
 
319
  .selected.svelte-kqij2n {
320
  border-color: var(--border-color-primary);
321
  background: var(--background-fill-primary);
 
324
  color: white !important;
325
  }
326
 
 
 
 
 
 
 
 
 
 
 
 
 
327
  #font_style {
328
  font-size: 16px;
329
+ /* font-style: inherit; */
330
  font-weight: 800;
331
+ /* font-family: system-ui; */
332
  text-align: -webkit-center;
333
+ min-width: min(0px, 100%);
334
+ }
335
+ .gradio-container-4-12-0 .prose pre,
336
+ .gradio-container-4-12-0 .prose blockquote,
337
+ .gradio-container-4-12-0 .prose dl,
338
+ .gradio-container-4-12-0 .prose figure,
339
+ .gradio-container-4-12-0 .prose table,
340
+ .gradio-container-4-12-0 .prose p,
341
+ .gradio-container-4-12-0 .prose ul,
342
+ .gradio-container-4-12-0 .prose ol,
343
+ .gradio-container-4-12-0 .prose form {
344
+ margin-bottom: var(--spacing-md);
345
+ font-weight: 800;
346
  }
347
+
348
  #font_style1 {
349
  font-size: 16px;
350
  font-style: inherit;
 
354
  justify-content: center
355
  }
356
 
357
+ input.svelte-3pzdsv.svelte-3pzdsv.svelte-3pzdsv {
 
358
  --ring-color: transparent;
359
  position: relative;
360
  box-shadow: var(--input-shadow);
361
+ border: 1px solid #245ed2;
362
  border-radius: var(--checkbox-border-radius);
363
+ background-color: var(--checkbox-background-color);
364
  line-height: var(--line-sm);
365
  }
366
+ #checkbox_0 {
367
+ border-left: 5px;
368
+ padding: 5px;
369
+ }
370
 
371
+ .gradio-container-4-12-0img,
372
+ .gradio-container-4-12-0video {
 
373
  max-width: 100%;
374
  height: -webkit-fill-available;
375
  margin: 0;
376
  }
377
 
 
378
  .container.svelte-1f354aw>input.svelte-1f354aw,
379
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
380
  border-top-width: 1px !important;
 
385
  box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
386
  align-items: center !important;
387
  }
 
 
 
 
 
 
 
 
388
 
389
+
390
  #css_img_QRCode {
391
  max-height: 250px !important;
392
  display: flex !important;
393
  justify-content: center !important;
394
  }
395
 
 
396
  #css_img_QRCode_text {
397
  text-align: center;
398
  }
399
+
400
+ .gradio-container-4-12-0.prose p {
401
  margin-bottom: var(--spacing-sm);
402
  line-height: var(--line-lg);
403
  font-weight: 800;
404
  }
405
 
 
406
  #text_style11 {
407
  .container.svelte-1f354aw>input.svelte-1f354aw,
408
  .container.svelte-1f354aw>textarea.svelte-1f354aw {
 
419
  }
420
  }
421
 
422
+ .gradio-container-4-12-0.prose p {
423
+ margin-bottom: var(--spacing-sm);
424
+ line-height: var(--line-lg);
425
+ font-weight: 800;
426
+ background: rgb(255, 255, 255);
427
+ }
428
+ div.svelte-iyf88w>*:not(.absolute) {
429
+ border: none;
430
+ border-radius: 0;
431
+ background: rgb(255, 255, 255);
432
+ }
433
+
434
+ #css_img_dreamoving {
435
+ max-height: 80px !important;
436
+ display: flex !important;
437
+ justify-content: center !important;
438
+ }