farquasar commited on
Commit
af50f5b
·
verified ·
1 Parent(s): 1f97084

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +28 -0
app.py CHANGED
@@ -117,6 +117,8 @@ APP_CSS = """
117
  color: var(--ink) !important;
118
  background: #fffdf8 !important;
119
  border: 1px solid #cfd6c6 !important;
 
 
120
  }
121
 
122
  .gradio-container select option,
@@ -126,6 +128,32 @@ APP_CSS = """
126
  opacity: 1 !important;
127
  }
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  .gradio-container ::placeholder {
130
  color: #6b7280 !important;
131
  opacity: 1;
 
117
  color: var(--ink) !important;
118
  background: #fffdf8 !important;
119
  border: 1px solid #cfd6c6 !important;
120
+ -webkit-text-fill-color: var(--ink) !important;
121
+ caret-color: var(--ink) !important;
122
  }
123
 
124
  .gradio-container select option,
 
128
  opacity: 1 !important;
129
  }
130
 
131
+ .gradio-container input[disabled],
132
+ .gradio-container textarea[disabled],
133
+ .gradio-container input[readonly],
134
+ .gradio-container textarea[readonly],
135
+ .gradio-container .gr-box input,
136
+ .gradio-container .gr-box textarea,
137
+ .gradio-container .gr-text-input input,
138
+ .gradio-container .gr-text-input textarea {
139
+ color: #111827 !important;
140
+ -webkit-text-fill-color: #111827 !important;
141
+ background: #fffdf8 !important;
142
+ opacity: 1 !important;
143
+ }
144
+
145
+ .gradio-container input::selection,
146
+ .gradio-container textarea::selection {
147
+ background: #b7e4c7 !important;
148
+ color: #0f172a !important;
149
+ }
150
+
151
+ .gradio-container input:-webkit-autofill,
152
+ .gradio-container textarea:-webkit-autofill {
153
+ -webkit-text-fill-color: #111827 !important;
154
+ transition: background-color 9999s ease-out 0s !important;
155
+ }
156
+
157
  .gradio-container ::placeholder {
158
  color: #6b7280 !important;
159
  opacity: 1;