Spaces:
Runtime error
Runtime error
File size: 11,784 Bytes
dbb7984 |
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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 |
#title {
font-size: 50px;
font-weight: bolder;
color: #031af0;
text-align: center;
font-family: Georgia, 'Times New Roman', Times, serif;
}
/* 版面最上面的大log图像*/
.gradio-container-3-47-1 .prose * {
color: var(--body-text-color);
display: block;
margin: 0 auto; /*居中*/
width: 100%; /* 使得图片宽度响应式地适应容器宽度 */
height: auto; /* 保持图片的原始长宽比 */
object-fit: contain;/* 保持图片的长宽比并使其完全适应容器 */
/* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
border-radius: 20px; */
}
#show_box3 {
border-style: solid;
overflow: visible;
min-width: min(0px, 100%);
border-width: var(--block-border-width);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #9900ff !important;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
}
/* 背景颜色设置白色/刷新button/markdown字体 */
.gap.svelte-vt1mxs {
gap: var(--layout-gap);
background: #fff;
/* justify-content: center; */
}
#button_param {
background: #0d02ea !important;
color: white !important;
border-radius: 3px !important;
}
/*刷新button1*/
#button_param1 {
flex-grow: unset;
flex-shrink: unset;
flex-basis: unset;
margin: auto;
width: unset;
padding: unset;
box-shadow:unset;
}
/* 左侧输入图像显示框 */
#show_window_image {
border-color: #9d9d9d !important;
box-shadow: 0 3px 5px rgba(159, 159, 159, 0.5);
align-items: center !important;
height: 245px !important;
}
/* 左侧输入模板视频显示框 */
#show_window_video {
border-color: #909090 !important;
box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
align-items: center !important;
height: 245px !important;
}
/* 左侧图像example列表/模板视频dataset列表/选择框边框蓝色 */
.gallery.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
display: flex;
flex-wrap: wrap;
gap: 0px !important;
flex-direction: row;
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #c1c2c3 !important;
width: 220px !important;
}
/* 右侧examples横向居中 */
.hide-container.svelte-90oupt {
margin: 0;
box-shadow: none;
--block-border-width: 0;
background: transparent;
padding: 0;
overflow: visible;
display: flex;
flex-direction: column;
align-content: space-around;
}
/* 单个图片examples缩略图 */
.gallery.svelte-gqt00k {
border: 0px solid var(--border-color-primary);
width: 70px;
height: 80px;
}
/* 单个视频examples缩略图 */
.gallery.svelte-1tntsc1 {
border: 0px solid var(--border-color-primary);
/* max-height: var(--size-20); */
/* object-fit: cover; */
width: 70px;
height: 95px;
}
/*tab宽度*/
.tab-nav.svelte-kqij2n {
display: flex;
position: relative;
flex-wrap: wrap;
border-bottom: 1px solid var(--border-color-primary);
}
/* 图像example列表顶部的label条部分 */
.label.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
display: none !important;
/*label隐藏*/
align-items: center;
margin-bottom: var(--size-2);
color: var(--block-label-text-color);
font-weight: var(--block-label-text-weight);
font-size: var(--block-label-text-size);
line-height: var(--line-sm);
}
/* pages */
.paginate.svelte-13hsdno.svelte-13hsdno.svelte-13hsdno {
display: none !important;
justify-content: center;
align-items: center;
gap: var(--spacing-sm);
margin-top: var(--size-2);
color: var(--block-label-text-color);
font-size: var(--text-sm);
}
.gallery.svelte-gqt00k {
/* border: 2px solid var(--border-color-primary); */
/* max-height: var(--size-20); */
object-fit: contain;
}
.gallery.svelte-1tntsc1 {
/* max-height: var(--size-20); */
object-fit: contain;
}
/* 左侧侧图片显示框边框蓝色 */
.flex.svelte-116rqfv {
display: flex;
justify-content: center;
align-items: center;
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #b6b6b7 !important;
}
/* 右侧结果视频显示框 */
.show_window_result {
border-color: #fbfbfd;
box-shadow: 0 3px 5px rgba(252, 251, 252, 0.5);
/* align-items: center !important; */
/* height: 290.24px !important; */
height: 240px !important;
/* margin-top: 27px; */
margin: 1px !important;
}
/* 最下面视频显示框 */
#show_box {
border-style: solid;
overflow: visible;
min-width: min(0px, 100%);
border-width: var(--block-border-width);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #9900ff !important;
/* width: 547px !important; */
}
/* 最下面视频显示框 */
#show_box1 {
border-style: solid;
overflow: visible;
min-width: min(0px, 100%);
border-width: var(--block-border-width);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #e0dede !important;
/* width: 547px !important; */
}
/* 最下面视频显示框 */
#show_box2 {
border-style: solid;
overflow: visible;
min-width: min(0px, 100%);
border-width: var(--block-border-width);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #9900ff !important;
/* width: 547px !important; */
/* height: min(618.48px, 100%) !important; */
min-height: min(618.48px,100%);
/* margin: 0 auto !important; */
display: flex;
flex-wrap: wrap;
}
/* 右侧视频显示框边框蓝色 */
.empty.svelte-lk9eg8 {
display: flex;
justify-content: center;
align-items: center;
/* margin-top: calc(0px - var(--size-6)); */
height: var(--size-full);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #c4c3c4 !important;
}
/* Textbox边框color设置 */
.container.svelte-1f354aw>input.svelte-1f354aw,
.container.svelte-1f354aw>textarea.svelte-1f354aw {
/* border: var(--input-border-width) solid var(--input-border-color); */
/* border-radius: var(--input-radius); */
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #909090 !important;
box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
align-items: center !important;
/* width: 477px!important; */
}
/* Textbox边框padding设置 */
div.svelte-sfqy0y .block {
box-shadow: none !important;
border-width: 0px !important;
border-radius: 0 !important;
padding: 0px !important;
}
/* 右侧视频显示背景色修改 */
video.svelte-w5wajl.svelte-w5wajl {
position: inherit;
background-color: rgba(0, 0, 0, .1);
width: var(--size-full);
height: var(--size-full);
object-fit: contain;
}
.gradio-container-3-47-1 img,
.gradio-container-3-47-1 video {
max-width: 100%;
height: auto;
margin: 0;
}
/* 左侧模板视频选择框边框蓝色 */
div.svelte-19hvt5v {
display: flex;
position: relative;
border: 1px solid var(--border-color-primary);
border-top: none;
border-bottom-right-radius: var(--container-radius);
border-bottom-left-radius: var(--container-radius);
padding: var(--block-padding);
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #acacad !important;
/* width: 520px!important; */
}
/* droupbox竖向拉长 */
input.svelte-tq78c3.svelte-tq78c3 {
margin: var(--spacing-sm);
outline: none;
border: none;
background: inherit;
width: var(--size-full);
color: var(--body-text-color);
font-size: var(--input-text-size);
height: 80px;
}
#release_note {
color: #624AFF;
font-weight: 600;
}
/* tab标签背景颜色 */
.selected.svelte-kqij2n {
border-color: var(--border-color-primary);
background: var(--background-fill-primary);
color: var(--body-text-color);
background: #371ceb !important;
color: white !important;
}
/* markdown字体 */
/* #font_style {
font-size: 16px;
font-style: inherit;
font-weight: 800;
font-family: system-ui;
text-align: -webkit-center;
display: flex;
align-content: center !important;
justify-content: center !important;
align-items: center !important;
} */
#font_style {
font-size: 16px;
font-style: inherit;
font-weight: 800;
font-family: system-ui;
text-align: -webkit-center;
}
/* markdown字体 */
#font_style1 {
font-size: 16px;
font-style: inherit;
font-weight: 800;
font-family: system-ui;
text-align: -webkit-left;
justify-content: center
}
/* checkbox勾选框颜色 */
input.svelte-1ojmf70.svelte-1ojmf70.svelte-1ojmf70 {
--ring-color: transparent;
position: relative;
box-shadow: var(--input-shadow);
border: 1px solid #0354f5;
border-radius: var(--checkbox-border-radius);
background-color: #e9f1f9;
line-height: var(--line-sm);
}
/* 左侧图片显示框使得图片自适应窗口 */
.gradio-container-3-47-1 img,
.gradio-container-3-47-1 video {
max-width: 100%;
height: -webkit-fill-available;
margin: 0;
}
/*模板prompt框*/
.container.svelte-1f354aw>input.svelte-1f354aw,
.container.svelte-1f354aw>textarea.svelte-1f354aw {
border-top-width: 1px !important;
border-right-width: 1px !important;
border-bottom-width: 1px !important;
border-left-width: 1px !important;
border-color: #dddbdb !important;
box-shadow: 0 3px 5px rgba(118, 118, 118, 0.5);
align-items: center !important;
}
/*刷新提示语框*/
/* .container.svelte-1f354aw>input.svelte-1f354aw,
.container.svelte-1f354aw>textarea.svelte-1f354aw {
border-top-width: 0px !important;
border-right-width: 0px !important;
border-bottom-width: 0px !important;
border-left-width: 0px !important;
} */
/*微信群/钉钉群*/
#css_img_QRCode {
max-height: 250px !important;
display: flex !important;
justify-content: center !important;
}
/*微信群/钉钉群文字*/
#css_img_QRCode_text {
text-align: center;
}
/*标题文字加粗*/
.gradio-container-3-47-1 .prose p {
margin-bottom: var(--spacing-sm);
line-height: var(--line-lg);
font-weight: 800;
}
/*刷新提示语*/
#text_style11 {
.container.svelte-1f354aw>input.svelte-1f354aw,
.container.svelte-1f354aw>textarea.svelte-1f354aw {
border-top-width: 0px !important;
border-right-width: 0px !important;
border-bottom-width: 0px !important;
border-left-width: 0px !important;
border-color: #dddbdb !important;
-webkit-text-fill-color: #060df6;
padding: unset;
/* line-height: 25px; */
/* box-shadow: unset; */
padding-top: 9px;
}
}
#box_show4 {
border-style: solid;
overflow: visible;
min-width: min(0px, 100%);
border-width: var(--block-border-width);
display: flex;
flex-wrap: nowrap;
align-items: center;
} |