Spaces:
Sleeping
Sleeping
File size: 5,048 Bytes
546e90b 46a9d4f 54d7710 546e90b 1944dca ff51711 1944dca ff51711 f03c7b1 ff51711 f03c7b1 54d7710 1944dca c732fa2 b5b6d7d ebad0e7 57db7df b5b6d7d 70fe25c 1585478 b69e197 c732fa2 1799e8b 546e90b d85ccb9 546e90b 99f1faa c451139 2a75e91 c451139 99f1faa d525f32 3d92717 99f1faa ab7eac4 99f1faa 8a4b20b 99f1faa 3d92717 33ce751 3d92717 546e90b ef86cb7 d85ccb9 546e90b c732fa2 546e90b 2076f32 546e90b d85ccb9 546e90b 8285088 aae6179 5632d43 9ee1665 38b9539 0038967 6c22831 546e90b 0eaa0b2 546e90b 4ff8f71 33d3f62 7c2fb1a aae6179 aaa0248 1b405a3 33d3f62 7c2fb1a 33d3f62 e5594a2 0f95c1f 766b57e 0f95c1f e5594a2 83f8a4e 239997d e5470db 83f8a4e 0f95c1f aae6179 83f8a4e 7c2fb1a 4cfa435 d91626f 1fb3c88 47d9b7b 1fb3c88 9e59940 aae6179 f792c35 bf93b19 1f648d6 47d9b7b 546e90b bf93b19 1f648d6 620bfca 546e90b 5632d43 47d9b7b 546e90b fdcc8f3 546e90b 1f648d6 546e90b b69e197 546e90b 9a2a19b b69e197 fe6c758 b69e197 546e90b b69e197 546e90b 457291e 546e90b b69e197 546e90b 262b450 546e90b d197949 ea8a706 d197949 e2942a5 546e90b |
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 |
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "PP Neue Montreal", sans-serif;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
gradio-app {
/* background-color: #121212 !important;
background-image: url("file=assets/bg.png") !important;
background-size: cover !important; */
background-color: #121212 !important;
background: linear-gradient(
295deg,
rgba(26, 43, 41, 1) 0%,
rgba(26, 43, 41, 1) 20%,
rgba(0, 0, 0, 1) 60%,
rgba(26, 43, 41, 1) 90%,
rgba(26, 43, 41, 1) 100%
) !important;
height: calc(100dvh - 30px);
}
body > gradio-app > div > div > div > div.contain{
display: flex;
}
gradio-app .gradio-container{
max-width: none !important;
padding: 30px !important;
}
.gradio-container>.main{
height: 100%;
}
body > gradio-app > div > div.main > div.wrap {
height: 100%;
}
body > gradio-app > div > div.main > div.wrap > div.contain{
height: 100%;
}
#component-0 {
width: 100%;
gap: 0;
display: flex;
flex-direction: column;
}
#header_block {
padding: 10px 0px;
display: flex;
justify-content: space-between;
align-items: center;
}
h1 {
font-size: 50px !important;
color: #c0c0af !important;
}
#output_image > button > div > img{
object-fit: cover !important;
}
#logos_row {
width: 269px;
height: 70px;
}
}
#logos_block img {
flex-shrink: 1;
flex-grow: 0;
}
#text_row {
display: flex;
justify-content: space-between;
letter-spacing: 0.5px;
font-size: 18px;
}
#text_row span{
color: white !important;
}
#main_block {
flex-grow: 1;
display: flex;
flex-direction: column;
}
#board_row {
flex-wrap:nowrap;
padding: 20px 0px;
display: flex;
flex-grow:1;
align-items: center;
justify-content: space-between;
}
#radio_row {
margin: 15px, 0px;
align-self: center;
}
#radio_row .wrap {
justify-content: center;
}
.image_container {
overflow: visible !important;
flex-shrink: 0 !important;
flex-grow: 0 !important;
flex-basis: 480px !important;
margin: 0px;
position: relative;
display: inline-block;
text-align: center;
aspect-ratio: 1;
border: 2px solid #2c2c2c;
background-color: #121212;
border-radius: 30px !important;
}
#input_image > div.image-container > div.wrap > div{
height:100% !important;
}
#input_image_container .styler{
background-color: white !important;
}
#output_image_container{
overflow: hidden !important;
}
#output_image > button > div{
height:100% !important;
}
#output_image_container .styler{
background-color: #121212 !important;
}
.image_container .controls-wrap {
display: none !important;
}
.image_container .tools-wrap {
display: none !important;
}
.image_container>div.styler {
overflow:hidden;
border-radius:30px;
flex-grow: 1;
height: 100% !important;
}
#input_image {
flex-grow: 1;
border:none !important;
}
#output_image{
flex-grow: 1;
}
#input_image > div.image-container> div.wrap > span.brush{
display:none;
}
#input_image > div.image-container> div.wrap > span.col{
display:none;
}
#input_image > div.image-container > div > button {
display:none;
}
canvas{
max-width: none !important;
max-height: none !important;
}
#output_image > div.icon-buttons{
display:none;
}
#eraser_container.block{
z-index:100;
width: 62px;
height: 62px;
position: absolute;
top: calc(50% - 31px);
right: -31px;
}
#draw_cta_container.block{
width: 124px;
z-index: 99999;
position: absolute;
top: -91px;
right: -124px;
}
#eraser {
padding: 16px;
height: 62px;
width:62px;
border-radius: 50%;
border: none;
background-color: rgb(120 120 120);
}
#eraser_icon {
display: inline-block;
width: 30px;
height: 30px;
background-image: url("file=assets/eraser.png");
background-size: cover;
}
#footer_block {
position: relative;
display: flex;
flex-direction: row;
justify-content: center;
margin-top: 30px;
margin-bottom: 5%;
}
input[type="radio"] {
display: none !important;
}
.form {
background-color: transparent !important;
border: none !important;
}
fieldset {
background-color: transparent !important;
border: none !important;
}
label {
padding:0px !important;
border: none !important;
background-color: transparent !important;
background: none !important;
}
input[type="radio"] + span {
display: inline-block;
font-weight: normal;
font-size: 20px;
color: white;
padding: 10px 20px;
border-radius: 48px;
border: 1px solid #494949;
}
input[type="radio"]:checked + span {
background-color: #c0c0af;
border-color: #494949;
color: black;
}
footer {
display: none !important;
}
#fullscreen {
transition: 150ms;
position: absolute;
bottom: 0;
right: 0;
margin: auto;
height: fit-content;
width: fit-content;
background-color: rgba(255, 255, 255, 0.2);
border-color: transparent;
border-radius: 50%;
padding: 16px;
display: flex;
justify-content: center;
align-items: center;
outline: none;
cursor: pointer;
}
|