Tyler Lastovich commited on
Commit
f4311ec
·
1 Parent(s): 057e5d6

Fixing breaking changes in css. .gradio_page to .gradio_bg

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -149,16 +149,16 @@ custom_css="""
149
  width: 100vw;
150
  max-width: 1500px;
151
  }
152
- .gradio_page[theme=default] .panel_buttons {
153
  justify-content: flex-end;
154
  }
155
 
156
- .gradio_page[theme=default] .panel_button {
157
  flex: 0 0 0;
158
  min-width: 150px;
159
  }
160
 
161
- .gradio_page[theme=default] .gradio_interface .panel_button.submit {
162
  background: #11213A;
163
  border-radius: 5px;
164
  color: #FFFFFF;
@@ -168,15 +168,15 @@ custom_css="""
168
  letter-spacing: 0.15em;
169
  flex: 0 0 0;
170
  }
171
- .gradio_page[theme=default] .gradio_interface .panel_button.submit:hover {
172
  background: #000000;
173
  }
174
 
175
  .input_text:focus {
176
  border-color: #FA7880;
177
  }
178
- .gradio_page[theme=default] .gradio_interface .input_text input,
179
- .gradio_page[theme=default] .gradio_interface .input_text textarea {
180
  font: 200 45px garamond-premier-pro-display, serif;
181
  line-height: 110%;
182
  color: #11213A;
@@ -188,18 +188,18 @@ custom_css="""
188
  .input_text textarea:focus-visible {
189
  outline: none;
190
  }
191
- .gradio_page[theme=default] .gradio_interface .input_radio .radio_item.selected {
192
  background-color: #11213A;
193
  }
194
- .gradio_page[theme=default] .gradio_interface .input_radio .selected .radio_circle {
195
  border-color: #4365c4;
196
  }
197
- .gradio_page[theme=default] .gradio_interface .output_image {
198
  width: 100%;
199
  height: 40vw;
200
  max-height: 630px;
201
  }
202
- .gradio_page[theme=default] .gradio_interface .output_image .image_preview_holder {
203
  background: transparent;
204
  }
205
  .panel:nth-child(1) {
@@ -211,10 +211,10 @@ custom_css="""
211
  .panel {
212
  background: transparent;
213
  }
214
- .gradio_page[theme=default] .gradio_interface .component_set {
215
  background: transparent;
216
  }
217
- .panel:nth-child(2) .gradio_page[theme=default] .gradio_interface .panel_header {
218
  display: none;
219
  }
220
  .labels {
@@ -227,7 +227,7 @@ custom_css="""
227
  margin-left: 0px;
228
  margin-right: 0px;
229
  }
230
- .gradio_page[theme=default] .gradio_interface .output_image {
231
  height: auto;
232
  }
233
  }
 
149
  width: 100vw;
150
  max-width: 1500px;
151
  }
152
+ .gradio_bg[theme=default] .panel_buttons {
153
  justify-content: flex-end;
154
  }
155
 
156
+ .gradio_bg[theme=default] .panel_button {
157
  flex: 0 0 0;
158
  min-width: 150px;
159
  }
160
 
161
+ .gradio_bg[theme=default] .gradio_interface .panel_button.submit {
162
  background: #11213A;
163
  border-radius: 5px;
164
  color: #FFFFFF;
 
168
  letter-spacing: 0.15em;
169
  flex: 0 0 0;
170
  }
171
+ .gradio_bg[theme=default] .gradio_interface .panel_button.submit:hover {
172
  background: #000000;
173
  }
174
 
175
  .input_text:focus {
176
  border-color: #FA7880;
177
  }
178
+ .gradio_bg[theme=default] .gradio_interface .input_text input,
179
+ .gradio_bg[theme=default] .gradio_interface .input_text textarea {
180
  font: 200 45px garamond-premier-pro-display, serif;
181
  line-height: 110%;
182
  color: #11213A;
 
188
  .input_text textarea:focus-visible {
189
  outline: none;
190
  }
191
+ .gradio_bg[theme=default] .gradio_interface .input_radio .radio_item.selected {
192
  background-color: #11213A;
193
  }
194
+ .gradio_bg[theme=default] .gradio_interface .input_radio .selected .radio_circle {
195
  border-color: #4365c4;
196
  }
197
+ .gradio_bg[theme=default] .gradio_interface .output_image {
198
  width: 100%;
199
  height: 40vw;
200
  max-height: 630px;
201
  }
202
+ .gradio_bg[theme=default] .gradio_interface .output_image .image_preview_holder {
203
  background: transparent;
204
  }
205
  .panel:nth-child(1) {
 
211
  .panel {
212
  background: transparent;
213
  }
214
+ .gradio_bg[theme=default] .gradio_interface .component_set {
215
  background: transparent;
216
  }
217
+ .panel:nth-child(2) .gradio_bg[theme=default] .gradio_interface .panel_header {
218
  display: none;
219
  }
220
  .labels {
 
227
  margin-left: 0px;
228
  margin-right: 0px;
229
  }
230
+ .gradio_bg[theme=default] .gradio_interface .output_image {
231
  height: auto;
232
  }
233
  }