Update src/display/css_html_js.py
Browse files- src/display/css_html_js.py +23 -0
src/display/css_html_js.py
CHANGED
|
@@ -94,6 +94,29 @@ custom_css = """
|
|
| 94 |
#box-filter > .form{
|
| 95 |
border: 0
|
| 96 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
"""
|
| 98 |
|
| 99 |
get_window_url_params = """
|
|
|
|
| 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 |
|
| 122 |
get_window_url_params = """
|