Spaces:
Sleeping
Sleeping
File size: 3,057 Bytes
0d27c43 | 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 | .te-header {
padding: 8px 4px 4px;
display: flex;
align-items: baseline;
gap: 14px;
flex-wrap: wrap;
border-bottom: 1px solid #e3e3e8;
margin-bottom: 10px;
}
.te-title {
font-size: 19px;
font-weight: 700;
color: #1a1a1a;
}
.te-sub {
font-size: 13px;
color: #666;
}
.te-privacy {
margin: 0 0 14px 0;
font-size: 12px;
color: #555;
}
.te-privacy summary {
cursor: pointer;
color: #444;
font-weight: 600;
}
.te-privacy p {
margin: 6px 0 0 0;
background: #fff9e6;
border-left: 3px solid #d4a017;
padding: 8px 10px;
border-radius: 4px;
}
.te-steps {
display: flex;
gap: 18px;
flex-wrap: wrap;
margin: 0 0 10px 0;
font-size: 13px;
color: #444;
}
.te-step {
background: #eef3fa;
border: 1px solid #cdd9e9;
padding: 5px 10px;
border-radius: 4px;
}
.te-input-row {
align-items: flex-start;
margin-bottom: 10px;
}
.te-input-image {
border: 2px dashed #b0b8c8;
border-radius: 8px;
background: #fafbff;
transition: border-color 120ms ease;
}
.te-input-image:hover {
border-color: #6e7fa0;
}
/* Make Gradio's source-mode toggle (webcam / upload icons) far more
* prominent than the default tiny icon strip. Each becomes a labelled
* pill button. */
.te-input-image .source-selection,
.te-input-image .source-wrap {
gap: 8px !important;
padding: 8px !important;
justify-content: center !important;
}
.te-input-image .source-selection button,
.te-input-image .source-wrap button {
background: #1d4ed8 !important;
color: #fff !important;
border: none !important;
border-radius: 6px !important;
padding: 8px 14px !important;
font-size: 14px !important;
font-weight: 600 !important;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.te-input-image .source-selection button:hover,
.te-input-image .source-wrap button:hover {
background: #1e40af !important;
}
.te-input-image .source-selection button svg,
.te-input-image .source-wrap button svg {
width: 18px !important;
height: 18px !important;
margin-right: 6px;
}
/* Hint label that sits over the empty state, in case Gradio chrome
* keeps the source icons subtle on some browsers. */
.te-input-image .empty,
.te-input-image .upload-container .empty {
color: #355 !important;
font-size: 14px !important;
}
.te-status {
margin: 4px 0 12px;
font-size: 13px;
color: #444;
font-weight: 600;
}
.te-tile-row {
margin-bottom: 8px;
gap: 8px;
}
.te-tile-col {
padding: 0 !important;
}
.te-tile-img {
border-radius: 6px;
}
.te-tile-img img {
object-fit: contain;
background: #fff;
}
.te-retry {
width: 100%;
margin-top: 4px;
font-size: 12px;
}
.te-export-row {
margin-top: 14px;
align-items: end;
}
.te-submit {
margin-top: 6px;
}
.te-footer {
margin: 24px 0 12px;
padding: 10px 4px 0;
border-top: 1px solid #e3e3e8;
font-size: 11.5px;
color: #777;
text-align: center;
font-style: italic;
}
|