File size: 2,909 Bytes
546e90b
 
 
 
 
 
1944dca
 
 
 
fe11d8f
1944dca
c732fa2
 
 
57db7df
 
 
70fe25c
 
 
1585478
 
 
b69e197
c732fa2
1799e8b
546e90b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c732fa2
546e90b
 
 
 
 
 
 
8285088
 
 
546e90b
9ee1665
38b9539
 
6c22831
546e90b
 
 
 
 
 
 
 
83f8a4e
 
 
 
 
 
d91626f
 
 
546e90b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b69e197
546e90b
 
 
 
 
 
 
 
 
 
 
9a2a19b
b69e197
 
 
 
 
 
 
 
 
 
 
 
 
546e90b
b69e197
546e90b
 
 
 
 
 
b69e197
546e90b
b69e197
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
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
gradio-app {
  background-color: #121212 !important;
  background-image: url("file=assets/bg.png") !important;
  background-size: cover !important;
  height: 100vh;
}
body > gradio-app > div > div > div > div.contain{
    display: flex;
}
.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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#main_block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#board_row {
  display: flex;
  flex-grow:1;
  align-items: center;
  justify-content: space-evenly;
}

#radio_row {
  align-self: center;
}
#radio_row .wrap {
  justify-content: center;
}
.image_container {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 500px !important;
  margin: 0px;
  position: relative;
  display: inline-block;
  text-align: center;
  aspect-ratio: 1;
  border: 2px solid #2c2c2c;
  background-color: #121212;
  border-radius: 30px;
}
.image_container>div.styler {
  flex-grow: 1;
}
#input_image {
  flex-grow: 1;
}
#output_image{
  flex-grow: 1;
}
#draw_cta {
  position: absolute;
  top: -91px;
  right: -124px;
}
#eraser {
  position: absolute;
  top: calc(50% - 31px);
  right: -31px;
  padding: 16px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
}
#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 {
  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 #0d0707;
}
input[type="radio"]:checked + span {
  background-color: #c0c0af;
  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;
}