Spaces:
Sleeping
Sleeping
wanglei2762
commited on
Commit
·
efc5557
1
Parent(s):
57d9ac5
update textarea的样式
Browse files
app.py
CHANGED
|
@@ -60,11 +60,20 @@ body {
|
|
| 60 |
}
|
| 61 |
.textbox textarea {
|
| 62 |
border-radius: 20px !important;
|
| 63 |
-
border: 1px solid #
|
|
|
|
|
|
|
| 64 |
padding: 10px 15px !important;
|
| 65 |
font-size: 1rem !important;
|
| 66 |
box-shadow: none !important;
|
| 67 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
.submit-button {
|
| 69 |
background-color: #007bff !important;
|
| 70 |
color: white !important;
|
|
|
|
| 60 |
}
|
| 61 |
.textbox textarea {
|
| 62 |
border-radius: 20px !important;
|
| 63 |
+
border: 1px solid #343a40 !important; /* 深色边框,例如接近黑色的深灰 */
|
| 64 |
+
background-color: #495057 !important; /* 深灰色背景 */
|
| 65 |
+
color: #f8f9fa !important; /* 浅色文字,例如非常浅的灰色或白色 */
|
| 66 |
padding: 10px 15px !important;
|
| 67 |
font-size: 1rem !important;
|
| 68 |
box-shadow: none !important;
|
| 69 |
}
|
| 70 |
+
|
| 71 |
+
/* (可选)当输入框获得焦点时的样式,可以进一步调整 */
|
| 72 |
+
.textbox textarea:focus {
|
| 73 |
+
border-color: #007bff !important; /* 例如,聚焦时边框变亮蓝色 */
|
| 74 |
+
/* background-color: #5a6268 !important; */ /* 也可以调整聚焦时的背景色 */
|
| 75 |
+
/* box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important; */ /* 添加聚焦时的阴影效果 */
|
| 76 |
+
}
|
| 77 |
.submit-button {
|
| 78 |
background-color: #007bff !important;
|
| 79 |
color: white !important;
|