broadfield-dev commited on
Commit
16a142b
·
verified ·
1 Parent(s): 84adfa8

Update gradio_keylock/component.py

Browse files
Files changed (1) hide show
  1. gradio_keylock/component.py +7 -4
gradio_keylock/component.py CHANGED
@@ -177,7 +177,7 @@ class KeylockDecoderComponent:
177
  padding: 2rem 2.5rem;
178
  border: 1px solid #30363d;
179
  border-radius: 12px;
180
- box-shadow: 0 8px 32px rgba(0,0,0,0.5);
181
  }
182
  #keylock-logo {
183
  text-align: center;
@@ -197,15 +197,18 @@ class KeylockDecoderComponent:
197
 
198
  }
199
  #image-upload-box {
200
- background-color: var(--primary-100) !important;
 
 
201
  border: 2px dashed #30363d !important;
202
  border-radius: 8px !important;
203
  min-height: 220px;
204
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
205
  }
206
  #image-upload-box:hover {
207
- background-color: var(--primary-200) !important;
208
- border-color: #58a6ff !important;
 
209
  }
210
  #image-upload-box .!h-full.w-full > div:first-of-type {
211
  display: flex;
 
177
  padding: 2rem 2.5rem;
178
  border: 1px solid #30363d;
179
  border-radius: 12px;
180
+ box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.5);
181
  }
182
  #keylock-logo {
183
  text-align: center;
 
197
 
198
  }
199
  #image-upload-box {
200
+ background-color: var(--primary-800) !important;
201
+ color: var(--primary-100) !important;
202
+ border-color: var(--primary-100) !important;
203
  border: 2px dashed #30363d !important;
204
  border-radius: 8px !important;
205
  min-height: 220px;
206
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
207
  }
208
  #image-upload-box:hover {
209
+ background-color: var(--primary-100) !important;
210
+ color: var(--primary-800) !important;
211
+ border-color: var(--primary-800) !important;
212
  }
213
  #image-upload-box .!h-full.w-full > div:first-of-type {
214
  display: flex;