Zaiiida commited on
Commit
b17ae2c
·
verified ·
1 Parent(s): e0432ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -138,26 +138,23 @@ input[type="text"], textarea {
138
  background-color: #405BBF !important; /* Цвет при наведении */
139
  }
140
 
141
- /* Унификация фона и стиля Drop Image */
142
  gr-image-upload {
143
  background-color: transparent !important; /* Прозрачный фон */
144
  border: 1px dashed #FFFFFF !important; /* Белая пунктирная рамка */
145
  position: relative; /* Для позиционирования текста */
146
  }
147
 
148
- /* Центрированный текст внутри Drop Image */
149
  .gr-image-upload .dropzone::before {
150
  content: 'Drop Image Here';
151
  color: #FFFFFF; /* Белый цвет текста */
152
- font-size: 1rem; /* Размер шрифта */
153
- font-weight: bold; /* Жирный текст */
154
- text-align: center; /* Выравнивание текста по центру */
155
  position: absolute;
156
  top: 50%;
157
  left: 50%;
158
  transform: translate(-50%, -50%);
159
  }
160
-
161
  /* Скрытие стандартной иконки загрузки */
162
  .gr-image-upload .dropzone .file-upload {
163
  display: none !important;
 
138
  background-color: #405BBF !important; /* Цвет при наведении */
139
  }
140
 
 
141
  gr-image-upload {
142
  background-color: transparent !important; /* Прозрачный фон */
143
  border: 1px dashed #FFFFFF !important; /* Белая пунктирная рамка */
144
  position: relative; /* Для позиционирования текста */
145
  }
146
 
 
147
  .gr-image-upload .dropzone::before {
148
  content: 'Drop Image Here';
149
  color: #FFFFFF; /* Белый цвет текста */
150
+ font-size: 1rem;
151
+ font-weight: bold;
152
+ text-align: center;
153
  position: absolute;
154
  top: 50%;
155
  left: 50%;
156
  transform: translate(-50%, -50%);
157
  }
 
158
  /* Скрытие стандартной иконки загрузки */
159
  .gr-image-upload .dropzone .file-upload {
160
  display: none !important;