gowtham0992 Codex commited on
Commit
4afacb5
·
1 Parent(s): e22057c

Fix Gradio state text contrast

Browse files

Co-authored-by: Codex <codex@openai.com>

Files changed (1) hide show
  1. style.css +36 -6
style.css CHANGED
@@ -46,6 +46,18 @@
46
  transition: none !important;
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  html,
50
  body,
51
  body.dark {
@@ -162,7 +174,7 @@ footer {
162
  justify-content: space-between;
163
  gap: 12px;
164
  background: var(--jb-black);
165
- color: var(--jb-white);
166
  padding: 10px 16px;
167
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
168
  font-size: 11px;
@@ -170,6 +182,10 @@ footer {
170
  line-height: 1;
171
  }
172
 
 
 
 
 
173
  .traffic-dots {
174
  display: inline-flex;
175
  align-items: center;
@@ -256,10 +272,11 @@ button.primary:hover {
256
  .check-btn:disabled,
257
  button.primary:disabled {
258
  background: #efefef !important;
259
- color: #555555 !important;
260
  cursor: wait !important;
261
  transform: none !important;
262
  box-shadow: 3px 3px 0 var(--jb-black) !important;
 
263
  }
264
 
265
  .scan-panel .examples {
@@ -676,16 +693,29 @@ button.primary:disabled {
676
  }
677
 
678
  .terminal-window {
679
- background: #111111;
 
680
  }
681
 
682
  .terminal-window .window-body {
683
  padding: 32px;
 
 
 
 
 
 
 
 
 
 
 
 
684
  }
685
 
686
  .terminal-progress {
687
  margin: 0 0 24px;
688
- color: #ff9800;
689
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
690
  font-size: 15px;
691
  font-weight: 900;
@@ -700,14 +730,14 @@ button.primary:disabled {
700
 
701
  .terminal-log p {
702
  margin: 0;
703
- color: #32d74b;
704
  font-size: 12px;
705
  font-weight: 800;
706
  line-height: 1.35;
707
  }
708
 
709
  .terminal-log .terminal-muted {
710
- color: #666666;
711
  }
712
 
713
  .save-status {
 
46
  transition: none !important;
47
  }
48
 
49
+ .gradio-container .loading,
50
+ .gradio-container .loading_status,
51
+ .gradio-container .loading-status,
52
+ .gradio-container .progress,
53
+ .gradio-container .progress-text,
54
+ .gradio-container .eta,
55
+ .gradio-container [class*="loading_status"],
56
+ .gradio-container [class*="loading-status"],
57
+ .gradio-container [class*="progress-text"] {
58
+ display: none !important;
59
+ }
60
+
61
  html,
62
  body,
63
  body.dark {
 
174
  justify-content: space-between;
175
  gap: 12px;
176
  background: var(--jb-black);
177
+ color: var(--jb-white) !important;
178
  padding: 10px 16px;
179
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
180
  font-size: 11px;
 
182
  line-height: 1;
183
  }
184
 
185
+ .window-titlebar * {
186
+ color: var(--jb-white) !important;
187
+ }
188
+
189
  .traffic-dots {
190
  display: inline-flex;
191
  align-items: center;
 
272
  .check-btn:disabled,
273
  button.primary:disabled {
274
  background: #efefef !important;
275
+ color: #000000 !important;
276
  cursor: wait !important;
277
  transform: none !important;
278
  box-shadow: 3px 3px 0 var(--jb-black) !important;
279
+ opacity: 1 !important;
280
  }
281
 
282
  .scan-panel .examples {
 
693
  }
694
 
695
  .terminal-window {
696
+ background: #111111 !important;
697
+ color: #32d74b !important;
698
  }
699
 
700
  .terminal-window .window-body {
701
  padding: 32px;
702
+ background: #111111 !important;
703
+ color: #32d74b !important;
704
+ }
705
+
706
+ .terminal-window,
707
+ .terminal-window * {
708
+ text-shadow: none !important;
709
+ }
710
+
711
+ .terminal-window .window-titlebar,
712
+ .terminal-window .window-titlebar * {
713
+ color: #ffffff !important;
714
  }
715
 
716
  .terminal-progress {
717
  margin: 0 0 24px;
718
+ color: #ff9800 !important;
719
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
720
  font-size: 15px;
721
  font-weight: 900;
 
730
 
731
  .terminal-log p {
732
  margin: 0;
733
+ color: #32d74b !important;
734
  font-size: 12px;
735
  font-weight: 800;
736
  line-height: 1.35;
737
  }
738
 
739
  .terminal-log .terminal-muted {
740
+ color: #9ca3af !important;
741
  }
742
 
743
  .save-status {