Update src/display/css_html_js.py
Browse files- src/display/css_html_js.py +1 -21
src/display/css_html_js.py
CHANGED
|
@@ -94,28 +94,8 @@ custom_css = """
|
|
| 94 |
#box-filter > .form{
|
| 95 |
border: 0
|
| 96 |
}
|
| 97 |
-
/* Add blue styles for Leaderboard and filters */
|
| 98 |
-
.gr-leaderboard {
|
| 99 |
-
background-color: #f9f9f9; /* Leaderboard 背景颜色 */
|
| 100 |
-
color: #333; /* 文本颜色 */
|
| 101 |
-
}
|
| 102 |
-
|
| 103 |
.gr-checkbox input[type="checkbox"] {
|
| 104 |
-
accent-color: #007BFF; /*
|
| 105 |
-
}
|
| 106 |
-
|
| 107 |
-
.gr-slider {
|
| 108 |
-
background-color: #e7f0ff; /* 滑块背景颜色(浅蓝色) */
|
| 109 |
-
}
|
| 110 |
-
|
| 111 |
-
.gr-slider .slider-thumb {
|
| 112 |
-
background-color: #007BFF; /* 滑块按钮颜色为蓝色 */
|
| 113 |
-
}
|
| 114 |
-
|
| 115 |
-
.gr-dropdown select {
|
| 116 |
-
background-color: #ffffff; /* 下拉框背景颜色 */
|
| 117 |
-
color: #333; /* 下拉框文本颜色 */
|
| 118 |
-
border: 1px solid #007BFF; /* 下拉框边框颜色为蓝色 */
|
| 119 |
}
|
| 120 |
"""
|
| 121 |
|
|
|
|
| 94 |
#box-filter > .form{
|
| 95 |
border: 0
|
| 96 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
.gr-checkbox input[type="checkbox"] {
|
| 98 |
+
accent-color: #007BFF !important; /* 复选框颜色为蓝色 */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
"""
|
| 101 |
|