File size: 6,466 Bytes
b23c7f0
 
 
 
2ea6cbc
 
b23c7f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ddac42a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b23c7f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d2ed5f4
b23c7f0
d2ed5f4
 
 
 
 
 
 
b23c7f0
d2ed5f4
 
b23c7f0
 
d2ed5f4
 
b23c7f0
d2ed5f4
b23c7f0
d2ed5f4
b23c7f0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d2ed5f4
 
 
b23c7f0
 
 
d2ed5f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b23c7f0
d2ed5f4
 
 
 
 
 
b23c7f0
d2ed5f4
 
 
 
 
b23c7f0
 
 
 
 
 
 
 
 
 
 
 
 
 
d2ed5f4
b23c7f0
 
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
.gradio-container {
    width: 100% !important;
    max-width: 1536px !important;
    margin-inline: auto;
    --font: Arial, Helvetica, sans-serif;
    font-family: var(--font);
    --pose-line: var(--border-color-primary);
    --pose-muted: var(--body-text-color-subdued);
}
.gradio-container > .main {
    width: 100%;
    max-width: none !important;
    padding: 24px clamp(14px, 3vw, 46px) 28px !important;
}
#pose-header .html-container, .pose-pane .html-container, .pose-samples-label .html-container {
    padding: 0;
}
#pose-heading h1 {
    margin: 0;
    color: var(--body-text-color);
    font-size: clamp(23px, 2.1vw, 30px);
    line-height: 1.15;
    letter-spacing: -.035em;
    font-weight: 700;
}
.pose-heading-row, .pose-usage {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.pose-heading-row { justify-content: space-between; gap: 7px 16px; }
.pose-usage {
    justify-content: flex-end;
    gap: 6px;
    margin-inline-start: auto;
}
.pose-usage > span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 5px 9px;
    border: 1px solid var(--pose-line);
    border-radius: 999px;
    color: var(--pose-muted);
    background: var(--block-background-fill);
    font-size: 12px;
    white-space: nowrap;
}
.pose-usage strong {
    color: var(--body-text-color);
    font-variant-numeric: tabular-nums;
}
.pose-meta, .pose-meta nav {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}
.pose-meta { gap: 6px 16px; margin-top: 7px; }
.pose-meta p { margin: 0; color: var(--pose-muted); font-size: 13px; }
.pose-meta nav { gap: 14px; border-inline-start: 1px solid var(--pose-line); padding-inline-start: 16px; }
.pose-meta a { color: var(--body-text-color); font-size: 12px; text-decoration: none; }
.pose-meta a:hover, .pose-meta a:focus-visible { text-decoration: underline; }

#pose-tabs { margin-top: 6px; }
#pose-tabs .tab-wrapper { padding-bottom: 0; margin-bottom: 0; }
#pose-tabs .tab-container { gap: 18px; }
#pose-tabs [role="tab"] {
    margin: 0;
    padding: 8px 1px;
    border: 0;
    border-radius: 0;
    color: var(--pose-muted);
    background: transparent;
    font-size: 14px;
}
#pose-tabs [role="tab"][aria-selected="true"] {
    color: var(--body-text-color);
    box-shadow: inset 0 -2px currentColor;
    font-weight: 600;
}
#pose-tabs [role="tabpanel"] { padding: 14px 0 0; border: 0; }
#pose-tabs .pose-samples { align-items: center; min-width: 0; gap: 6px; }
#pose-tabs .pose-samples-label { width: auto; flex: 0 0 auto; margin-right: 4px; color: var(--pose-muted); font-size: 12px; }
#pose-tabs .pose-example {
    flex: 0 0 auto;
    min-width: max-content !important;
    min-height: 36px;
    white-space: nowrap;
    gap: 7px;
    padding: 4px 9px 4px 4px;
    border: 1px solid var(--pose-line);
    border-radius: 6px;
    box-shadow: none;
    background: var(--block-background-fill);
    color: var(--body-text-color);
    font-size: 13px;
    font-weight: 400;
}
#pose-tabs .pose-example:hover { background: var(--background-fill-secondary); }
.pose-example img { flex: none; margin: 0; padding: 0; width: 38px; height: 26px; border-radius: 3px; object-fit: cover; }
.pose-samples button:focus-visible, #pose-controls button:focus-visible, #pose-heading a:focus-visible {
    outline: 2px solid var(--body-text-color);
    outline-offset: 2px;
}

#pose-tabs .pose-panels { gap: 18px; margin-top: 5px; }
#pose-tabs .pose-pane { gap: 7px; container-type: inline-size; }
.pose-pane h2 { margin: 0; color: var(--body-text-color); font-size: 14px; font-weight: 600; line-height: 20px; }
.pose-media {
    --pose-media-height: 56.25cqw;
    border: 1px solid var(--pose-line) !important;
    border-radius: 7px !important;
    overflow: hidden;
    padding: 0 !important;
    box-shadow: none !important;
}
#image-source .source-selection, #video-source .source-selection {
    position: absolute;
    inset: 6px auto auto 6px;
    z-index: 2;
    width: auto;
    height: 27px;
    padding: 1px 4px;
    border: 1px solid var(--pose-line);
    border-radius: 4px;
    background: var(--block-background-fill);
}
#image-source .upload-container {
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
}
#pose-controls {
    width: 100%;
    gap: 0;
    padding: 0;
    border: 1px solid var(--pose-line);
    border-radius: 7px;
    background: var(--block-background-fill);
    box-shadow: none;
}
#pose-controls .pose-mode-controls {
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--pose-line);
}
.gradio-container:has(#video-tab-button[aria-selected="true"]) #image-controls,
.gradio-container:not(:has(#video-tab-button[aria-selected="true"])) #video-controls,
.gradio-container:not(:has(#video-tab-button[aria-selected="true"])) #video-resolution {
    display: none !important;
}
#pose-controls .pose-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
#pose-controls .pose-actions > button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px;
    border-radius: 6px;
    box-shadow: none;
    font-size: 13px;
}
#pose-controls .pose-upload {
    border: 1px solid var(--pose-line);
    background: var(--block-background-fill);
    color: var(--body-text-color);
}
#pose-controls .pose-upload:hover { background: var(--background-fill-secondary); }
#pose-controls .pose-status { padding: 0; color: var(--pose-muted); font-size: 13px; }
.pose-status:not(:has(p)) { display: none; }
#pose-settings { padding: 0; border: 0; border-radius: 0 0 7px 7px; background: transparent; box-shadow: none; }
#pose-settings > button { padding: 10px 12px; font-weight: 600; }
#pose-settings > div:last-child > .column { padding: 0 12px 12px; }
#pose-settings .form { box-shadow: none; }

@media (max-width: 760px) {
    .gradio-container > .main { padding: 16px 14px 24px !important; }
    #pose-tabs .pose-panels { gap: 14px; }
}
@media (max-width: 640px) {
    .pose-meta { flex-direction: column; }
    .pose-meta nav { border: 0; padding: 0; }
    #pose-tabs .pose-samples { width: 100%; gap: 4px 6px; }
    #pose-tabs .pose-samples > .pose-samples-label { flex-basis: 100%; margin: 0; }
    #pose-tabs .pose-panels { flex-direction: column; }
    #pose-tabs .pose-pane { width: 100%; flex: none; }
    #pose-tabs .pose-example { gap: 4px; padding-right: 6px; font-size: 12px; }
    .pose-example img { width: 29px; height: 23px; }
}